imx6ull - how to flash mx66l1g45g memory via u-boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ull - how to flash mx66l1g45g memory via u-boot

708 Views
Rama777
Contributor I

Hello I am a newbie, please help. build the image through the yocto project.I have an imx6ull processor, I assembled the kernel, and now I have a task to flash spi nor memory through u-boot so that the board itself starts running linux. Please tell me how to do this, what commands to use.Memory model mx66l1g45g

0 Kudos
3 Replies

703 Views
igorpadykov
NXP Employee
NXP Employee

Hi Rama777

 

mx66l1g45g qspi image programming is supported by nxp using uuu tool

https://github.com/NXPmicro/mfgtools

or using old mfg tool, found on below link (expand +"Manufacturing Tools")

https://www.nxp.com/design/software/embedded-software/i-mx-software:IMX-SW

Note for new qspi one needs to prepare custom config file, like qspi-nor-macronix-mx25l51245g-config

found in mfg tool folder ..Profiles/Linux/OS Firmware/files.

 

Best regards
igor

 

 

 

0 Kudos

696 Views
Rama777
Contributor I

Добрый день,  igorpadykov . Я собрал u-boot через сторонний кросскомпилятор и сконфигурировал его для работы с qspi- mx66l1g45g. Также через yocto собрал ядро и всё остальное. Для прошивки использую UUU (uuu.exe -v "название скрипта"). Получилось в озу процессора запустить ядро. 

В данный момент через скрипт и uuu я заливаю u-boot в озу и командами sf write () пытаюсь записать u-boot на пзу, чтобы при старте платы запускался u-boot.  

Выглядит это так:

Unknown image format!
Run fastboot ...
=> sf probe
SF: Detected mx66l1g45g with page size 256 Bytes, erase size 64 KiB, total 128 MiB
=> sf write 0x86800000 0 550000
device 0 offset 0x0, size 0x550000
SF: 5570560 bytes @ 0x0 Written: OK

После перезагрузки платы ничего не происходит.  И не понимаю как реализовать данную затею. Сейчас моей задачей является записать и инициализировать запуск Linux с пзу, или дл начала хотя бы u-boot.

 

С уважением, Рама.

0 Kudos

685 Views
igorpadykov
NXP Employee
NXP Employee

one can also look at

https://www.be1scrm.com/community/thread/461842

 

Best regards
igor

0 Kudos