On Sun, Apr 27, 2014 at 07:35:35AM +0100, Ian Campbell wrote: > No uImage is required for sunxi, u-boot can boot the vmlinuz file > directly.
Besides flash-kernel converts vmlinuz to uImage nicely for you so it isn't a problem. The kernel package doesn't seem to ship uImage files for anything anymore, which makes sense. > 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). > > I'm hoping the u-boot-sunxi will eventually use the common distro stuff > which u-boot is working on, which I think standardises the u-boot env. > for this stuff. > > > +setenv fdt_high ffffffff > > +setenv initrd_high 0xffffffff > > These shouldn't be needed with the latest sunxi u-boot. > > > +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. > > > diff --git a/db/all.db b/db/all.db > > index 93fa714..afcc8fb 100644 > > --- a/db/all.db > > +++ b/db/all.db > > @@ -64,6 +64,19 @@ Boot-Initrd-Path: /boot/initrd.buffalo > > Required-Packages: u-boot-tools > > Bootloader-Sets-Incorrect-Root: yes > > > > +Machine: Cubietech Cubietruck > > +Kernel-Flavors: armmp > > +U-Boot-Kernel-Address: 0x40008000 > > +U-Boot-Initrd-Address: 0x0 > > I think you can leave these two lines out. Well the kernel address is needed to make the uImage. > > +Boot-Kernel-Path: /boot/uImage > > +Boot-Initrd-Path: /boot/uInitrd > > Should be vmlinuz and initrd.gz I think. Why would you NOT use uImage? > > +Boot-Script-Path: /boot/boot.scr > > +Boot-DTB-Path: /boot/dtb > > +DTB-Id: sun7i-a20-cubietruck.dtb > > +U-Boot-Script-Name: bootscr.sunxi > > +Required-Packages: u-boot-tools > > Not needed if no uImage? Again, why would you NOT want that? -- Len Sorensen -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140427155058.gs17...@csclub.uwaterloo.ca