AnsweredAssumed Answered

Linux not parsing RedBoot partition table

Question asked by Guilherme Machetti on May 12, 2008
Latest reply on Mar 31, 2009 by rogeriopimentel

Im currently working on the imx31 - 3 stack board, and im trying to falsh the file system. I have already sucessfully loaded linux when using the NFS file system, but whenever i try to boot it with a flashed file system, it fails.

I checked the log and it never tried to parse the RedBoot partition table, just create its own, generic partitions, then proceed to fail since it cant find any init scripts. I checked the options on the config file that ltib uses for configuring the kernel during compile time, and its checked to scan RedBoot partitions... am i missing some extra configs thatneed to  be done ?

The booting log:

Uncompressing Linux............................................................................................................ done, booting the kernel.
Linux version (guilherme@RATM) (gcc version 4.1.1) #1 PREEMPT Mon May 12 10:53:19 BRT 2008
CPU: Some Random V6 Processor [4107b364] revision 4 (ARMv6TEJ), cr=00c5387f
Machine: Freescale MX31ADS
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 24384
Kernel command line: noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw ip=none
MXC IRQ initialized
PID hash table entries: 512 (order: 9, 2048 bytes)
Actual CLOCK_TICK_RATE is 16625000 Hz
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 96MB = 96MB total
Memory: 93884KB available (2544K code, 519K data, 392K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MXC GPIO hardware
system_rev is: 0x20
Clock input source is 26000000
assert standby signal *****************
L2 cache: WB
MXC DMA API initialized
otg_hs_suspend: reset isp1504
usb: Host 2 registered
usb: OTG HS Host registered
usb: OTG HS Gadget registered
CSPI: mxc_spi-0 probed
CSPI: mxc_spi-1 probed
MXC I2C driver
mc13783 Rev 3.3 FinVer 0 detected
Device spi2.2 probed
PMIC Character device: successfully loaded
PMIC RTC successfully probed
PMIC Power successfully probed
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
Low-Level PM Driver module loaded
DPTC driver module loaded
JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_sdc_fb mxc_sdc_fb.0: pixclock = 23980000l Hz
mxcfb: fb registered, using mode Epson-VGA
ch7024: TV encoder present: 45, read ret 0
Real TIme clock Driver v1.0
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale MXC
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a Freescale MXC
loop: loaded (max 8 devices)
IRQT_LOW set_irq_type ret = 0
Linux video capture interface: v2.00
MXC Video Output MXC Video Output.0: Registered device video16
MXC MTD nor Driver 2.0
mxc_nor_flash: probe of mxc_nor_flash.0 failed with error -5
block2mtd: version $Revision: 1.30 $
MXC MTD nand Driver 2.0
NAND device: Manufacturer ID: 0xec, Chip ID: 0xaa (Samsung NAND 256MiB 1,8V 8-bit)
Scanning device for bad blocks
Creating 6 MTD partitions on "NAND 256MiB 1,8V 8-bit":
0x00000000-0x00040000 : "Bootloader"
mtd: Giving out device 0 to Bootloader
0x00040000-0x00440000 : "Kernel"
mtd: Giving out device 1 to Kernel
0x00440000-0x08440000 : "Fla"
mtd: Giving out device 2 to Fla
0x08440000-0x08c40000 : "Flb"
mtd: Giving out device 3 to Flb
0x08c40000-0x0ea40000 : "Flc"
mtd: Giving out device 4 to Flc
0x0ea40000-0x10000000 : "Bootloader-priv"
mtd: Giving out device 5 to Bootloader-priv
MXC keypad loaded
input: mxckpd as /class/input/input0
i2c /dev entries driver
IPU Post-filter loading
SSI module loaded successfully
PMIC Audio driver loading...
PMIC Battery successfully probed
Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28 14:07:24 2006 UTC).
Control ALSA component registered
ALSA device list:
  #0: MXC Freescale with PMIC
oprofile: using arm/arm11
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <>
Power Management for Freescale MX31
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2
input: mxc_ts as /class/input/input1
mxc input touchscreen loaded
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 392K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.