public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] booting with a multi-image and DTB on powerpc
@ 2007-08-29  8:45 Gregoire Banderet
  2007-08-29  9:18 ` Bartlomiej Sieka
  0 siblings, 1 reply; 2+ messages in thread
From: Gregoire Banderet @ 2007-08-29  8:45 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] booting with a multi-image and DTB on powerpc
  2007-08-29  8:45 [U-Boot-Users] booting with a multi-image and DTB on powerpc Gregoire Banderet
@ 2007-08-29  9:18 ` Bartlomiej Sieka
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Sieka @ 2007-08-29  9:18 UTC (permalink / raw)
  To: u-boot

Gregoire Banderet wrote:
> 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.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-29  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29  8:45 [U-Boot-Users] booting with a multi-image and DTB on powerpc Gregoire Banderet
2007-08-29  9:18 ` Bartlomiej Sieka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox