[PATCH 0/7] Basic support for Marvell Armada 370/XP SoC

Gregory CLEMENT gregory.clement at free-electrons.com
Wed May 8 17:02:28 EDT 2013


On 05/08/2013 12:46 PM, Thomas Petazzoni wrote:
> Dear Gregory CLEMENT,
> 
> On Wed, 08 May 2013 01:28:47 +0200, Gregory CLEMENT wrote:
> 
>> it was a great work, I am currently trying to use but unfortunately,
>> I didn't managed to run barebox on the Armada XP OpenBlocks AX3 from
>> Plathome :/
>>
>> I get something like that:
>>
>> kwboot -t -b barebix.bin.kw -B 115200 /dev/ttyUSB0
>> Sending boot message. Please reboot the target...-
>>
>> [here I power up the AX3]
>>
>> Sending boot image...
>>   0 % [......................................................................]
>>   4 % [......................................................................]
>>   9 % [......................................................................]
>>  14 % [......................................................................]
>>  18 % [......................................................................]
>>  23 % [......................................................................]
>>  28 % [......................................................................]
>>  33 % [......................................................................]
>>  37 % [......................................................................]
>>  42 % [......................................................................]
>>  47 % [......................................................................]
>>  52 % [.............................................................BootROM: Invalid header ID
>> Booting from NOR flash
>> DDR3 Training Sequence - Ver 3.0.0
> 
> Thanks for testing!
> 
> The kwbimage.cfg for the OpenBlocks AX3 was wrong in this first version
> of the patches. 'BOOT_FROM spi' should have been 'BOOT_FROM uart' if
> you want the image to be bootable from the UART.

Indeed, by updating kwbimage.cfg with 'BOOT_FROM uart' I also managed to run
barebox on the OpenBlocks AX3.

Thanks!


> 
>>>    An image is then later created with:
>>>
>>>     ./scripts/kwbimage -x -i <path/to/kwbimage.cfg> -o <image>
>>
>> I think it should be:
>> ./scripts/kwbimage -c -i <path/to/kwbimage.cfg> -o <image>
> 
> Correct, will fix!
> 
> I plan to send a v2 either today or tomorrow.
> 
> Thanks again for the testing,
> 
> Thomas
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the barebox mailing list