AnsweredAssumed Answered

Programming Tool Problem - Will not boot Ramdisk

Question asked by Paul DeMetrotion on Aug 23, 2013
Latest reply on Feb 25, 2014 by Yixing Kong

I am having difficulty programming an on-board SPI-NOR device on a custom i.MX6Q board.


I have built all of the appropriate manufacturing files and placed them in the proper directory. I am using the MfgTool2 program. Everything appears to be working properly but when the kernel gets to the end of execution, it attempts to mount a file system rather than executing the Ramdrive currently in memory. This failure causes none of the Updater commands to be executed.

 

Any suggestions will be greatly appreciated!

 

Here are the important parts of the console output:


U-Boot 2009.08 (Aug 22 2013 - 14:50:48)

 

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Thermal sensor with ratio = 182

Temperature:   54 C, calibration data 0x57f4f87d

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

     :

MMC:   FSL_USDHC: 0,FSL_USDHC: 1

Using default environment


In:    serial

Out:   serial

Err:   serial

Net:   got MAC address from IIM: 00:01:45:05:c0:13

FEC0 [PRIME]

Hit any key to stop autoboot:  0

## Booting kernel from Legacy Image at 10800000 ...

   Image Name:   Linux-3.0.35-2508-g54750ff

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4066652 Bytes =  3.9 MB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

## Loading init Ramdisk from Legacy Image at 11000000 ...

   Image Name:   uboot initramfs rootfs

   Image Type:   ARM Linux RAMDisk Image (gzip compressed)

   Data Size:    9504629 Bytes =  9.1 MB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK


Starting kernel ...


Uncompressing Linux... done, booting the kernel.

Initializing cgroup subsys cpuset

Initializing cgroup subsys cpu

Linux version 3.0.35-2508-g54750ff (pauldemet@ubuntu) (gcc version 4.6.2 2011063

0 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) )

#69 SMP PREEMPT Thu Aug 22 15:04:55 CDT 2013

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: WinSystems i.MX6 Quad/DualLite/Solo SBC35-C398 Board

Ignoring unrecognised tag 0x54410008

Memory policy: ECC disabled, Data cache writealloc

CPU identified as i.MX6Q, silicon rev 1.2

PERCPU: Embedded 7 pages/cpu @cc80e000 s5536 r8192 d14944 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 487424

Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc

     :

spi_imx imx6q-ecspi.0: probed

spi_imx imx6q-ecspi.2: can't get cs gpios

spi_imx: probe of imx6q-ecspi.2 failed with error -16

     :

Unpacking initramfs...

Freeing initrd memory: 9280K

     :

m25p80 spi0.0: m25p32 (4096 Kbytes)

Creating 3 MTD partitions on "m25p32":

0x000000000000-0x000000040000 : "bootloader"

0x000000040000-0x000000042000 : "bootenv"

Moving partition 2: 0x000000042000 -> 0x000000050000

0x000000050000-0x000000400000 : "kernel"

     :

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

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

1f00             256 mtdblock0  (driver?)

1f01               8 mtdblock1  (driver?)

1f02            3776 mtdblock2  (driver?)

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

[<c004fec0>] (unwind_backtrace+0x0/0xf8) from [<c0579e98>] (panic+0x74/0x18c)

[<c0579e98>] (panic+0x74/0x18c) from [<c0008d7c>] (mount_block_root+0x170/0x224)

[<c0008d7c>] (mount_block_root+0x170/0x224) from [<c0008f18>] (mount_root+0xe8/0x108)

[<c0008f18>] (mount_root+0xe8/0x108) from [<c0009064>] (prepare_namespace+0x12c/0x184)

[<c0009064>] (prepare_namespace+0x12c/0x184) from [<c0008a40>] (kernel_init+0x134/0x16c)

[<c0008a40>] (kernel_init+0x134/0x16c) from [<c00490e4>] (kernel_thread_exit+0x0/0x8)

CPU0: stopping

[<c004fec0>] (unwind_backtrace+0x0/0xf8) from [<c0042324>] (do_IPI+0x150/0x17c)

[<c0042324>] (do_IPI+0x150/0x17c) from [<c0047a0c>] (__irq_svc+0x4c/0xe8)

Exception stack(0xc074df68 to 0xc074dfb0)

df60:                   c07af4a0 20000093 00000001 00000000 c074c000 c07a7fe4

df80: c05839e0 c076a214 1000406a 412fc09a 00000000 00000000 00000000 c074dfb0

dfa0: c0057e28 c0049144 40000013 ffffffff

[<c0047a0c>] (__irq_svc+0x4c/0xe8) from [<c0049144>] (default_idle+0x24/0x28)

[<c0049144>] (default_idle+0x24/0x28) from [<c0049348>] (cpu_idle+0xc8/0x108)

[<c0049348>] (cpu_idle+0xc8/0x108) from [<c00088bc>] (start_kernel+0x29c/0x2ec)

[<c00088bc>] (start_kernel+0x29c/0x2ec) from [<10008040>] (0x10008040)

CPU1: stopping

[<c004fec0>] (unwind_backtrace+0x0/0xf8) from [<c0042324>] (do_IPI+0x150/0x17c)

[<c0042324>] (do_IPI+0x150/0x17c) from [<c0047a0c>] (__irq_svc+0x4c/0xe8)

Exception stack(0xe406bf90 to 0xe406bfd8)

bf80:                                     c07af4a0 60000093 00000001 00000000

bfa0: e406a000 c07a7fe4 c05839e0 c076a214 1000406a 412fc09a 00000000 00000000

bfc0: 00000000 e406bfd8 c0057e28 c0049144 40000013 ffffffff

[<c0047a0c>] (__irq_svc+0x4c/0xe8) from [<c0049144>] (default_idle+0x24/0x28)

[<c0049144>] (default_idle+0x24/0x28) from [<c0049348>] (cpu_idle+0xc8/0x108)

[<c0049348>] (cpu_idle+0xc8/0x108) from [<10576554>] (0x10576554)

CPU2: stopping

[<c004fec0>] (unwind_backtrace+0x0/0xf8) from [<c0042324>] (do_IPI+0x150/0x17c)

[<c0042324>] (do_IPI+0x150/0x17c) from [<c0047a0c>] (__irq_svc+0x4c/0xe8)

Exception stack(0xe4075f90 to 0xe4075fd8)

5f80:                                     c07af4a0 60000093 00000001 00000000

5fa0: e4074000 c07a7fe4 c05839e0 c076a214 1000406a 412fc09a 00000000 00000000

5fc0: 00000000 e4075fd8 c0057e28 c0049144 40000013 ffffffff

[<c0047a0c>] (__irq_svc+0x4c/0xe8) from [<c0049144>] (default_idle+0x24/0x28)

[<c0049144>] (default_idle+0x24/0x28) from [<c0049348>] (cpu_idle+0xc8/0x108)

[<c0049348>] (cpu_idle+0xc8/0x108) from [<10576554>] (0x10576554)

Outcomes