[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Support for sunxi-based ARM systems in d-i



On Sun, Apr 27, 2014 at 07:35:35AM +0100, Ian Campbell wrote:
> On Sat, 2014-04-26 at 23:25 +0200, Karsten Merker wrote:

> No uImage is required for sunxi, u-boot can boot the vmlinuz file
> directly.
[...]

[boot script]
> I think u-boot has some sh-style control loops you can use? (for x in
> fstype1 fstype2; do ...). People keep saying one can just use "fsload"
> too, but I've not tried it myself (might need enabling in u-boot-sunxi?
> If so please do).
[...]
> > +bootm 0x46000000 0x48000000 0x47000000
> 
> These numbers should be kernel_addr_r etc and this should use bootz as
> in:
> 	bootz 0x46000000 0x48000000:${filesize} 0x47000000
> 
> $filesize in the initrd size, which should be loaded last so it is
> current.

Hello,

I did not know that u-boot can boot "naked" Linux kernels. I am
rather new to u-boot and all the documention I have read only
mentions booting uImages.  Neither the description of
u-boot-sunxi in the sunxi wiki nor the official u-boot manual at
www.denx.de makes any mention of the bootz command, just of bootm.
The same with fsload vs. ext2load.

I'll look if I find appropriate documentation and rework the boot
script.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: