[U-Boot] Installing Linux kernel, nothing to execute in RAM...
Simon Boman
simon.boman at gmail.com
Thu Nov 27 09:22:27 CET 2008
2008/11/26 Simon Boman <simon.boman at gmail.com>:
> Hi!
>
> I have a modifed MPC8360 platform with a U-boot git-version from October.
> Now I'm trying to install a Linux kernel and everything looks fine
> until it starts to execute the kernel in RAM, there is only some bad
> assembler instructions and then a lot of Invalid Opcode. If I look at
> the log_buf there is nothing interesting there.
>
> bootm fc010000 - fc008000
> ## Booting kernel from Legacy Image at fc010000 ...
> Image Name: Linux-2.6.22
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 773535 Bytes = 755.4 kB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> ## Flattened Device Tree blob at fc008000
> Booting using the fdt blob at 0xfc008000
> Uncompressing Kernel Image ... OK
> Loading Device Tree to 00ff6000, end 00ffff06 ... OK
>
> ->printenv
> ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate
> $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr
> $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
> nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath
> ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off
> console=$consoledev,$baudrate $othbootargs;tftp $loadaddr
> $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
> baudrate=115200
> loads_echo=1
> loadaddr=200000
> consoledev=ttyS0
> ramdiskaddr=1000000
> ramdiskfile=ramfs.83xx
> netretry=no
> ethrotate=no
> fdtfile=mpc8360epaw.dtb
> uImage_offset=FC010000
> fdt_offset=FC008000
> filesize=492F13
> ramdisk_offset=FC160000
> fdtaddr=fc008000
> stdin=serial
> stdout=serial
> stderr=serial
> kerneladdr=fc010000
> bootcmd=setenv bootargs root=/dev/ram rw console=ttyS0,115200 bootm
> fc010000 - fc008000
> bootargs=root=/dev/ram rw console=ttyS0,115200 bootm fc010000 - fc008000
>
>
> I'm not quite sure if this is a U-boot problem or Linux problem, if
> not I apologise.
>
> TIA
> Simon
>
Hi again!
I have also tried to boot with the kernel image that Freescale
provided from their homepage, but even with that I just get "Program
Exception" when it starts to execute the kernel in RAM. So it seems
that I have made something wrong in the U-boot.. any ideas?
/Simon
More information about the U-Boot
mailing list