Hi,
I'm trying to gentoo running on the Media5200 but am running into issues
getting my kernel to boot. I am able to boot the kernel that came with
freescale's BSP for the device, but when I boot my kernel things stall
after Uncompressing Kernel Image:
## Booting image at 00400000 ...
Image Name: Linux-2.6.30-mpc52xx
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2315154 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
I'm not completely sure why my kernel isn't booting while freescale's is. I
should have all the correct drivers enabled, but after uncompress kernel Image
nothing shows up in the console or on screen (the freescale logo/u-boot screen
stays on the screen though). I tried increasing the starting address for
kicks, but that made no differnce. I also tried doing something like:
tftp 400000; bootm 400000
but that gave me the same results as well.
Yes, I am using uImage and not cuImage.
When I compile my kernel I issue:
make ARCH="powerpc" CROSS_COMPILE="powerpc-unknown-linux-gnu-"
INSTALL_MOD_PATH="${SYSROOT}" "$@" EXTRAVERSION=-mpc52xx uImage
>From what I know EXTRAVERSION being set to mpc52xx is unnecessary, but I
saw some people doing it so I tried it for kicks. It didn't make a
difference.
Finally, my u-boot enviroment variables and version info are as follows:
U-Boot 1.1.5 (Jan 1 2007 - 00:01:12)
CPU: MPC5200 v2.2, Core v1.4 at 396 MHz
Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
Board: Media5200 (FPGA 02090403)
I2C: 85 kHz, ready
DRAM: 128 MB
FLASH: 64 MB
PCI: Bus Dev VenId DevId Class Int
00 1c 10cf 201e 0380 00
00 1d 1057 5809 0680 00
GFX: CoralP at 0x40000000
Type "run tftp_nfs" to tfp kernel with nfs root
Hit any key to stop autoboot: 0
=> print
bootdelay=5
baudrate=115200
skipnetcheck=y
skipidecheck=y
autoload=no
autostart=no
install_usb=setenv script bootrc.img;run script_usb
script_usb=run usbstart;fatload usb 0:${usbpart} ${script_addr}
${script};autoscr ${script_addr}
usbstart=usb reset; usb storage
usbpart=1
reset_env=erase 0xfff80000 0xfffbffff
ethaddr=00:04:9f:00:6f:e0
script=bootrc.img
resetserial=setenv stdout serial; setenv stderr serial; echo
preboot=run resetserial; echo Type "run tftp_nfs" to tfp kernel with nfs
root;echo
kernel_flash_addr=ffd00000
jffs2args=setenv bootargs console=ttyPSC5,115200 root=/dev/mtdblock0 rw
rootfstype=jffs2
nfsargs=setenv bootargs console=ttyPSC5,115200 root=/dev/nfs rw
nfsroot=$(serverip):$(rootpath)
netdev=eth0
addip=setenv bootargs $(bootargs)
ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
panic=1
tftp_nfs=tftp $(kernel_ram_addr) $(bootfile);run nfsargs addip;bootm
cpkernel=cp $(kernel_flash_addr) $(kernel_ram_addr) $(kernel_flash_size)
flash_nfs=run nfsargs addip cpkernel; bootm $(kernel_ram_addr))
flash_jffs2=run jffs2args cpkernel; bootm $(kernel_ram_addr)
bootcmd=run tftp_nfs
ethact=FEC ETHERNET
rootpath=/tftpboot/ltib
bootfile=/tftpboot/uImage
netmask=255.255.255.0
ipaddr=192.168.1.123
gatewayip=192.168.1.1
serverip=192.168.1.149
script_addr=0x400000
kernel_ram_addr=700000
kernel_flash_size=700000
stdin=serial
stdout=serial
stderr=serial
Any tips or advice would be greatly appreciated.
Thanks,
Chris
Environment size: 1397/262140 bytes
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot