Can I install debian on a e300 board?
hi there.
I got a MPC8313E-RDBB board from Freescale some days before. For I am a
newbie on PowerPC, I wanna know which toolchain should I use to compile
software on this board? And can I run debian on this board? If I can,
how to install debian on SD card and let u-boot load it?
I have tried these steps:
1. Download a business card image for PowerPC architecture from
http://cdimage.debian.org/debian-cd/6.0.1a/powerpc/iso-cd/debian-6.0.1a-powerpc-businesscard.iso
2. Extract Linux kernel from install/powerpc/vmlinux
3. Add u-boot required header by this command (Cygwin):
# ./mkimage.exe -A ppc -O linux -T kernel -C none -a 0x00 -e 0x00 -n
"Debian-businesscard-squeeze" -d
../../mpc8313erdbb/debian/businesscard/vmlinux
../../mpc8313erdbb/debian/businesscard/uImage
Image Name: Debian-businesscard-squeeze
Created: Fri Jun 3 19:37:07 2011
Image Type: PowerPC Linux Kernel Image (uncompressed)
Data Size: 6967555 Bytes = 6804.25 kB = 6.64 MB
Load Address: 0x00000000
Entry Point: 0x00000000
4. Enter u-boot in target board and execute:
U-Boot 1.3.0 (Dec 22 2008 - 11:19:29) MPC83XX
Reset Status:
CPU: e300c3, MPC8313E, Rev: 21 at 333.333 MHz, CSB: 166 MHz
Board: Freescale MPC8313ERDB
I2C: ready
DRAM: 128 MB
FLASH: 8 MB
NAND: 32 MiB
In: serial
Out: serial
Err: serial
Net: TSEC0, TSEC1 [PRIME]
Hit any key to stop autoboot: 0
=>
=> setenv serverip 192.168.0.104
=> dhcp
Speed: 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.103
Using TSEC1 device
TFTP from server 192.168.0.104; our IP address is 192.168.0.103
Filename 'uImage'.
Load address: 0x200000
Loading:
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################
done
Bytes transferred = 6967619 (6a5143 hex)
=> bootm 0x200000
## Booting image at 00200000 ...
Image Name: Debian-netinst-squeeze
Created: 2011-06-03 11:09:45 UTC
Image Type: PowerPC Linux Kernel Image (uncompressed)
Data Size: 6967555 Bytes = 6.6 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
OK
5. System halt here.
Could you tell me which steps I did incorrect and what is the correct
way? Thanks.
--
创业维艰,缅怀诸先烈。守成不易,莫徒务近功。
Reply to: