hi guys,
I cant seem to get my android to boot from the sd card...it keeps giving me this error attached i dont know what the path for the sd card is everything i try gives me an error
custom board that runs imx6dl SOC
Any help would be awesome
NAND write: device 0 offset 0x240000, size 0x4cf800
5044224 bytes written: OK
efusA9 # booti Kernel
kernel @ 10008000 (4801604)
ramdisk @ 11000000 (237962)
kernel cmdline:
use uboot command line:
console=ttymxc3,115200 login_tty=ttymxc3,115200 mtdparts=gpmi-nand:256k(NBoot)ro,768k(UserDef),256k(Refresh)ro,768k(UBoot)ro,256k(UBootEnv)ro,5888K(Kernel)ro,-(TargetFS) root=/dev/mtdblock0 ro
Using machid 0x136e
Starting kernel ...
Initializing cgroup subsys cpu
Linux version 3.0.35-F+S (jonathan@jonathan-VirtualBox) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Tue May 12 08:03:41 CEST 2015
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: efusA9
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6DL/SOLO, silicon rev 1.2
PERCPU: Embedded 7 pages/cpu @80ef7000 s5536 r8192 d14944 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 97280
Kernel command line: noinitrd loglevel=7 no_console_suspend console=ttymxc3,115200 login_tty=ttymxc3,115200 mtdparts=gpmi-nand:256k(NBoot)ro,768k(UserDef),256k(Refresh)ro,768k(UBoot)ro,256k(UBootEnv)ro,5888K(Kernel)ro,-(TargetFS) root=/dev/mtdblock0 ro
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 384MB = 384MB total
Memory: 377464k/377464k available, 146824k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfbe00000 - 0xffe00000 ( 64 MB)
vmalloc : 0xa0800000 - 0xf2000000 (1304 MB)
lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.init : 0x80008000 - 0x80043000 ( 236 kB)
.text : 0x80043000 - 0x8092c804 (9127 kB)
.data : 0x8092e000 - 0x809c0498 ( 586 kB)
.bss : 0x809c04bc - 0x80af18b0 (1221 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
Set periph_clk's parent to pll2_pfd_400M!
arm_max_freq=1GHz
MXC_Early serial console at MMIO 0x21f0000 (options '115200')
bootconsole [ttymxc3] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys cpuacct
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Brought up 1 CPUs
SMP: Total of 1 processors activated (1581.05 BogoMIPS).
devtmpfs: initialized
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddsoc: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32050000, Cache size: 524288 B
bio: create slab <bio-0> at 0
mxs-dma-ext mxs-dma-ext-apbh: initialized
print_constraints: VDDA: 3300 mV
print_constraints: VDDIO: 3300 mV
print_constraints: VDDD: 1500 mV
print_constraints: vmmc: 3300 mV
vgaarb: loaded
SCSI subsystem initialized
spi_imx imx6q-ecspi.0: probed
spi_imx imx6q-ecspi.1: probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switching to clocksource mxc_timer1
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Static Power Management for Freescale i.MX6
wait mode is enabled for i.MX6
cpaddr = 0 suspend_iram_base=f2900000
PM driver module loaded
iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.
PCIE: imx_pcie_pltfm_probe start link up.
link up failed, DB_R0:0x009b2200, DB_R1:0x08200000!
IMX PCIe port: link down with power supply 0!
IMX usb wakeup probe
add wake up source irq 75
IMX usb wakeup probe
cpu regulator mode:ldo_enable
i.MXC CPU frequency driver
ashmem: initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 737
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb
_regulator_get: get() with no identifier
Console: switching to colour frame buffer device 100x30
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver lcd
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
console [ttymxc3] enabled, bootconsole disabled
console [ttymxc3] enabled, bootconsole disabled
imx-uart.4: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
at24 0-0057: 2048 byte at24 EEPROM, writable, 8 bytes/write
m25p80 spi0.0: found m25p05-nonjedec, expected sst25vf016b
m25p80 spi0.0: m25p05-nonjedec (64 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "bootloader"
mtd: partition "bootloader" extends beyond the end of device "m25p80" -- size truncated to 0x10000
0x000000010000-0x000000010000 : "kernel"
mtd: partition "kernel" is out of reach -- disabled
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAH4)
gpmi-nand-fus imx6q-gpmi-nand-fus.0: enable asynchronous EDO mode 5
Scanning device for bad blocks
7 cmdlinepart partitions found on MTD device gpmi-nand
Creating 7 MTD partitions on "gpmi-nand":
0x000000000000-0x000000040000 : "NBoot"
0x000000040000-0x000000100000 : "UserDef"
0x000000100000-0x000000140000 : "Refresh"
0x000000140000-0x000000200000 : "UBoot"
0x000000200000-0x000000240000 : "UBootEnv"
0x000000240000-0x000000800000 : "Kernel"
0x000000800000-0x000010000000 : "TargetFS"
GPMI NAND driver registered. (IMX)
vcan: Virtual CAN interface driver
CAN device driver interface
flexcan netdevice driver
flexcan imx6q-flexcan.0: device registered (reg_base=a09b0000, irq=142)
flexcan imx6q-flexcan.1: device registered (reg_base=a09b8000, irq=143)
FEC Ethernet Driver
fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
add wake up source irq 72
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-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)
android_usb gadget: Mass Storage Function, version: 2009/09/11
android_usb gadget: Number of LUNs=1
lun0: LUN: removable file: (no medium)
Gadget Android: controller 'fsl-usb2-udc' not recognized
android_usb gadget: android_usb ready
Suspend udc for OTG auto detect
fsl-usb2-udc: bind to driver android_usb
mousedev: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
atmel_mxt_ts 1-004a: __mxt_read_reg: i2c transfer failed (-5)
atmel_mxt_ts: probe of 1-004a failed with error -5
sx8655 1-0049: sx8655_probe()
sx8655 1-0049: write mask fail
sx8655: probe of 1-0049 failed with error -5
rtc-pcf8563 0-0051: chip found, driver version 0.4.3
rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
using rtc device, rtc-pcf8563, for alarms
rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci sdhci-esdhc-imx.2: no write-protect pin available!
sdhci sdhci-esdhc-imx.2: no card-detect pin available!
android_work: did not send uevent (0 0 (null))
mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA
mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using ADMA
mmc2: SDHCI controller on platform [sdhci-esdhc-imx.0] using ADMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
mxc_asrc registered
Galcore version 4.6.9.9754
android_work: sent uevent USB_STATE=CONNECTED
android_work: sent uevent USB_STATE=DISCONNECTED
revserved_memory_account:viv_gpu registerd
Thermal calibration data is 0x58e4ec69
Thermal sensor with ratio = 184
Anatop Thermal registered as thermal_zone0
anatop_thermal_probe: default cooling device is cpufreq!
usb 2-1: new high speed USB device number 2 using fsl-ehci
leds-pca963x 1-0060: setting platform data
android_work: sent uevent USB_STATE=CONNECTED
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 256K log 'log_main'
logger: created 256K log 'log_events'
logger: created 256K log 'log_radio'
logger: created 256K log 'log_system'
Cirrus Logic CS42888 ALSA SoC Codec Driver
i2c-core: driver [cs42888] using legacy suspend method
i2c-core: driver [cs42888] using legacy resume method
sgtl5000 0-000a: sgtl5000 revision 17
print_constraints: 0-000a: 850 <--> 1600 mV at 1200 mV normal
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
android_work: sent uevent USB_STATE=DISCONNECTED
asoc: sgtl5000 <-> imx-ssi.1 mapping ok
Initialize HDMI-audio failed. Load HDMI-video first!
ALSA device list:
#0: sgtl5000-audio
NET: Registered protocol family 26
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: RFCOMM TTY layer initialized
android_work: sent uevent USB_STATE=CONNECTED
Bluetooth: RFCOMM socket layer initialized
android_work: sent uevent USB_STATE=DISCONNECTED
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
DDR type is DDR3
Bus freq driver module loaded
Bus freq driver Enabled
mxc_dvfs_core_probe
DVFS driver module loaded
regulator_init_complete: VDDD: incomplete constraints, leaving on
rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 0-0051: setting system clock to 2000-08-20 04:31:20 UTC (966745880)
android_work: sent uevent USB_STATE=CONNECTED
mmc1: new high speed SDHC card at address b368
mmcblk0: mmc1:b368 USD 3.72 GiB
mmcblk0: p1 p2 p3 < p5 p6 p7 p8 > p4
mmcblk0: p4 size 5635614 extends beyond EOD, truncated
android_work: sent uevent USB_STATE=DISCONNECTED
android_work: sent uevent USB_STATE=CONNECTED
android_work: sent uevent USB_STATE=DISCONNECTED
List of all partitions:
1f00 64 mtdblock0 (driver?)
1f02 256 mtdblock2 (driver?)
1f03 768 mtdblock3 (driver?)
1f04 256 mtdblock4 (driver?)
1f05 768 mtdblock5 (driver?)
1f06 256 mtdblock6 (driver?)
1f07 5888 mtdblock7 (driver?)
1f08 253952 mtdblock8 (driver?)
b300 3904512 mmcblk0 driver: mmcblk
b301 11439 mmcblk0p1 00000000-0000-0000-0000-000000000000
b302 11439 mmcblk0p2 00000000-0000-0000-0000-000000000000
b303 1 mmcblk0p3 00000000-0000-0000-0000-000000000000
b304 2764425 mmcblk0p4 00000000-0000-0000-0000-000000000000
android_work: sent uevent USB_STATE=CONNECTED
b305 526193 mmcblk0p5 00000000-0000-0000-0000-000000000000
b306 526193 mmcblk0p6 00000000-0000-0000-0000-000000000000
b307 11438 mmcblk0p7 00000000-0000-0000-0000-000000000000
103:00000 11438 mmcblk0p8 00000000-0000-0000-0000-000000000000
No filesystem could mount root, tried: ext3 ext2 ext4 cramfs squashfs vfat msdos romfs fuseblk
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)
[<80050fe4>] (unwind_backtrace+0x0/0x138) from [<8065ceec>] (panic+0x74/0x18c)
[<8065ceec>] (panic+0x74/0x18c) from [<80008db8>] (mount_block_root+0x1e0/0x224)
[<80008db8>] (mount_block_root+0x1e0/0x224) from [<80008fd0>] (mount_root+0xe8/0x108)
[<80008fd0>] (mount_root+0xe8/0x108) from [<80009154>] (prepare_namespace+0x164/0x1c8)
[<80009154>] (prepare_namespace+0x164/0x1c8) from [<80008a10>] (kernel_init+0x108/0x13c)
[<80008a10>] (kernel_init+0x108/0x13c) from [<8004a408>] (kernel_thread_exit+0x0/0x8)
Thanks Jonny
Hi Jonathan
please look at attached document sect.5.2.1 Booting from NAND on
the i.MX 6DualQuad/6DualLite SABREAI board, how to boot correctly.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------