Boot From NAND not supporting with 2.6.35 Kernel

Showing results for 
Search instead for 
Did you mean: 

Boot From NAND not supporting with 2.6.35 Kernel

Contributor I

Boot From NAND not supporting with 2.6.35 Kernel

When Im using the kernel 2.6.31 Icould easily boot from either SD Card or the NAND Flash , i.e followed the same procedure of freescale to copy the kernel and Filesystem to NAND using ubifs with the LTIB command line as below:

noinitrd console=ttyAM0,115200 ubi.mtd=1 root=ubi0:rootfs0 rootfstype=ubifs rw gpmi

But when trying to the same with kernel 2.6.35 , there is a kernel panic as shown below?

fsl-ehci fsl-ehci: irq 11, io base 0x80080000

fsl-ehci fsl-ehci: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

ARC USBOTG Device Controller driver (1 August 2005)

udc: request mem region for fsl-usb2-udc failed

fsl-usb2-udc: probe of fsl-usb2-udc failed with error -16

mice: PS/2 mouse device common for all mice

input: mxs-kbd as /class/input/input0

input: MXS touchscreen as /class/input/input1

MXS RTC driver v1.0 hardware v2.0.0

mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc0

i2c /dev entries driver

IR NEC protocol handler initialized

IR RC5(x) protocol handler initialized

IR RC6 protocol handler initialized

IR JVC protocol handler initialized

IR Sony protocol handler initialized

Linux video capture interface: v2.00

mxs-pxp mxs-pxp.0: initialized

mxs watchdog: initialized, heartbeat 19 sec

mxs-mmc: MXS SSP Controller MMC Interface driver

mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 14 ERRIRQ 15

dcp dcp.0: DCP crypto enabled.!

mxs-adc-audio mxs-adc-audio.0: MXS ADC/DAC Audio Codec

No device for DAI mxs adc/dac

No device for DAI mxs adc/dac

asoc: mxs adc/dac <-> mxs adc/dac mapping ok

asoc: failed to init MXS ADC/DAC

ALSA device list:

  #0: MXS EVK (mxs adc/dac)

TCP cubic registered

NET: Registered protocol family 10

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:37 UTC (37)

UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs0", error -19

VFS: Cannot open root device "ubi0:rootfs0" or unknown-block(0,0)

Please append a correct "root=" boot option; here are the available partitions:

1f00           40960 mtdblock0 (driver?)

1f01 4153344 mtdblock1 (driver?)

1f02 2097152 mtdblock2 (driver?)

1f03 2056192 mtdblock3 (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Can somebody help me in the bootable procedure to copy the kernel and filesystem to NAND ? Please let me know if any changes are also required with the configurations other than that are mentioned in the reference manual?

Labels (1)
0 Kudos
1 Reply

NXP Employee
NXP Employee

Some instructions for ubifs are here:

You might be missing "rootwait" parameter in kernel command line.

0 Kudos