Skip to contentSkip to conversation

booting with a multi-image and DTB on powerpc

U-Boot-Users Gregoire Banderet 2 participants 2 messages Aug 29, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

Using u-boot 1.2.0 and Linux kernel 2.6.20, I try to boot a powerpc board. I have a working DTB file and a multi-image file with uImage and the initramfs.
I am able to boot with a separate uImage and a NFS rootfs like this:
setenv bootargs root=/dev/nfs rw nfsroot=3.137.218.190:/rootfs ip=3.137.218.182:3.137.218.190:3.137.218.1:255.255.255.0:disco405:eth0 console=ttyS0,115200n8
tftpboot 2000000 /tftp/disco405.dtb
tftpboot 1000000 /tftp/uImage
bootm 1000000 - 2000000

But I am not able to boot using my uLinux-initramfs.img multi-image. setenv bootargs root=/dev/ram ip=3.137.218.182:3.137.218.190:3.137.218.1:255.255.255.0:disco405:eth0 console=ttyS0,115200
tftpboot 2000000 /tftp/disco405.dtb
tftpboot 1000000 /tftp/uLinux-initramfs.img

... what's the correct bootm command?
"bootm 1000000 - 2000000" does not work.

Thanks,
Greg

#1 lore raw
Quoted 20 lines · Gregoire Banderet

Hello,

Using u-boot 1.2.0 and Linux kernel 2.6.20, I try to boot a powerpc board. I have a working DTB file and a multi-image file with uImage and the initramfs.
I am able to boot with a separate uImage and a NFS rootfs like this:
setenv bootargs root=/dev/nfs rw nfsroot=3.137.218.190:/rootfs ip=3.137.218.182:3.137.218.190:3.137.218.1:255.255.255.0:disco405:eth0 console=ttyS0,115200n8
tftpboot 2000000 /tftp/disco405.dtb
tftpboot 1000000 /tftp/uImage
bootm 1000000 - 2000000

But I am not able to boot using my uLinux-initramfs.img multi-image. setenv bootargs root=/dev/ram ip=3.137.218.182:3.137.218.190:3.137.218.1:255.255.255.0:disco405:eth0 console=ttyS0,115200
tftpboot 2000000 /tftp/disco405.dtb
tftpboot 1000000 /tftp/uLinux-initramfs.img

Quoted 2 lines

... what's the correct bootm command?
"bootm 1000000 - 2000000" does not work.

Hello Greg,

I've got two comments, which while not strictly addressing your issue, might be useful still.

- I was able to successfully boot multi-image files on powerpc some time ago, but in a slightly different way: I had kernel, initrd and the blob all in one file, and used just one argument to bootm, e.g.:

tftp 800000 /tftpboot/kernel+initrd+dtb.img
bootm 800000

- The above booting scenario does not work on recent U-Boot. I am looking into this and I will try to report back in a few days. Meanwhile you could try U-Boot as of commit 7049288fb1f16f1b317140226cdebd07bd416395 and see if it works for you.

HTH,
Bartlomiej