BusyBox Image

Madhulika Pati madhulika at arasor.net
Tue May 16 04:55:53 UTC 2006


Dear Sir,
        I am trying to flash Busy Box Image on MPC8270(ppc) Board. The following steps done by me to create the image and flash on the Board using Buildroot cross compiler.
   1. Downloaded busybox-1.1.2.tar.gz       1.6M
   2. Make menuconfig
   3. Make
   4. Created the gzip file
   5. Created the image file by the following command:
   
  $ /opt/eldk/usr/bin/mkimage -A ppc -O linux -T kernel -C gzip -a 0x0000 -e 0x0000 -n "busybox" -d busybox.gz uImage

The logfile I got after booting the board:



Welcome to minicom 2.00.0

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Mar  7 2005, 10:29:09.

Press CTRL-A Z for help on special keys

U-Boot 1.1.3 (Nov 17 2005 - 15:21:18)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core Freq 100-300
 - dfbrg 1, corecnf 0x1a, busdf 5, cpmdf 1, plldf 0, pllmf 5
 - vco_out  396000000, scc_clk   99000000, brg_clk   24750000
 - cpu_clk  264000000, cpm_clk  198000000, bus_clk   66000000
 - pci_clk   33000000

CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 264 MHz
Board: Evaluation #01
DRAM:  64 MB
Testing SDRAM ...
Filling 0x7ea5c396 ............................................................e
Reading back ...
Reading back ... done
Zeroing ................................................................ done
Reading back ...
Reading back ... done
Testing SDRAM ... done
LED ON
Configuration: PSDMR: 834d2462, PSRT: 1f.
IMMR: PSDMR: c34d2462, PSRT: 1f, MPTPR: 1f00.
Initializing PCI ...
PPC_ACR:  0x01
PPC_ALRH: 0x13620457
PPC_ALRL: 0x89abcdef
PICMR0: 0xe00fc000, Window Size: 67108864 Bytes
PICMR1: 0xc00ffe00, Window Size:  2097152 Bytes
Initializing PCI ... done
Top of RAM usable for U-Boot at: 04000000
Reserving 409k for U-Boot at: 03f99000
Reserving 256k for malloc() at: 03f59000
Reserving 76 Bytes for Board Info at: 03f58fb4
Reserving 72 Bytes for Global Data at: 03f58f6c
Stack Pointer at: 03f58f48
New Stack Pointer is: 03f58f48
Now running in RAM - U-Boot at: 03f99000
FLASH: Manuf. ID @ 0x80000000: 0x00890089
Device ID @ 0x80000002: 0x00180018
16 MB
In:    serial
Out:   serial
Err:   serial
U-Boot relocated to 03f99000
Net:   FCC3 ETHERNET
BEDBUG:ready
EV01: HOOK before the prompt (disabled).
### main_loop entered: bootdelay=3

### main_loop: bootcmd="bootm 0x80000000 0x80100000"
Hit any key to stop autoboot:  0

 => erase 0x80000000 0x800fffff
Erase Flash from 0x80000000 to 0x800fffff in Bank # 1 flash_erase: first: 0 las7
>>>>>>>> done
Erased 8 sectors
=> nfs 0x100000 192.168.88.200:/flash-bin/uImage
Trying FCC3 ETHERNET
Using FCC3 ETHERNET device
File transfer via NFS from server 192.168.88.200; our IP address is 192.168.88.0Filename '/flash-bin/uImage'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         ############
done
Bytes transferred = 722968 (b0818 hex)
=> cp.b 0x100000 0x80000000 0xb0818
Copy to Flash... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>done
=> boot
## Booting image at 80000000 ...
   Image Name:   busybox
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    722904 Bytes = 706 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Current stack ends at 0x03F58B18 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF10
bd address  = 0x03F58FB4
memstart    = 0x00000000
memsize     = 0x04000000
flashstart  = 0x80000000
flashsize   = 0x01000000
flashoffset = 0x00000000
sramstart   = 0x00000000
sramsize    = 0x00000000
immr_base   = 0xFF000000
bootflags   = 0x03EDDF40
vco         =    396 MHz
sccfreq     =     99 MHz
brgfreq     = 24.750 MHz
intfreq     =    264 MHz
cpmfreq     =    198 MHz
busfreq     =     66 MHz
ethaddr     = 00:10:EC:00:30:CC
IP addr     = 192.168.88.150
baudrate    = 115200 bps
## Loading RAMDisk Image at 80100000 ...
   Image Name:   Chameleon Ramdisk Image
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    1244457 Bytes =  1.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## initrd at 0x80100040 ... 0x8022FD68 (len=1244457=0x12FD29)
   Loading Ramdisk to 03e28000, end 03f57d29 ... OK
## Transferring control to Linux (at address 00000000) ...


After this step booting stopped.  Will you please help me where I am doing mistake, how to solve it.

Thanks & regards,
Madhulika Pati.
ARASOR TECHNOLOGIES (P) LTD
BANGALORE 
INDIA - 560 027.




   








More information about the busybox mailing list