2011-02-18 09:11:14 init: exec rc failed error while kernel image bootup
Karthikeyan Jeevanandam (INDIA)
Message: 98255
Hi,
To my knowledge I've done all kernel and user configs properly for target BF527 and compiled using 2010 kernel(blackfin-linux-dist-2010R1-RC5) and 2010 tool chain (blackfin-toolchain-2010R1-RC4.i386 & blackfin-toolchain-uclibc-full-2010R1-RC4) . Compilation is successful and kernel images are created.When the created kernel (uImage.gz.initramfs) is booted in my target "init: exec rc failed error" displayed and stopped further exectution.
With the same settings 2009 kernel boots and works properly for the same target.Please let me know if anything needs to be setted
QuoteReplyEditDelete
2011-02-18 10:52:01 Re: init: exec rc failed error while kernel image bootup
Mike Frysinger (UNITED STATES)
Message: 98259
find out what file format your /bin/busybox is and make sure you've enabled the appropriate binfmts in the kernel. if you're using FDPIC but disabled FDPIC support, then it isnt going to work. or if you dont have the FDPIC libs installed into /lib/.
QuoteReplyEditDelete
2011-02-18 13:40:06 Re: init: exec rc failed error while kernel image bootup
Karthikeyan Jeevanandam (INDIA)
Message: 98260
verified the file formats and it is proper.
Loading: #################################################################
#################################################################
#################################################################
#######
done
Bytes transferred = 2953625 (2d1199 hex)
## Booting kernel from Legacy Image at 00000000 ...
Image Name: bf527-2.6.34.7-ADI-2010R1
Created: 2011-02-18 11:29:53 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 2953561 Bytes = 2.8 MB
Load Address: 00180000
Entry Point: 004423ec
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 004423ec
console [ttyBF1] enabled, bootconsole disabled
Calibrating delay loop... 1040.38 BogoMIPS (lpj=520192)
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (5 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (40 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
msgmni has been set to 111
alg: No test for stdrng (krng)
io scheduler noop registered (default)
ili9322 LCD Driver Initialised
adau1361 register major 246
Initial clk tick count 5546214910
mci900_pwm /dev entries driver
mci900_pwm driver initialized successfully
mci900_ad7999 /dev entries driver
mci900_ad7999 driver initialized successfully
bfin-otp: initialized
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
loop: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
r8a66597_hcd: driver r8a66597_hcd, 2009-05-26
r8a66597: reg access fail.
usbcore: registered new interface driver usbtmc
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2008-04-01 05:42:30 UTC (1207028550)
Freeing unused kernel memory: 3624k freed
init: exec rc failed
init: Booting to sin
QuoteReplyEditDelete
2011-02-19 16:07:52 Re: init: exec rc failed error while kernel image bootup
Mike Frysinger (UNITED STATES)
Message: 98266
are you sure you're actually compiling with the 2010R1 toolchain and dont have an older one in your PATH ?
post the output of: ls -Rl romfs/
run `make bugreport` and post the tarball as an attachment