Hello Gents,
I am trying to download the pre-build Android R10.4 posted on Freescale's site using TFTP and NFS root. All starts well, except that Android hangs while booting on access to the Audio Codec:
IFilename 'uImage'. Load address: 0x70800000 Loading: FEC: Link is down 7809 FEC: Link is down 7809 FEC: Link is down 7809 FEC: Link is down 7809 FEC: Link is down 7809 FEC: Link is down 7809 FEC: Link is down 7809 FEC: Link is down 7809 FEC: Link is down 7809 ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# # done Bytes transferred = 3329628 (32ce5c hex) ## Booting kernel from Legacy Image at 70800000 ... Image Name: Linux-2.6.35.3-01265-g8f56f17 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3329564 Bytes = 3.2 MB Load Address: 70008000 Entry Point: 70008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Initializing cgroup subsys cpu Linux version 2.6.35.3-01265-g8f56f17 (b18293@madspeed) (gcc version 4.4.3 (GCC) ) #6 PREEMPT Fri Mar 30 14:05:53 CST 2012 CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: Freescale MX53 SMD Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 81534 Kernel command line: console=ttymxc0 init=/init androidboot.console=ttymxc0 root=/dev/nfs nfsroot=10.32.50.234:/opt/nfsroot rw ip=dhcp video=mxcdi1fb:RGB666,XGA ldb=di1 di1_primary pmem=32M,64M fbmem=5M gpu_memory=64M 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) allocated 1643520 bytes of page_cgroup please try 'cgroup_disable=memory' option if you don't want memory cgroups Memory: 321MB = 321MB total Memory: 314012k/314012k available, 14692k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xfde00000 - 0xffe00000 ( 32 MB) vmalloc : 0xd4800000 - 0xf4000000 ( 504 MB) lowmem : 0xc0000000 - 0xd4100000 ( 321 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .init : 0xc0008000 - 0xc0039000 ( 196 kB) .text : 0xc0039000 - 0xc0895000 (8560 kB) .data : 0xc08b6000 - 0xc091ece0 ( 420 kB) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. RCU-based detection of stalled CPUs is disabled. Verbose stalled-CPUs detection is disabled. NR_IRQS:368 MXC GPIO hardware MXC IRQ initialized MXC_Early serial console at MMIO 0x53fbc000 (options '115200') bootconsole [ttymxc0] enabled Console: colour dummy device 80x30 Calibrating delay loop... 999.42 BogoMIPS (lpj=4997120) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 Initializing cgroup subsys debug Initializing cgroup subsys ns Initializing cgroup subsys cpuacct Initializing cgroup subsys memory Initializing cgroup subsys devices Initializing cgroup subsys freezer Initializing cgroup subsys blkio CPU: Testing write buffer coherency: ok regulator: core version 0.5 NET: Registered protocol family 16 i.MX IRAM pool: 128 KB@0xd4840000 IRAM READY CPU is i.MX53 Revision 2.1 Using SDMA I.API MXC DMA API initialized IMX usb wakeup probe IMX usb wakeup probe bio: create slab at 0 SCSI subsystem initialized CSPI: mxc_spi-0 probed Freescale USB OTG Driver loaded, $Revision: 1.55 $ usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb da9052_i2c_is_connected - i2c read success.... reg-fixed-voltage reg-fixed-voltage.0: Could not obtain regulator enable GPIO 74: -16 reg-fixed-voltage: probe of reg-fixed-voltage.0 failed with error -16 regulator: DA9052_LDO1: 600 <--> 1800 mV at 1300 mV normal regulator: DA9052_LDO2: 600 <--> 1800 mV at 1300 mV normal regulator: DA9052_LDO3: 1725 <--> 3300 mV at 3300 mV normal regulator: DA9052_LDO4: 1725 <--> 3300 mV at 2775 mV normal regulator: DA9052_LDO5: 1200 <--> 3600 mV at 1300 mV normal regulator: DA9052_LDO6: 1200 <--> 3600 mV at 1300 mV normal regulator: DA9052_LDO7: 1200 <--> 3600 mV at 2750 mV normal regulator: DA9052_LDO8: 1200 <--> 3600 mV at 1800 mV normal regulator: DA9052_LDO9: 1250 <--> 3650 mV at 1500 mV normal regulator: DA9052_LDO10: 1200 <--> 3600 mV at 1300 mV normal regulator: DA9052_BUCK_CORE: 500 <--> 2075 mV at 1250 mV normal regulator: DA9052_BUCK_PRO: 500 <--> 2075 mV at 1300 mV normal regulator: DA9052_BUCK_MEM: 925 <--> 2500 mV at 1500 mV normal regulator: DA9052_BUCK_PERI: 1800 <--> 3600 mV at 3600 mV normal DA9053 chip ID reg read=0xa3 BB version probed IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) Advanced Linux Sound Architecture Driver Version 1.0.23. Bluetooth: Core ver 2.15 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Switching to clocksource mxc_timer1 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: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) 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 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. LPMode driver module loaded Static Power Management for Freescale i.MX5 PM driver module loaded sdram autogating driver module loaded Bus freq driver module loaded DI1 is primary mxc_bt_rfkill driver success loaded rfkill: BT RF going to : on mxc_dvfs_core_probe DVFS driver module loaded i.MXC CPU frequency driver DVFS PER driver module loaded ashmem: initialized msgmni has been set to 613 alg: No test for stdrng (krng) cryptodev: driver loaded. io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) By setting, TVE driver will not be enabled sii902x 2-0039: found device 9022 sii902x 2-0039: Can not read edid regulator: get() with no identifier mxc_ldb mxc_ldb: default di1 single mode mxc_ipu mxc_ipu: Channel already disabled 9 mxc_ipu mxc_ipu: Channel already uninitialized 9 IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7) fbcvt: 1024x768@60: CVT Name - .786M3 mxc_ipu mxc_ipu: Channel already disabled 7 mxc_ipu mxc_ipu: Channel already uninitialized 7 mxc_ipu mxc_ipu: Channel already disabled 10 mxc_ipu mxc_ipu: Channel already uninitialized 10 Serial: MXC Internal UART driver mxcintuart.0: ttymxc0 at MMIO 0x53fbc000 (irq = 31) is a Freescale i.MX console [ttymxc0] enabled, bootconsole disabled console [ttymxc0] enabled, bootconsole disabled mxcintuart.1: ttymxc1 at MMIO 0x53fc0000 (irq = 32) is a Freescale i.MX mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 33) is a Freescale i.MX mxcintuart.3: ttymxc3 at MMIO 0x53ff0000 (irq = 13) is a Freescale i.MX mxcintuart.4: ttymxc4 at MMIO 0x63f90000 (irq = 86) is a Freescale i.MX loop: module loaded pmem_adsp: 1 init pmem_gpu: 1 init MXC MTD nand Driver 3.0 i.MX GPMI NFC vcan: Virtual CAN interface driver Freescale FlexCAN Driver FEC Ethernet Driver fec_enet_mii_bus: probed PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky 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 18, io base 0x53f80000 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 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 14, io base 0x53f80200 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 usbcore: registered new interface driver cdc_acm cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usbserial usbserial: USB Serial Driver core USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option option: v0.7.2:USB Driver for GSM modems ARC USBOTG Device Controller driver (1 August 2005) Android usb driver initialize android_usb gadget: android_usb ready fsl-usb2-udc: bind to driver android_usb android gadget: register function adb android gadget: register function usb_mass_storage android gadget: register function rndis f_accessory init android gadget: register function accessory android_usb gadget: usb_mass_storage, version: 2009/09/11 android_usb gadget: Number of LUNs=3 lun0: LUN: removable file: (no medium) lun1: LUN: removable file: (no medium) lun2: LUN: removable file: (no medium) rndis_function_bind_config MAC: 00:00:00:00:00:00 android_usb gadget: using random self ethernet address android_usb gadget: using random host ethernet address usb0: MAC 06:ab:24:8d:8d:d5 usb0: HOST MAC e2:40:1f:78:64:14 acc_bind_config mice: could not register psaux device, error: -16 mice: PS/2 mouse device common for all mice input: gpio-keys as /devices/platform/gpio-keys/input/input0 MXC keypad loaded mpr121 1-005a: mpr121: config as enable 4 of electrode. input: FSL MPR121 Touchkey as /devices/platform/imx-i2c.1/i2c-1/1-005a/input/input1 mpr121 1-005a: Mpr121 touch keyboard init success. input: eGalax Touch Screen as /devices/platform/imx-i2c.2/i2c-2/2-0004/input/input2 p1003_fwv33 2-0041: couldn't read panel infomation. p1003_fwv33: probe of 2-0041 failed with error -5 usb 2-1: new high speed USB device using fsl-ehci and address 2 input: da9052-onkey as /devices/platform/imx-i2c.0/i2c-0/0-0048/da9052-onkey/input/input3 input: isl29023 light sensor as /devices/virtual/input/input4 isl29023 2-0044: driver version 1.0 enabled using rtc device, da9052-rtc, for alarms da9052-rtc da9052-rtc: rtc core: registered da9052-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 hub 2-1:1.0: USB hub found hub 2-1:1.0: 4 ports detected mxc_v4l2_output mxc_v4l2_output.0: Registered device video1 usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0) APM Battery Driver input: mma8451 as /devices/virtual/input/input5 mag3110 1-000e: check mag3110 chip ID input: mag3110 as /devices/virtual/input/input6 mag3110 1-000e: mag3110 is probed MXC WatchDog Driver 2.0 MXC Watchdog # 0 Timer: initial timeout 60 sec device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com Bluetooth: Virtual HCI driver ver 1.3 Bluetooth: HCI UART driver ver 2.2 Bluetooth: HCIATH3K protocol initialized Bluetooth: Generic Bluetooth USB driver ver 0.6 usbcore: registered new interface driver btusb VPU initialized mxc_asrc registered gpu mmu disabled mxsdhci: MXC Secure Digital Host Controller Interface driver mxsdhci: MXC SDHCI Controller Driver. mmc0: SDHCI detect irq 0 irq 3 INTERNAL DMA mxsdhci: MXC SDHCI Controller Driver. mmc1: SDHCI detect irq 205 irq 1 INTERNAL DMA mxsdhci: MXC SDHCI Controller Driver. mmc2: SDHCI detect irq 0 irq 2 INTERNAL DMA usbcore: registered new interface driver usbhid usbhid: USB HID core driver logger: created 64K log 'log_main' logger: created 256K log 'log_events' logger: created 64K log 'log_radio' logger: created 64K log 'log_system' Cirrus Logic CS42888 ALSA SoC Codec Driver sgtl5000-i2c 1-000a: SGTL5000 revision 17 mxc_spdif mxc_spdif.0: MXC SPDIF Audio Transmitter No device for codec mxc spdif No device for DAI mxc spdif No device for DAI imx-ssi-1-0 No device for DAI imx-ssi-1-1 No device for DAI imx-ssi-2-0 No device for DAI imx-ssi-2-1 No device for DAI imx-spdif-dai DMA Sound Buffer Allocated: Playback UseIram=1 ext_ram=0 buf->addr=f8016000 buf->area=d4856000 size=24576 DMA Sound Buffer Allocated: Capture UseIram=1 ext_ram=1 buf->addr=83408000 buf->area=fe70a000 size=24576 asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok mmc0: new high speed MMC card at address 0001 mmcblk0: mmc0:0001 SEM08G 7.39 GiB mmcblk0: p1 p2 p3 < p5 p6 > p4 DMA Sound Buffer Allocated: Playback UseIram=1 ext_ram=1 buf->addr=83448000 buf->area=fe710000 size=24576 asoc: mxc spdif <-> imx-spdif-dai mapping ok ALSA device list: #0: imx-3stack (SGTL5000) #1: imx-3stack-spdif (mxc spdif) nf_conntrack version 0.5.0 (4906 buckets, 19624 max) IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered NET: Registered protocol family 10 IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 15 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: L2CAP ver 2.14 Bluetooth: L2CAP socket layer initialized Bluetooth: SCO (Voice Link) ver 0.6 Bluetooth: SCO socket layer initialized Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM socket layer initialized 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 L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2 regulator_init_complete: incomplete constraints, leaving DA9052_BUCK_PERI on regulator_init_complete: incomplete constraints, leaving DA9052_BUCK_MEM on regulator_init_complete: incomplete constraints, leaving DA9052_BUCK_PRO on regulator_init_complete: incomplete constraints, leaving DA9052_BUCK_CORE on regulator_init_complete: incomplete constraints, leaving DA9052_LDO10 on regulator_init_complete: incomplete constraints, leaving DA9052_LDO8 on regulator_init_complete: incomplete constraints, leaving DA9052_LDO6 on regulator_init_complete: incomplete constraints, leaving DA9052_LDO5 on regulator_init_complete: incomplete constraints, leaving DA9052_LDO4 on regulator_init_complete: incomplete constraints, leaving DA9052_LDO3 on regulator_init_complete: incomplete constraints, leaving DA9052_LDO1 on da9052-rtc da9052-rtc: setting system clock to 2000-01-01 00:00:17 UTC (946684817) mmc2: queuing unknown CIS tuple 0x01 (3 bytes) mmc2: queuing unknown CIS tuple 0x1a (5 bytes) mmc2: queuing unknown CIS tuple 0x1b (8 bytes) mmc2: queuing unknown CIS tuple 0x14 (0 bytes) mmc2: queuing unknown CIS tuple 0x80 (1 bytes) mmc2: queuing unknown CIS tuple 0x81 (1 bytes) mmc2: queuing unknown CIS tuple 0x82 (1 bytes) mmc2: new high speed SDIO card at address 0001 eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1) ADDRCONF(NETDEV_UP): usb0: link is not ready Sending DHCP requests . PHY: 0:00 - Link is Up - 100/Full DHCP/BOOTP: Ignoring delayed packet DHCP/BOOTP: Ignoring delayed packet ., OK IP-Config: Got DHCP answer from 10.32.16.71, my address is 10.32.51.110 IP-Config: Complete: device=eth0, addr=10.32.51.110, mask=255.255.252.0, gw=10.32.51.254, host=10.32.51.110, domain=dynamic.besancon.parkeon.com, nis-domain=(none), bootserver=10.32.16.71, rootserver=10.32.50.234, rootpath= Looking up port of RPC 100003/2 on 10.32.50.234 Looking up port of RPC 100005/1 on 10.32.50.234 VFS: Mounted root (nfs filesystem) on device 0:12. Freeing init memory: 196K init: cannot open '/initlogo.rle' init: Unable to open persistent property directory /data/property errno: 2 rfkill: BT RF going to : off init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' # init: cannot find '/data/app/ing/ingsvcd', disabling 'ing' input: eCompass as /devices/virtual/input/input7 request_suspend_state: on (3->0) at 8294133378 (2000-01-01 00:00:22.623768876 UTC) init: untracked pid 2164 exited request_suspend_state: on (0->0) at 12477229023 (2000-01-01 00:00:26.806864396 UTC) init: untracked pid 2206 exited request_suspend_state: on (0->0) at 17866635957 (2000-01-01 00:00:32.196271705 UTC) init: untracked pid 2224 exited request_suspend_state: on (0->0) at 22973334555 (2000-01-01 00:00:37.302970054 UTC) init: untracked pid 2234 exited request_suspend_state: on (0->0) at 27080106003 (2000-01-01 00:00:41.409742251 UTC) init: untracked pid 2242 exited request_suspend_state: on (0->0) at 32187054625 (2000-01-01 00:00:46.516689998 UTC) init: untracked pid 2250 exited request_suspend_state: on (0->0) at 37293561290 (2000-01-01 00:00:51.623196788 UTC) init: untracked pid 2258 exited request_suspend_state: on (0->0) at 42401115132 (2000-01-01 00:00:56.730750629 UTC) init: untracked pid 2266 exited request_suspend_state: on (0->0) at 47506332667 (2000-01-01 00:01:01.835968041 UTC) init: untracked pid 2274 exited request_suspend_state: on (0->0) at 52613548121 (2000-01-01 00:01:06.943182121 UTC) init: untracked pid 2282 exited
Itried previous versions of the pre-build Android (R10.3, R10.3_1 etc.) with the same result.
The tablet boots fine with the image stored in internal eMMC.
Has anyone an explanation ?
已解决! 转到解答。
Hello,Pierre,
your operations are correct ! Can you try this command in ubuntu ?
# sudo chmod -R 777 /opt/nfsroot
I have tested the above command and tried to boot from NFS, it was OK !
Weidong
Hello,Pierre,
The issue should be generated by NFS system in your nfsroot on ubuntu Host. We can try it like this :
enter into our nfsroot directory , and delete all files, then re-decompress NFS tar ball which was released by freescale , it is included R10.4 DEMO IMAGE.
Then boot your mx53 smd board via NFS. check if it is normal.
regards,
Weidong
Hello Sun,
I did download the complete imx-android-r10.4_bundle_BSP.tar.gz file from the Freescale site, I then decompressed the imx-android-r10.4_bundle_BSP/image_imx-android-r10.4_53smd/NFS/android_fs into /opt/nfsroot, and got the result posted.
What did I do wrong ? Can you be more specific ?
Regards.
--
Pierre Schirrer
Technical Leader
Parc Lafayette - 6 rue Isaac Newton
25075 Besancon - Doubs - FR
Phone +33381546849
Fax +33381545094
pschirrer@parkeon.com<mailto:pschirrer@parkeon.com>
www.parkeon.com<http://www.parkeon.com>;
Description : http://srv034-bes.besancon.parkeon.com:2000/images/corner.png
--
De : Weidong Sun mailto:admin@community.freescale.com
Envoyé : jeudi 6 juin 2013 10:34
À : Pierre Schirrer
Objet : Re: i.MX Community - SABRE tablet i.MX53 does not start R10.4 Android
Freescale Community<https://community.freescale.com/index.jspa>
SABRE tablet i.MX53 does not start R10.4 Android
created by Weidong Sun<https://community.freescale.com/people/weidong.sun> in i.MX Community - View the full discussion<https://community.freescale.com/message/333375#333375>
Hello,Pierre,
your operations are correct ! Can you try this command in ubuntu ?
# sudo chmod -R 777 /opt/nfsroot
I have tested the above command and tried to boot from NFS, it was OK !
Weidong