[U-Boot] mx6qsabrelite U-Boot from SPI-NOR

Eric Nelson eric.nelson at boundarydevices.com
Fri Jan 20 14:54:55 CET 2012


On 01/20/2012 02:15 AM, Wolfgang Grandegger wrote:
>
> On 01/20/2012 01:56 AM, Eric Nelson wrote:
>>
>> Yes. If you program u-boot.imx to offset 0x400, it will boot.
>>
>> I just did so as shown below.
>>
>> I started by placing SW1 in the 01 position (boot to USB), and
>> used imx_usb to dowload u-boot.imx:
>>
>>      MX6QSABRELITE U-Boot>  dhcp 10800000 192.168.0.112:u-boot.imx
>>      fec_open:Speed=100
>>      BOOTP broadcast 1
>>      BOOTP broadcast 2
>>      DHCP client bound to address 29.6.1.24
>>      Using FEC device
>>      TFTP from server 192.168.0.112; our IP address is 29.6.1.24;
>>      sending  through gateway 29.6.1.1
>>      Filename 'u-boot.imx'.
>>      Load address: 0x10800000
>>      Loading: #########################################
>>      done
>>      Bytes transferred = 207112 (32908 hex)
>>      MX6QSABRELITE U-Boot>  sf write 0x10800000 0x400 $filesize
>
> But above you used the network to load u-boot.imx. With imx_usb you
> loaded and booted an image via USB first, I assume.
>

Yeah. USB to execute U-Boot, then Ethernet to get a pristine
image into RAM for programming.

I'd love to get USB support for MX6Q into U-Boot, but that's another
project...


More information about the U-Boot mailing list