fabiobassa Posted April 9, 2020 Posted April 9, 2020 I posted here since this is more a generic question related to initrd than specific to board My scenario is this: I modified my ARMBIAN uInitrd ( unpacked and repacked ) and added a driver I needed , in particular driver for recognizing internal nand. Of course in the init script I added insmod aml_nftl_dev.ko The process was successfull and infact now i can see the internal nand lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 980M 0 disk |-mmcblk0p1 179:1 0 128M 0 part /boot `-mmcblk0p2 179:2 0 848M 0 part / cache 250:0 0 512M 0 disk logo 250:1 0 32M 0 disk recovery 250:2 0 32M 0 disk misc 250:3 0 32M 0 disk boot 250:4 0 32M 0 disk system 250:5 0 1G 0 disk data 250:6 0 5.4G 0 disk I can give for sure that the module is loaded by init because I HAVEN'T at all this module under /lib/modules, so for sure it is loaded by init lsmod Module Size Used by aml_nftl_dev 66089 0 Now comes the problem: when i try to install the whole thing in internal nand and let it boot by internal nand (install.sh) the process goes straight to the end. When I reboot thought the kernel hangs because is not found the correct /dev/root Spoiler QA5:B;SVN:B72;POC:3FF;STS:0;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0; no sdio debug board detected!Uj BT : 16:03:56 Feb 18 2016 PMU:NONE ##### VDDEE voltage = 0x044c1100 CPU clock is 792MHz All ddr mode test start... DDR mode: 32 bit mode (auto) DDR size: 512MB (auto) DDR check: Pass! DDR clock: 636MHz with 2T mode DDR pll bypass: Disabled DDR init use : 18177 us HHH ucl decompress...pass 0x12345678 Boot from internal device 1st NAND TE : 217970 System Started U-boot-00000-g621ad54-dirty(m8b_m201_v1@) (Feb 18 2016 - 16:03:46) clr h-ram DRAM: 512 MiB relocation Offset is: 0feb8000 show partition table: part: 0, name : logo, size : 2000000 part: 1, name : recovery, size : 2000000 part: 2, name : misc, size : 2000000 part: 3, name : boot, size : 2000000 part: 4, name : system, size : 40000000 part: 5, name : cache, size : 20000000 part: 6, name : data, size : end aml_card_type=0x100 MMC: [mmc_register] add mmc dev_num=0, port=1, if_type=6 [mmc_register] add mmc dev_num=1, port=2, if_type=6 SDIO Port B: 0, SDIO Port C: 1 power init out reg=c110804c,value=dfffffff IR init done! register usb cfg[0][1] = 1ff67ba4 register usb cfg[2][0] = 1ff6ab40 NAND: NAND BOOT: boot_device_flag 1 Nand PHY driver Version: 2.01.001.0004 (c) 2013 Amlogic Inc. amlnf_phy_init : amlnf init flag 0 NAND device id: ad de 14 a7 42 4a ad de detect NAND device: E revision 1Ynm NAND 8GiB H27UCG8T2E nand chip ce mask 1 AML_NAND_NEW_OOB : new oob bus_cycle=6, bus_timing=8,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15 hynix nand get default reg value at blk:7, page:1792 NAND CKECK : arg nbbt: arg_valid= 1, valid_blk_addr = 10, valid_page_addr = 0 NAND CKECK : arg ncnf: arg_valid= 1, valid_blk_addr = 5, valid_page_addr = 0 NAND CKECK : arg nkey: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 2 i=0,register --- nand_key NAND CKECK : arg nenv: arg_valid= 1, valid_blk_addr = 6, valid_page_addr = 108 NAND CKECK : arg phyp: arg_valid= 1, valid_blk_addr = 8, valid_page_addr = 2 amlnand_phydev_init,1172,phydev->offset=0,phydev->size=1000000 amlnand_phydev_init,1172,phydev->offset=d000000,phydev->size=26000000 amlnand_phydev_init,1172,phydev->offset=33000000,phydev->size=52000000 amlnand_phydev_init,1172,phydev->offset=85000000,phydev->size=17b000000 nfboot : offset: 0x000000000000 -0x000001000000 : partitons 0 : single_chip single_plane nfcache : offset: 0x00000d000000 -0x000026000000 : partitons 1 : single_chip multi_plane nfcode : offset: 0x000033000000 -0x000052000000 : partitons 5 : single_chip multi_plane nfdata : offset: 0x000085000000 -0x00017b000000 : partitons 1 : single_chip multi_plane bad block count = 0 bad block count = 1 bad block count = 1 bad block count = 0 amlnf_logic_init: START amlnf_logic_init: COMPLETE get_boot_device_flag: init_ret 0 get_boot_device_flag NAND BOOT: NAND BOOT,nand_env_relocate_spec : env_relocate_spec 49 uboot env amlnf_env_read : #### set_storage_device_flag: store 1 vpu clk_level in dts: 3 set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) Net: Meson_Ethernet init suspend firmware done. (ret:0) cvbs trimming.1.v5: 0xa0, 0x0 hdmi tx power init TV mode 576cvbs selected. vdac open.1 = 0x1, 0x0 mode is: 4 viu chan = 1 config HPLL config HPLL done clk_util_clk_msr(6)=216,cnt=5 not config efuse version current storer:nand_key ERR(v2_common/optimus_download_key.c)L473:failed to query key state, rc 0, keyIsBurned=0 reboot_mode=charging efuse version is not selected. Hit Enter key to stop autoboot -- : 1 0 exit abortboot: 0 (Re)start USB(0)... USB0: dwc_usb driver version: 2.94 6-June-2012 USB (1) peri reg base: c1108820 USB (1) use clock source: XTAL input USB (1) base addr: 0xc90c0000 Force id mode: Host dwc_otg: Highspeed device found ! scanning bus 0 for devices... dwc_otg: submit_control_msg: control data phase error (ret = -1) dwc_otg: submit_control_msg: control data phase error (ret = -1) dwc_otg: submit_control_msg: control data phase error (ret = -1) dwc_otg: submit_control_msg: control data phase error (ret = -1) dwc_otg: submit_control_msg: control data phase error (ret = -1) dwc_otg: submit_control_msg: control data phase error (ret = -1) 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Invalid boot device ** ** Invalid boot device ** ** Invalid boot device ** ** Invalid boot device ** [mmc_init] SDIO Port B:0, SD or TSD: Card did not respond to voltage select! mmc->block_dev.if_type=7 Booting... not config efuse version ERR(v2_common/optimus_download_key.c)L473:failed to query key state, rc 0, keyIsBurned=0 ## ANDROID Format IMAGE ## Booting kernel from Legacy Image at 12000000 ... Image Name: Linux-3.10.33 Image Type: ARM Linux Kernel Image (lzo compressed) Data Size: 5875633 Bytes = 5.6 MiB Load Address: 00208000 Entry Point: 00208000 Verifying Checksum ... OK Ramdisk start addr = 0x1259b000, len = 0x69d272 Flat device tree start addr = 0x12c38800, len = 0x58a1 magic=0xedfe0dd0 board_usb_stop cfg: 0 Uncompressing Kernel Image ... OK uboot time: 18086895 us. EFUSE machid is not set. Using machid 0xf81 from environment From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x56a7001 Loading Ramdisk to 05009000, end 056a6272 ... OK Loading Device Tree to 05000000, end 050088a0 ... OK Starting kernel ... [ 0.000000@0] Booting Linux on physical CPU 0x200 [ 0.000000@0] Linux version 3.10.33 (S8XXBOX@ubuntu01) (gcc version 4.7.3 20130205 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.02-01-20130221 - Linaro GCC 2013.02) ) #1 SMP PREEMPT Tue Jan 5 09:54:42 CST 2016 [ 0.000000@0] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d [ 0.000000@0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000@0] Machine: Amlogic Meson8B, model: AMLOGIC [ 0.000000@0] physical memory start address is 0x200000 [ 0.000000@0] reserved_end is c1fffff [ 0.000000@0] [ 0.000000@0] Total memory is 510 MiB [ 0.000000@0] Reserved low memory from 0x06000000 to 0x0c1fffff, size: 98 MiB [ 0.000000@0] mesonfb0(low) : 0x06100000 - 0x07900000 ( 24 MiB) [ 0.000000@0] mesonfb1(low) : 0x07900000 - 0x07a00000 ( 1 MiB) [ 0.000000@0] deinterlace0(high) : 0x1e800000 - 0x20000000 ( 24 MiB) [ 0.000000@0] mesonstream0(low) : 0x07a00000 - 0x08200000 ( 8 MiB) [ 0.000000@0] vdec0(low) : 0x08200000 - 0x0c200000 ( 64 MiB) [ 0.000000@0] ppmgr0(high) : 0x1d800000 - 0x1e800000 ( 16 MiB) [ 0.000000@0] cma: CMA: reserved 8 MiB at 1d000000 [ 0.000000@0] cma: Found region@0, memory base 0, size 18 MiB [ 0.000000@0] cma: CMA: reserved 20 MiB at 1bc00000 [ 0.000000@0] Memory policy: ECC disabled, Data cache writealloc [ 0.000000@0] Meson chip version = RevA (1B:A - 0:B72) [ 0.000000@0] PERCPU: Embedded 8 pages/cpu @c10d0000 s8832 r8192 d15744 u32768 [ 0.000000@0] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 90708 [ 0.000000@0] Kernel command line: root=/dev/data rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 mac=${mac} vdaccfg=0xa000 logo=osd1,loaded,0x7900000,576cvbs,full hdmimode=1080p cvbsmode=576cvbs androidboot.firstboot=0 hdmitx= [ 0.000000@0] ******** uboot setup mac-addr: 00:ac:60:ea:6e:c0 [ 0.000000@0] cvbs trimming line = 0xa000 [ 0.000000@0] cvbs trimming.1.v5: 0xa0, 0x0 [ 0.000000@0] osd1:1 [ 0.000000@0] loaded:268435459 [ 0.000000@0] logo has been loaded [ 0.000000@0] 576cvbs:8 [ 0.000000@0] full:2 [ 0.000000@0] kernel get hdmimode form uboot is 1080p [ 0.000000@0] kernel get cvbsmode form uboot is 576cvbs [ 0.000000@0] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000@0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000@0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000@0] Memory: 64MB 16MB 278MB = 358MB total [ 0.000000@0] Memory: 313284k/313284k available, 53308k reserved, 0K highmem [ 0.000000@0] Virtual kernel memory layout: [ 0.000000@0] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000@0] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000@0] vmalloc : 0xdd800000 - 0xff000000 ( 536 MB) [ 0.000000@0] lowmem : 0xc0000000 - 0xdd600000 ( 470 MB) [ 0.000000@0] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000@0] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000@0] .text : 0xc0008000 - 0xc09c8134 (9985 kB) [ 0.000000@0] .init : 0xc09c9000 - 0xc0a01280 ( 225 kB) [ 0.000000@0] .data : 0xc0a02000 - 0xc0a78780 ( 474 kB) [ 0.000000@0] .bss : 0xc0a78780 - 0xc0d13a6c (2669 kB) [ 0.000000@0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000@0] Preemptible hierarchical RCU implementation. [ 0.000000@0] NR_IRQS:256 [ 0.000000@0] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms [ 0.000000@0] Global timer: MESON TIMER-F (c0a201c0) initialized [ 0.000000@0] Switching to timer-based delay loop [ 0.000000@0] Console: colour dummy device 80x30 [ 0.000000@0] console [tty0] enabled [ 0.000000@0] console [ttyS0] enabled [ 0.345461@0] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000) [ 0.355742@0] pid_max: default: 32768 minimum: 301 [ 0.360779@0] Security Framework initialized [ 0.364754@0] SELinux: Initializing. [ 0.368565@0] Mount-cache hash table entries: 512 [ 0.380574@0] CPU: Testing write buffer coherency: ok [ 0.381275@0] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200 [ 0.385879@0] Setting up static identity map for 0xc06ca8d8 - 0xc06ca930 [ 0.392701@0] L310 cache controller enabled [ 0.396652@0] l2x0: 8 ways, 2048 sets, CACHE_ID 0x4100a0c9, Cache size: 524288 B [ 0.404148@0] AUX_CTRL 0x7ec60001, PERFETCH_CTRL 0x75000007, POWER_CTRL 0x00000000 [ 0.412250@0] TAG_LATENCY 0x00000111, DATA_LATENCY 0x00000222 [ 0.490398@1] CPU1: Booted secondary processor [ 0.490422@1] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201 [ 0.510395@2] CPU2: Booted secondary processor [ 0.510418@2] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202 [ 0.530394@3] CPU3: Booted secondary processor [ 0.530418@3] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203 [ 0.530554@0] Brought up 4 CPUs [ 0.558765@0] SMP: Total of 4 processors activated (8.00 BogoMIPS). [ 0.564989@0] CPU: All CPU(s) started in SVC mode. [ 0.570821@0] devtmpfs: initialized [ 0.583654@0] clkrate [ xtal ] : 24000000 [ 0.583717@0] clkrate [ pll_sys ] : 792000000 [ 0.586559@0] clkrate [ pll_fixed ] : 2550000000 [ 0.591258@0] clkrate [ pll_vid ] : 648000000 [ 0.595648@0] clkrate [ pll_ddr ] : 0 [ 0.599373@0] clkrate [ a9_clk ] : 792000000 [ 0.603719@0] clkrate [ clk81 ] : 159375000 [ 0.608530@0] pinctrl core: initialized pinctrl subsystem [ 0.613694@0] regulator-dummy: no parameters [ 0.619213@0] NET: Registered protocol family 16 [ 0.627664@0] DMA: preallocated 4096 KiB pool for atomic coherent allocations [ 0.631346@0] VPU driver version: v02 [ 0.632884@0] load vpu_clk in dts: 182150000Hz(3) [ 0.637583@0] vpu_probe OK [ 0.640836@0] cma: Assigned CMA region with name cma_0 to amvenc_avc.0 device [ 0.651542@0] amlogic_gpio gpio: Probed amlogic GPIO driver [ 0.653164@0] register lm device lm-root [ 0.656847@0] register lm device lm1 [ 0.660431@0] register lm device lm0 [ 0.664129@0] Init pinux probe! [ 0.668035@0] pinmux-m8b pinmux: Probed amlogic pinctrl driver [ 0.672862@0] tv_init_module [ 0.675665@0] major number 254 for disp [ 0.679465@0] vout_register_server [ 0.682860@0] register tv module server ok [ 0.687001@0] aml_i2c version: 20140813 [ 0.691023@0] aml-i2c i2c-AO: add adapter aml_i2c_adap0(db32a4a8) [ 0.696788@0] aml-i2c i2c-AO: aml i2c bus driver. [ 0.701728@0] aml-i2c i2c-A: add adapter aml_i2c_adap1(db32a8a8) [ 0.707438@0] aml-i2c i2c-A: aml i2c bus driver. [ 0.712280@0] aml-i2c i2c-B: add adapter aml_i2c_adap2(db32aca8) [ 0.718001@0] aml-i2c i2c-B: aml i2c bus driver. [ 0.722827@0] aml-i2c i2c-C: add adapter aml_i2c_adap3(db32b0a8) [ 0.728566@0] aml-i2c i2c-C: aml i2c bus driver. [ 0.733379@0] aml-i2c i2c-D: add adapter aml_i2c_adap4(db32b4a8) [ 0.739128@0] aml-i2c i2c-D: aml i2c bus driver. [ 0.743899@0] aml_pmu_init, 454 [ 0.746874@0] call aml_dvfs_init in [ 0.750699@0] hdmitx: system: amhdmitx_init [ 0.754451@0] hdmitx: system: Ver: 2014May6 [ 0.758714@0] hdmitx: system: amhdmitx_probe [ 0.763381@0] hdmitx: system: gate/pwr cmd: 7 [ 0.767181@0] hdmitx: system: gate/pwr cmd: 1 [ 0.771535@0] hdmitx: system: hw init [ 0.775733@1] hdmitx: system: reset intr mask [ 0.839025@0] bio: create slab <bio-0> at 0 [ 0.839898@0] SCSI subsystem initialized [ 0.841796@0] usbcore: registered new interface driver usbfs [ 0.847187@0] usbcore: registered new interface driver hub [ 0.852723@0] usbcore: registered new device driver usb [ 0.857898@0] Linux video capture interface: v2.00 [ 0.862630@0] pps_core: LinuxPPS API ver. 1 registered [ 0.867647@0] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.876953@0] PTP clock support registered [ 0.881500@0] mode is 8,sync_duration_den=1,sync_duration_num=50 [ 0.886959@0] request vpu clk holdings: venci 106250000Hz [ 0.892371@0] TV mode 576cvbs selected. [ 0.896134@0] already display in uboot [ 0.905059@0] call aml_pmu_probe_init in [ 0.905588@0] Advanced Linux Sound Architecture Driver Initialized. [ 0.910620@0] Bluetooth: Core ver 2.16 [ 0.913793@0] NET: Registered protocol family 31 [ 0.918301@0] Bluetooth: HCI device and connection manager initialized [ 0.924830@0] Bluetooth: HCI socket layer initialized [ 0.929824@0] Bluetooth: L2CAP socket layer initialized [ 0.935082@0] Bluetooth: SCO socket layer initialized [ 0.940375@0] cfg80211: Calling CRDA to update world regulatory domain [ 0.948808@0] Switching to clocksource Timer-E [ 0.963230@0] NET: Registered protocol family 2 [ 0.963997@0] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.969426@0] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.976056@0] TCP: Hash tables configured (established 4096 bind 4096) [ 0.982494@0] TCP: reno registered [ 0.985802@0] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.991814@0] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.998508@0] NET: Registered protocol family 1 [ 1.002829@0] wifi_dev_probe [ 1.005538@0] wifi_dt : interrupt_pin=GPIOX_21 [ 1.009958@0] wifi_dt : irq_num=null [ 1.013545@0] wifi_dt : irq_trigger_type=GPIO_IRQ_HIGH [ 1.018609@0] wifi_dt : power_on_pin=GPIOAO_6 [ 1.022965@0] wifi_dt : power_on_pin2=GPIOX_11 [ 1.027360@0] interrupt_pin=118, irq_num=4, irq_trigger_type=0, power_on_pin=6,clock_32k_pin=0 [ 1.036365@0] Unpacking initramfs... [ 1.039488@0] Initramfs unpacking failed: junk in compressed archive [ 1.058629@0] Freeing initrd memory: 6772K (c4e09000 - c54a6000) [ 1.061111@0] audit: initializing netlink socket (disabled) [ 1.064603@0] type=2000 audit(0.980:1): initialized [ 1.077122@0] VFS: Disk quotas dquot_6.5.2 [ 1.077513@0] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.085798@0] fuse init (API version 7.22) [ 1.087123@0] msgmni has been set to 681 [ 1.092630@0] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 1.097780@0] io scheduler noop registered [ 1.101876@0] io scheduler deadline registered [ 1.106473@0] io scheduler cfq registered (default) [ 1.191695@0] loop: module loaded [ 1.192616@0] tun: Universal TUN/TAP device driver, 1.6 [ 1.194603@0] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 1.201789@0] ethernet base addr is fe0c0000 [ 1.205194@0] key device don't create,extenal_api_key_set_version:2052 [ 1.211689@0] ret = -22 [ 1.211689@0] print_buff= [ 1.216764@0] DWMAC100 [ 1.219108@0] stmmac - user ID: 0x10, Synopsys ID: 0x37 [ 1.224323@0] Normal descriptors [ 1.227591@0] Ring mode enabled [ 1.230795@0] DMA HW capability register supported [ 1.235512@0] RX Checksum Offload Engine supported (type 2) [ 1.241288@0] TX Checksum insertion supported [ 1.245688@0] Wake-Up On Lan supported [ 1.249544@0] Enable RX Mitigation via HW Watchdog Timer [ 1.257819@0] libphy: stmmac: probed [ 1.258423@0] eth0: PHY ID 02430c54 at 0 IRQ POLL (stmmac-0:00) active [ 1.265051@0] PPP generic driver version 2.4.2 [ 1.269577@0] PPP BSD Compression module registered [ 1.274223@0] PPP Deflate Compression module registered [ 1.279385@0] PPP MPPE Compression module registered [ 1.284329@0] NET: Registered protocol family 24 [ 1.288981@0] usbcore: registered new interface driver asix [ 1.294569@0] usbcore: registered new interface driver ax88179_178a [ 1.300751@0] usbcore: registered new interface driver cdc_ether [ 1.306741@0] usbcore: registered new interface driver dm9601 [ 1.312467@0] usbcore: registered new interface driver net1080 [ 1.318218@0] usbcore: registered new interface driver cdc_subset [ 1.324304@0] usbcore: registered new interface driver zaurus [ 1.330035@0] usbcore: registered new interface driver cdc_ncm [ 1.336100@0] usbcore: registered new interface driver cdc_acm [ 1.341571@0] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.349763@0] usbcore: registered new interface driver usb-storage [ 1.356014@0] usbcore: registered new interface driver usbserial [ 1.361882@0] usbcore: registered new interface driver option [ 1.367572@0] usbserial: USB Serial support registered for GSM modem (1-port) [ 1.375088@0] mousedev: PS/2 mouse device common for all mice [ 1.380848@0] i2c /dev entries driver [ 1.385022@0] usbcore: registered new interface driver uvcvideo [ 1.389858@0] USB Video Class driver (1.1.1) [ 1.394571@0] device-mapper: uevent: version 1.0.3 [ 1.399300@0] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com [ 1.407820@0] Bluetooth: HCI UART driver ver 2.2 [ 1.412072@0] Bluetooth: HCI H4 protocol initialized [ 1.417705@0] usbcore: registered new interface driver usbhid [ 1.422712@0] usbhid: USB HID core driver [ 1.427387@0] zram: Created 1 device(s) ... [ 1.431494@0] ashmem: initialized [ 1.434395@0] logger: created 256K log 'log_main' [ 1.439012@0] logger: created 256K log 'log_events' [ 1.443889@0] logger: created 256K log 'log_radio' [ 1.448650@0] logger: created 256K log 'log_system' [ 1.453631@0] vout_init_module [ 1.456342@0] start init vout module [ 1.460052@0] create vout attribute ok [ 1.464519@0] ge2d_init [ 1.466411@0] ge2d_dev major:245 [ 1.469922@0] ge2d start monitor [ 1.473135@0] osd_init [ 1.473149@1] ge2d workqueue monitor start [ 1.479536@0] osd_probe, vinfo:c070dc4c [ 1.483769@0] Frame buffer memory assigned at phy:0x06100000, vir:0xde000000, size=24576K [ 1.491457@0] osd_probe, mydef_var:c0a41120, vinfo:c070dc4c [ 1.496992@0] init fbdev bpp is :32 [ 1.500518@0] ---------------clear framebuffer0 memory [ 1.532158@0] Frame buffer memory assigned at phy:0x07900000, vir:0xdda00000, size=1024K [ 1.534640@0] osd_probe, mydef_var:c0a41120, vinfo:c070dc4c [ 1.540179@0] don't find to display_size_default from mesonfb-dts [ 1.546264@0] init fbdev bpp is :16 [ 1.551927@0] osd probe ok [ 1.553793@0] amlvideo-000: V4L2 device registered as video10 [ 1.558820@0] ionvideo-000: V4L2 device registered as video13 [ 1.564191@0] Video Technology Magazine Ion Video Capture Board ver 1.0 successfully loaded. [ 1.573216@0] aml_wdt_driver_init,301 [ 1.576200@0] ** disable watchdog [ 1.579756@0] keys=========================================== [ 1.585287@0] keys_devno=f200000 [ 1.588620@0] securitykey: device aml_keys created [ 1.593274@0] amlkeys=0 [ 1.595651@0] platform_driver_register--aml_keys_driver-------------------- [ 1.602717@0] key unify config unifykey-num is 6 [ 1.607154@0] key unify fact unifykey-num is 6 [ 1.611596@0] aml_unifykeys_probe:694=============unifykey_devno:f100000 [ 1.618431@0] unifykey: device unifykeys created ok [ 1.623161@0] platform_driver_register--unifykey management driver-------------------- [ 1.631467@0] start uart_ao_ttyS0:(irq = 122) [ 1.635365@0] register uart_ao ok [ 1.638956@0] start uart_a_ttyS1:(irq = 58) [ 1.642855@0] register uart_a ok [ 1.646334@0] set uart_b pinmux use pinctrl subsystem [ 1.651079@0] P_AO_RTI_PIN_MUX_REG:5861 [ 1.654868@0] start uart_b_ttyS2:(irq = 107) [ 1.659066@0] register uart_b ok [ 1.662687@0] start uart_d_ttyS4:(irq = 126) [ 1.666512@0] register uart_d ok [ 1.669901@0] dwc_otg: version 3.10a 12-MAY-2014 [ 1.674448@0] dwc_otg_driver_probe NOT match [ 1.678609@0] usb1: type: 1, speed: 0, config: 0, dma: 0, id: 1, phy: fe108820, ctrl: fe080000 [ 1.687205@0] USB (1) use clock source: XTAL input [ 1.713183@0] Core Release: 3.10a [ 1.713237@0] Setting default values for core params [ 1.715830@0] curmode: 1, host_only: 1 [ 1.739784@0] Using Buffer DMA mode [ 1.739838@0] OTG VER PARAM: 1, OTG VER FLAG: 1 [ 1.742216@0] Working on port type = HOST [ 1.747469@0] dwc_otg lm1: DWC OTG Controller [ 1.750508@0] dwc_otg lm1: new USB bus registered, assigned bus number 1 [ 1.757276@0] dwc_otg lm1: irq 63, io mem 0x00000000 [ 1.762138@0] -------hcd->flags.d32 = 0 [ 1.765912@0] Init: Port Power? op_state=1 [ 1.769957@0] Init1: Power Port (0) [ 1.774297@0] hub 1-0:1.0: USB hub found [ 1.777338@0] hub 1-0:1.0: 1 port detected [ 1.781865@0] usb0: type: 1, speed: 0, config: 0, dma: 0, id: 0, phy: fe108800, ctrl: fe040000 [ 1.789972@0] USB (0) use clock source: XTAL input [ 1.815942@0] Core Release: 3.10a [ 1.815995@0] Setting default values for core params [ 1.818587@0] curmode: 1, host_only: 1 [ 1.842630@0] Using Buffer DMA mode [ 1.842685@0] OTG VER PARAM: 1, OTG VER FLAG: 1 [ 1.845010@0] Working on port type = HOST [ 1.849253@0] dwc_otg lm0: DWC OTG Controller [ 1.853439@0] dwc_otg lm0: new USB bus registered, assigned bus number 2 [ 1.860024@0] dwc_otg lm0: irq 62, io mem 0x00000000 [ 1.864985@0] -------hcd->flags.d32 = 0 [ 1.868757@0] Init: Port Power? op_state=1 [ 1.872877@0] Init1: Power Port (0) [ 1.877061@0] hub 2-0:1.0: USB hub found [ 1.880184@0] hub 2-0:1.0: 1 port detected [ 1.884843@0] boot_device_flag : 1 [ 1.887612@0] ===========================================amlnf_init:642,nand device tree ok,dev-name:nand [ 1.897143@0] Nand PHY driver Version: 2.01.001.0006 (c) 2013 Amlogic Inc. [ 1.904037@0] amlnf_phy_init : amlnf init flag 0 [ 1.908684@0] ######STS IRQ mode for nand driver [ 1.913315@0] NAND device id: ad de 14 a7 42 4a ad de [ 1.918181@0] detect NAND device: E revision 1Ynm NAND 8GiB H27UCG8T2E [ 1.972015@0] AML_NAND_NEW_OOB : new oob [ 1.972076@0] bus_cycle=6, bus_timing=8,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15 [ 1.978208@0] boot_device_flag = 1 [ 1.981708@1] Indeed it is in host mode hprt0 = 00021501 [ 1.984130@0] hynix nand get default reg value at blk:7, page:1792 [ 1.988722@0] NAND CKECK : arg nbbt: arg_valid= 1, valid_blk_addr = 10, valid_page_addr = 0 [ 1.993693@0] NAND CKECK : arg ncnf: arg_valid= 1, valid_blk_addr = 5, valid_page_addr = 0 [ 1.994305@0] nand shipped bbt at block 0 [ 2.023048@0] NAND CKECK : arg phyp: arg_valid= 1, valid_blk_addr = 8, valid_page_addr = 2 [ 2.055178@0] NAND CKECK : arg nkey: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 2 [ 2.058512@0] i=0,register --- nand_key [ 2.100484@0] NAND CKECK : arg nenv: arg_valid= 1, valid_blk_addr = 6, valid_page_addr = 108 [ 2.106230@0] amlnand_phydev_init,1179,phydev->offset=0,phydev->size=1000000 [ 2.110419@0] amlnand_phydev_init,1179,phydev->offset=d000000,phydev->size=26000000 [ 2.118126@0] amlnand_phydev_init,1179,phydev->offset=33000000,phydev->size=52000000 [ 2.125818@0] amlnand_phydev_init,1179,phydev->offset=85000000,phydev->size=17b000000 [ 2.133613@0] nfboot : offset: 0x000000000000 -0x000001000000 : partitons 0 : single_chip single_plane [ 2.143202@0] nfcache : offset: 0x00000d000000 -0x000026000000 : partitons 1 : single_chip multi_plane [ 2.152745@0] nfcode : offset: 0x000033000000 -0x000052000000 : partitons 5 : single_chip multi_plane [ 2.162249@0] nfdata : offset: 0x000085000000 -0x00017b000000 : partitons 1 : single_chip multi_plane [ 2.171897@0] bad block count = 0 [ 2.171897@0] [ 2.178891@0] bad block count = 1 [ 2.178891@0] [ 2.186435@0] bad block count = 1 [ 2.186435@0] [ 2.191061@1] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 2.193266@1] Indeed it is in host mode hprt0 = 00001101 [ 2.209245@0] bad block count = 0 [ 2.209245@0] [ 2.209322@0] amlnand_add_nftl: [ 2.212027@0] Creating 1 ntd partitions [ 2.215531@0] block_num 76 [ 2.220567@0] ------init_ntd [ 2.221639@0] ntd: Giving out device 0 to nfcache [ 2.225834@0] Creating 5 ntd partitions [ 2.229645@0] block_num 164 [ 2.237818@0] ntd: Giving out device 1 to nfcode [ 2.237888@0] Creating 1 ntd partitions [ 2.240901@0] block_num 758 [ 2.266588@0] ntd: Giving out device 2 to nfdata [ 2.268042@0] amvideocap_init_module [ 2.269326@0] Amlogic A/V streaming port init [ 2.275486@0] buffersize=262144,0,start=0 [ 2.277466@0] Subtitle stbuf alloced at 0xdac00000, size = 262144 [ 2.283591@0] changed the (2) buffer size from 0 to 262144 [ 2.289222@0] init vdec memsource 8200000->c1fffff [ 2.294002@0] [tsync_pcr_init]init success. [ 2.298052@0] regist mpeg12 codec profile [ 2.302098@0] regist mpeg4 codec profile [ 2.305855@0] amvdec_vc1 module init [ 2.309474@0] regist vc1 codec profile [ 2.313207@0] amvdec_h264 module init [ 2.316911@0] regist h264 codec profile [ 2.320576@0] amvdec_h264mvc module init [ 2.324615@0] regist hmvc codec profile [ 2.328283@0] amvdec_h265 module init [ 2.332074@0] regist hevc codec profile [ 2.335798@0] regist mjpeg codec profile [ 2.339624@0] amvdec_real module init [ 2.343390@0] regist real codec profile [ 2.347072@0] amvdec_avs module init [ 2.350804@0] amvenc_avc memory resource undefined. [ 2.355549@0] encode_wq_init. [ 2.358418@0] encode start monitor. [ 2.362017@1] encode workqueue monitor start. [ 2.366474@0] jpegenc module init [ 2.369914@0] picdec buffer size is 4000000 [ 2.373965@0] alloc_keep_buffer keep_y_addr da600000 [ 2.378608@0] alloc_keep_buffer keep_u_addr dad00000 [ 2.383660@0] alloc_keep_buffer keep_v_addr dac80000 [ 2.388463@0] yaddr=da600000,u_addr=dad00000,v_addr=dac80000 [ 2.394618@0] create_ge2d_work_queue video task ok [ 2.399543@0] efuse=========================================== [ 2.405043@0] efuse: device efuse created [ 2.408793@0] efuse-------------------------------------------- [ 2.414854@0] SARADC Driver init. [ 2.418320@0] __saradc_probe__ [ 2.421690@0] hub 1-1:1.0: USB hub found [ 2.424963@0] hub 1-1:1.0: 4 ports detected [ 2.561173@0] saradc calibration: ref_val = 510 [ 2.561236@0] saradc calibration: ref_nominal = 512 [ 2.564941@0] saradc calibration: coef = 4088 [ 2.569653@0] ir irblaster probe [ 2.572881@0] Remote Driver [ 2.575371@0] Remote platform_data g_remote_base=fe600580 [ 2.580653@0] set drvdata completed [ 2.584251@0] device_create_file completed [ 2.589122@0] input: aml_keypad as /devices/platform/meson-remote/input/input0 [ 2.596082@0] input_register_device completed [ 2.600158@0] [0x0] = 0x1dd0190 [ 2.603289@0] [0x4] = 0xf800ca [ 2.606245@0] [0x8] = 0x820064 [ 2.609275@0] [0xc] = 0x3c0030 [ 2.612391@0] [0x10] = 0x30fa0013 [ 2.615596@0] [0x18] = 0x6f19000 [ 2.618800@0] [0x1c] = 0x9f40 [ 2.621898@0] [0x20] = 0x0 [ 2.624580@0] [0x24] = 0x0 [ 2.627190@0] [0x28] = 0x0 [ 2.629806@0] set_remote_mode[65] [ 2.633237@0] remote config major:233 [ 2.637038@0] physical address:0x1ae5e000 [ 2.640886@0] ADC Keypad Driver init. [ 2.644818@0] ==touch_ts_init== [ 2.647717@0] ==ft5x0x_ts_init== [ 2.650819@0] ==goodix_ts_init== [ 2.654162@0] i2c-core: driver [gslx680_compatible] using legacy suspend method [ 2.661296@0] i2c-core: driver [gslx680_compatible] using legacy resume method [ 2.668497@0] !!!ntp_ts: ret = 0. [ 2.671860@0] VTL ct36x TouchScreen driver, <george.chen@vtl.com.cn>. [ 2.678303@0] i2c-core: driver [ct36x] using legacy suspend method [ 2.684412@0] i2c-core: driver [ct36x] using legacy resume method [ 2.690421@0] VTL ct36x TouchScreen driver End. [ 2.695005@0] ==gsl_ts_init== [ 2.697915@0] ret=0 [ 2.700252@0] i2c-core: driver [mir3da] using legacy suspend method [ 2.706271@0] i2c-core: driver [mir3da] using legacy resume method [ 2.712449@3] usb 1-1.4: new high-speed USB device number 3 using dwc_otg [ 2.712531@0] i2c-core: driver [lis3dh_acc] using legacy suspend method [ 2.712535@0] i2c-core: driver [lis3dh_acc] using legacy resume method [ 2.712638@0] i2c-core: driver [bma222] using legacy suspend method [ 2.712642@0] i2c-core: driver [bma222] using legacy resume method [ 2.712763@0] i2c-core: driver [dmard06] using legacy suspend method [ 2.712766@0] i2c-core: driver [dmard06] using legacy resume method [ 2.712815@0] lsm303d driver: init [ 2.712908@0] i2c-core: driver [dmard10] using legacy suspend method [ 2.712912@0] i2c-core: driver [dmard10] using legacy resume method [ 2.712969@0] stk8313_init [ 2.713015@0] ======stk831x init ok====== [ 2.713018@0] stk831x_init [ 2.713064@0] mxc622x accelerometer driver: init [ 2.713117@0] i2c-core: driver [mxc622x] using legacy suspend method [ 2.713121@0] i2c-core: driver [mxc622x] using legacy resume method [ 2.713128@0] mxc6255xc accelerometer driver: init [ 2.713171@0] i2c-core: driver [mxc6255xc] using legacy suspend method [ 2.713174@0] i2c-core: driver [mxc6255xc] using legacy resume method [ 2.713334@0] cm3217 v.1.0.0.1 [ 2.713379@0] i2c-core: driver [elan_epl6814] using legacy suspend method [ 2.713383@0] i2c-core: driver [elan_epl6814] using legacy resume method [ 2.713461@0] i2c-core: driver [LTR501] using legacy suspend method [ 2.713464@0] i2c-core: driver [LTR501] using legacy resume method [ 2.713600@0] GPIO Keypad Driver init. [ 2.713725@0] ==gpio_key_probe== [ 2.713771@0] reg:2620,clearmask=400040,setmask=1 [ 2.713776@0] reg:2622,clearmask=ff0000,set pin=3 [ 2.713781@0] reg:2623,clearmask=7000000,setmask=7 [ 2.713788@0] reg:2620,clearmask=800080,setmask=10001 [ 2.713793@0] reg:2622,clearmask=ff000000,set pin=3 [ 2.713799@0] reg:2623,clearmask=70000000,setmask=7 [ 2.713907@0] power key(116) registed. [ 2.714150@0] input: gpio_keypad as /devices/platform/gpio_keypad.6/input/input1 [ 2.714384@0] gpio keypad register input device completed. [ 2.714395@0] gpio keypad major:232 [ 2.714731@0] spi_nor_init [ 2.714898@0] amlogic_spi_nor_probe: [ 2.714909@0] amlogic_spi->state_name:default [ 2.715064@0] AMLOGIC_SPI_NOR cc000000.spi: master is unqueued, this is deprecated [ 2.715198@0] check_storage_device : spi boot_device_flag : -1 [ 2.715212@0] spi_nor_probe [ 2.715217@0] spi_nor_probe 629 boot_device_flag -1 : do not init spi [ 2.715235@0] spi_nor: probe of apollospi:32766 failed with error -12 [ 2.715242@0] amlogic_spi_nor_probe over [ 2.715393@0] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning which caused eMMC data CRC error [ 2.955538@0] host->base fe108c20 [ 2.958290@0] pdata->caps 7 [ 2.961083@0] pdata->caps2 0 [ 2.963869@0] get property: port, value:0x00000001 [ 2.970358@0] get property: ocr_avail, value:0x00200000 [ 2.977015@0] get property: f_min, value:0x000493e0 [ 2.983410@0] get property: f_max, value:0x02faf080 [ 2.989842@0] get property: f_max_w, value:0x02faf080 [ 2.996423@0] get property: max_req_size, value:0x00020000 [ 3.002879@0] get property: irq_in, value:0x00000003 [ 3.009325@0] get property: irq_out, value:0x00000005 [ 3.015914@0] get property: gpio_cd, str:CARD_6 [ 3.021847@0] get property: pinname, str:sd [ 3.027425@0] get property: jtag_pin, str:CARD_0 [ 3.033533@0] get property: card_type, value:0x00000005 [ 3.039942@0] get property: gpio_dat3, str:CARD_4 [ 3.082151@0] reg:2620,clearmask=80008,setmask=10001 [ 3.082224@0] reg:2621,clearmask=ff000000,set pin=49 [ 3.086531@0] reg:2623,clearmask=7000,setmask=7 [ 3.091113@0] reg:2620,clearmask=200020,setmask=1 [ 3.095797@0] reg:2622,clearmask=ff00,set pin=49 [ 3.100385@0] reg:2623,clearmask=700000,setmask=7 [ 3.105490@0] pdata->caps 10f [ 3.108015@0] pdata->caps2 0 [ 3.110874@0] get property: port, value:0x00000000 [ 3.117481@0] get property: ocr_avail, value:0x00200000 [ 3.123927@0] get property: f_min, value:0x000493e0 [ 3.130356@0] get property: f_max, value:0x02faf080 [ 3.136969@0] get property: max_req_size, value:0x00020000 [ 3.143401@0] get property: pinname, str:sdio [ 3.149145@0] get property: card_type, value:0x00000003 [ 3.251066@0] [aml_sdio_probe] aml_sdio_probe() success! [ 3.252675@0] host->base fe108e00 [ 3.254166@0] pdata->caps 80000547 [ 3.257443@0] pdata->caps2 0 [ 3.260300@0] get property: port, value:0x00000005 [ 3.266910@0] get property: ocr_avail, value:0x00200000 [ 3.273397@0] get property: f_min, value:0x000493e0 [ 3.279783@0] get property: f_max, value:0x02faf080 [ 3.286329@0] get property: max_req_size, value:0x00020000 [ 3.292864@0] get property: pinname, str:emmc [ 3.298573@0] get property: card_type, value:0x00000001 [ 3.305131@0] get property: gpio_dat3, str:BOOT_3 [ 3.311093@0] [is_emmc_exist] host->storage_flag=0, POR_BOOT_VALUE=7 [ 3.317411@0] [aml_sdhc_probe]: there is not eMMC/tsd, skip sdhc_c dts config! [ 3.324670@0] pdata->caps 78107 [ 3.327664@0] pdata->caps2 0 [ 3.330523@0] get property: port, value:0x00000003 [ 3.337097@0] get property: ocr_avail, value:0x00200000 [ 3.343562@0] get property: f_min, value:0x000493e0 [ 3.350006@0] get property: f_max, value:0x02faf080 [ 3.356578@0] get property: max_req_size, value:0x00020000 [ 3.363056@0] get property: pinname, str:sdio [ 3.368797@0] get property: card_type, value:0x00000003 [ 3.375435@0] ------------[ cut here ]------------ [ 3.380068@0] WARNING: at /service2/ambox/m8_kitkat44_20150414/common/fs/sysfs/dir.c:530 sysfs_add_one+0x78/0x98() [ 3.390413@0] sysfs: cannot create duplicate filename '/class/mmc_host/sdio' [ 3.397459@0] Modules linked in: [ 3.400578@0] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.33 #1 [ 3.406812@0] [<c00149c8>] (unwind_backtrace+0x0/0xf8) from [<c0011aac>] (show_stack+0x10/0x14) [ 3.415482@0] [<c0011aac>] (show_stack+0x10/0x14) from [<c002d4b8>] (warn_slowpath_common+0x4c/0x6c) [ 3.424544@0] [<c002d4b8>] (warn_slowpath_common+0x4c/0x6c) from [<c002d56c>] (warn_slowpath_fmt+0x30/0x40) [ 3.434263@0] [<c002d56c>] (warn_slowpath_fmt+0x30/0x40) from [<c011f228>] (sysfs_add_one+0x78/0x98) [ 3.443334@0] [<c011f228>] (sysfs_add_one+0x78/0x98) from [<c011fdd4>] (sysfs_do_create_link_sd+0xec/0x1fc) [ 3.453063@0] [<c011fdd4>] (sysfs_do_create_link_sd+0xec/0x1fc) from [<c0283f9c>] (device_add+0x20c/0x5b0) [ 3.462651@0] [<c0283f9c>] (device_add+0x20c/0x5b0) from [<c0379fe0>] (mmc_add_host+0x2c/0x78) [ 3.471222@0] [<c0379fe0>] (mmc_add_host+0x2c/0x78) from [<c049cae0>] (aml_sdhc_probe+0x5cc/0x870) [ 3.480124@0] [<c049cae0>] (aml_sdhc_probe+0x5cc/0x870) from [<c0287614>] (platform_drv_probe+0x14/0x18) [ 3.489575@0] [<c0287614>] (platform_drv_probe+0x14/0x18) from [<c028644c>] (driver_probe_device+0xc4/0x20c) [ 3.499379@0] [<c028644c>] (driver_probe_device+0xc4/0x20c) from [<c02865fc>] (__driver_attach+0x68/0x8c) [ 3.508871@0] [<c02865fc>] (__driver_attach+0x68/0x8c) from [<c0284bb8>] (bus_for_each_dev+0x4c/0x8c) [ 3.518089@0] [<c0284bb8>] (bus_for_each_dev+0x4c/0x8c) from [<c0285bb4>] (bus_add_driver+0xcc/0x234) [ 3.527238@0] [<c0285bb4>] (bus_add_driver+0xcc/0x234) from [<c0286b48>] (driver_register+0xa0/0x13c) [ 3.536445@0] [<c0286b48>] (driver_register+0xa0/0x13c) from [<c0008554>] (do_one_initcall+0x94/0x144) [ 3.545674@0] [<c0008554>] (do_one_initcall+0x94/0x144) from [<c09c9b6c>] (kernel_init_freeable+0x100/0x1cc) [ 3.555504@3] [<c09c9b6c>] (kernel_init_freeable+0x100/0x1cc) from [<c06b8388>] (kernel_init+0x8/0xe4) [ 3.564690@3] [<c06b8388>] (kernel_init+0x8/0xe4) from [<c000e1d8>] (ret_from_fork+0x14/0x3c) [ 3.573172@3] ---[ end trace 1077898f3bde87da ]--- [ 3.577956@3] [aml_sdhc_probe] Failed to add mmc host. [aml_sdhc_probe] aml_sdhc_probe() fail! [ 3.587787@1] aml_sdhc: probe of aml_sdhc.0 failed with error -17 [ 3.594007@1] [dsp]DSP start addr 0xc5e00000 [ 3.598106@1] [dsp]register dsp to char divece(257) [ 3.603470@1] amlogic audio spdif interface device init! [ 3.608307@1] name=nand_key nand_key [ 3.612423@1] register_aes_algorithm:488,new way [ 3.616394@1] unkown current key-name,key_read_show:1396 [ 3.621649@1] get keyexample fail, aml_rtc_probe:750 [ 3.627430@1] aml_rtc rtc.0: rtc core: registered aml_rtc as rtc0 [ 3.634485@1] vdin_drv_init: major 230 [ 3.636511@1] amvdec_656in module: init. [ 3.640242@1] amvdec_656in_init_module:major 229 [ 3.645310@1] amvdec_656in probe ok. [ 3.648804@1] amvdec_csi probe ok. [ 3.651825@1] [viuin..]viuin_init_module viuin module init [ 3.657452@1] [viuin..]viuin_probe probe ok. [ 3.662852@1] amaudio2: device amaudio2 created [ 3.666231@1] wifi_power power_gpio is 6 [ 3.669857@1] wifi_power power_gpio2 is 108 [ 3.674367@1] amlogic rfkill init [ 3.677391@1] not get gpio_en [ 3.680242@1] not get gpio_wake [ 3.711177@1] wifi_request_32k_clk : no 32k pincam_devs num is 5 [ 3.821694@1] camera ar0543 is not support [ 3.821788@1] cam_devs num is 5 [ 3.824896@1] camera ov5647 is not support [ 3.828974@1] cam_devs num is 5 [ 3.832107@1] camera ar0833 is not support [ 3.836834@1] aml_hw_crypto initialization. [ 3.841366@1] usbcore: registered new interface driver snd-usb-audio [ 3.847116@1] enter rt5616_modinit [ 3.850214@1] dummy_codec_platform_probe [ 3.854227@1] == ES8323 == es8323_modinit() [ 3.858827@1] i2s get no clk src setting in dts, use the default mpll 0 [ 3.864767@1] [aml-i2s-dai]enterd aml_i2s_dai_probe,old_samplerate:0,sample_rate=48000 [ 3.872945@1] [aml-spdif-dai]enter aml_dai_spdif_init [ 3.877719@1] [aml-spdif-dai]enterd aml_spdif_play,set_clock:-1,sample_rate=4 [ 3.884870@1] audio_set_958_clk, freq=4, [ 3.888718@1] IEC958 16bit [ 3.891420@1] hdmitx: audio: aout notify rate 48000 [ 3.896245@1] hdmitx: audio: aout notify size 16 [ 3.900835@1] hdmitx: audio: aout notify format CT_PCM [ 3.906072@1] [aml-spdif-dai]aml_spdif_probe [ 3.910474@1] test codec rt5616 [ 3.913417@1] test_codec_of_node, node rt5616 disable [ 3.918412@1] test codec rt5631 [ 3.921546@1] test_codec_of_node, node rt5631 disable [ 3.926551@1] test codec wm8960 [ 3.929668@1] test_codec_of_node, node wm8960 disable [ 3.934719@1] test codec dummy_codec [ 3.938242@1] using external codec, index = 4 [ 3.942586@1] using external dummy codec [ 3.946642@1] enter spdif_dit_probe [ 3.950016@1] aml_spdif_unmute [ 3.953365@1] codec_name = dummy_codec.0 [ 3.957700@1] p_aml_audio->hp_disable=1 [ 3.960841@1] falied to get spk event delay time paraments from dts file [ 3.967536@1] spk_event delay_time = 0 [ 3.972527@1] aml-i2s 0:playback preallocate_dma_buffer: area=dd300000, addr=1d500000, size=524288 [ 3.980650@1] aml-i2s 1:capture preallocate_dma_buffer: area=dd240000, addr=1d440000, size=65536 [ 3.988954@1] aml_snd_m8 aml_m8_sound_card.4: dummy_codec <-> aml-i2s-dai.0 mapping ok [ 3.998649@1] aml-i2s 0:playback preallocate_dma_buffer: area=dd400000, addr=1d600000, size=524288 [ 4.006269@1] aml-i2s 1:capture preallocate_dma_buffer: area=dd260000, addr=1d460000, size=65536 [ 4.014581@1] aml_snd_m8 aml_m8_sound_card.4: dit-hifi <-> aml-spdif-dai.0 mapping ok [ 4.024229@1] -----ext_codec=1--- [ 4.025716@1] =aml_m8_pinmux_init==,aml_m8_pinmux_init done,---0 [ 4.031915@1] GACT probability NOT on [ 4.035313@1] Mirror/redirect action on [ 4.039118@1] u32 classifier [ 4.041995@1] Actions configured [ 4.045527@1] Netfilter messages via NETLINK v0.30. [ 4.050441@1] nf_conntrack version 0.5.0 (5448 buckets, 21792 max) [ 4.057313@1] ctnetlink v0.93: registering with nfnetlink. [ 4.062081@1] NF_TPROXY: Transparent proxy support initialized, version 4.1.0 [ 4.069075@1] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd. [ 4.075569@1] xt_time: kernel timezone is -0000 [ 4.079945@1] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.085300@1] arp_tables: (C) 2002 David S. Miller [ 4.089842@1] TCP: cubic registered [ 4.093965@1] NET: Registered protocol family 10 [ 4.098943@1] mip6: Mobile IPv6 [ 4.100979@1] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 4.106817@1] sit: IPv6 over IPv4 tunneling driver [ 4.112650@1] NET: Registered protocol family 17 [ 4.115869@1] NET: Registered protocol family 15 [ 4.120521@1] Bridge firewalling registered [ 4.124769@1] Bluetooth: RFCOMM TTY layer initialized [ 4.129635@1] Bluetooth: RFCOMM socket layer initialized [ 4.134985@1] Bluetooth: RFCOMM ver 1.11 [ 4.138782@1] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 4.144255@1] Bluetooth: BNEP filters: protocol multicast [ 4.149620@1] Bluetooth: BNEP socket layer initialized [ 4.154731@1] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 4.160785@1] Bluetooth: HIDP socket layer initialized [ 4.165930@1] NET: Registered protocol family 35 [ 4.171711@1] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1 [ 4.178290@1] Registering SWP/SWPB emulation handler [ 4.183221@1] enter meson_pm_init [ 4.187143@1] enter meson_pm_probe! [ 4.189979@1] hdmi: cec_pm: cec config:0xf [ 4.194043@1] meson_pm_probe done ! [ 4.197528@1] AO cpu runs ok. [ 4.201549@1] ERROR::usb_gadget_probe_driver:1372: usb_gadget_register_driver ENODEV [ 4.201549@1] [ 4.209782@1] init: failed to probe driver -19AO cpu stop ok. [ 4.215874@1] AO cpu runs ok. [ 4.218477@1] aml_rtc rtc.0: setting system clock to 2020-04-09 10:44:42 UTC (1586429082) [ 4.226629@1] ### dt-test ### No testcase data in device tree; not running tests [ 4.234123@1] meson_cpufreq_probe:SYSPLL request to be fixed [ 4.239569@1] meson_cpufreq: no voltage_control prop [ 4.244524@1] voltage_control = 0 [ 4.249187@1] <<-GTP-INFO->> GTP driver installing... [ 4.252951@1] hdmitx: cec: CEC init [ 4.256476@1] input: cec_input as /devices/virtual/input/input2 [ 4.262194@2] hdmitx: cec: CEC task process [ 4.262362@1] hdmitx: cec: hdmitx_device->cec_init_ready:0x1 [ 4.262363@1] ALSA device list: [ 4.262366@1] #0: AML-M8AUDIO [ 4.278488@1] VFS: Cannot open root device "data" or unknown-block(0,0): error -6 [ 4.285651@1] Please append a correct "root=" boot option; here are the available partitions: [ 4.294140@1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 4.302518@1] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G W 3.10.33 #1 [ 4.309635@1] [<c00149c8>] (unwind_backtrace+0x0/0xf8) from [<c0011aac>] (show_stack+0x10/0x14) [ 4.318285@1] [<c0011aac>] (show_stack+0x10/0x14) from [<c06bcedc>] (panic+0x90/0x1ec) [ 4.326163@1] [<c06bcedc>] (panic+0x90/0x1ec) from [<c09c9f24>] (mount_block_root+0x1e0/0x298) [ 4.334732@1] [<c09c9f24>] (mount_block_root+0x1e0/0x298) from [<c09ca16c>] (prepare_namespace+0x12c/0x18c) [ 4.344429@1] [<c09ca16c>] (prepare_namespace+0x12c/0x18c) from [<c09c9bf0>] (kernel_init_freeable+0x184/0x1cc) [ 4.354473@1] [<c09c9bf0>] (kernel_init_freeable+0x184/0x1cc) from [<c06b8388>] (kernel_init+0x8/0xe4) [ 4.363739@1] [<c06b8388>] (kernel_init+0x8/0xe4) from [<c000e1d8>] (ret_from_fork+0x14/0x3c) [ 4.372222@3] CPU3: stopping [ 4.375079@3] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G W 3.10.33 #1 [ 4.382186@3] [<c00149c8>] (unwind_backtrace+0x0/0xf8) from [<c0011aac>] (show_stack+0x10/0x14) [ 4.390841@3] [<c0011aac>] (show_stack+0x10/0x14) from [<c0013294>] (handle_IPI+0xc4/0x180) [ 4.399152@3] [<c0013294>] (handle_IPI+0xc4/0x180) from [<c0008474>] (gic_handle_irq+0x54/0x5c) [ 4.407812@3] [<c0008474>] (gic_handle_irq+0x54/0x5c) from [<c000dd00>] (__irq_svc+0x40/0x70) [ 4.416293@3] Exception stack(0xdb28dfa0 to 0xdb28dfe8) [ 4.421492@3] dfa0: 00000003 00000000 00000256 00000000 db28c000 c0a16550 c06ceb34 c0a7866e [ 4.429803@3] dfc0: c0a7866e 410fc051 00000001 00000000 00000000 db28dfe8 c000f4c4 c000f4c8 [ 4.438113@3] dfe0: 60000113 ffffffff [ 4.441755@3] [<c000dd00>] (__irq_svc+0x40/0x70) from [<c000f4c8>] (arch_cpu_idle+0x24/0x2c) [ 4.450157@3] [<c000f4c8>] (arch_cpu_idle+0x24/0x2c) from [<c0065f90>] (cpu_startup_entry+0xe8/0x140) [ 4.459333@3] [<c0065f90>] (cpu_startup_entry+0xe8/0x140) from [<008ba1c4>] (0x8ba1c4) [ 4.467208@0] CPU0: stopping [ 4.470066@0] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.10.33 #1 [ 4.477173@0] [<c00149c8>] (unwind_backtrace+0x0/0xf8) from [<c0011aac>] (show_stack+0x10/0x14) [ 4.485828@0] [<c0011aac>] (show_stack+0x10/0x14) from [<c0013294>] (handle_IPI+0xc4/0x180) [ 4.494139@0] [<c0013294>] (handle_IPI+0xc4/0x180) from [<c0008474>] (gic_handle_irq+0x54/0x5c) [ 4.502798@0] [<c0008474>] (gic_handle_irq+0x54/0x5c) from [<c000dd00>] (__irq_svc+0x40/0x70) [ 4.511280@0] Exception stack(0xc0a03f70 to 0xc0a03fb8) [ 4.516477@0] 3f60: 00000000 00000000 0000a29e 00000000 [ 4.524791@0] 3f80: c0a02000 c0a16550 c06ceb34 c0a7866e c0a7866e 410fc051 00000001 00000000 [ 4.533102@0] 3fa0: 00000000 c0a03fb8 c000f4c4 c000f4c8 60000113 ffffffff [ 4.539859@0] [<c000dd00>] (__irq_svc+0x40/0x70) from [<c000f4c8>] (arch_cpu_idle+0x24/0x2c) [ 4.548259@0] [<c000f4c8>] (arch_cpu_idle+0x24/0x2c) from [<c0065f90>] (cpu_startup_entry+0xe8/0x140) [ 4.557436@0] [<c0065f90>] (cpu_startup_entry+0xe8/0x140) from [<c09c9a18>] (start_kernel+0x2a8/0x2fc) [ 4.566700@0] [<c09c9a18>] (start_kernel+0x2a8/0x2fc) from [<00208070>] (0x208070) [ 4.574230@2] CPU2: stopping [ 4.577089@2] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G W 3.10.33 #1 [ 4.584196@2] [<c00149c8>] (unwind_backtrace+0x0/0xf8) from [<c0011aac>] (show_stack+0x10/0x14) [ 4.592851@2] [<c0011aac>] (show_stack+0x10/0x14) from [<c0013294>] (handle_IPI+0xc4/0x180) [ 4.601162@2] [<c0013294>] (handle_IPI+0xc4/0x180) from [<c0008474>] (gic_handle_irq+0x54/0x5c) [ 4.609821@2] [<c0008474>] (gic_handle_irq+0x54/0x5c) from [<c000dd00>] (__irq_svc+0x40/0x70) [ 4.618303@2] Exception stack(0xdb28bfa0 to 0xdb28bfe8) [ 4.623501@2] bfa0: 00000002 00000000 000003a2 00000000 db28a000 c0a16550 c06ceb34 c0a7866e [ 4.631814@2] bfc0: c0a7866e 410fc051 00000001 00000000 00000000 db28bfe8 c000f4c4 c000f4c8 [ 4.640123@2] bfe0: 60000113 ffffffff [ 4.643765@2] [<c000dd00>] (__irq_svc+0x40/0x70) from [<c000f4c8>] (arch_cpu_idle+0x24/0x2c) [ 4.652165@2] [<c000f4c8>] (arch_cpu_idle+0x24/0x2c) from [<c0065f90>] (cpu_startup_entry+0xe8/0x140) [ 4.661341@2] [<c0065f90>] (cpu_startup_entry+0xe8/0x140) from [<008ba1c4>] (0x8ba1c4) It is clear that the internal nand has not been recognized : [ 4.278488@1] VFS: Cannot open root device "data" or unknown-block(0,0): error -6 [ 4.285651@1] Please append a correct "root=" boot option; here are the available partitions: I also double checked if really I transferred my modified uInitrd with right driver in the internal nand /dev/boot abootimg -i /dev/boot > aboot.txt abootimg -x /dev/boot and yes it is mine uInitrd My question is: why if I boot from SD it boots and recognizes internal nand partition and when I boot from internal nand with same uInitrd the partitions don't exist anymore ? Is there a way for letting init wait and be sure that aml_nftl_dev.ko is loaded, internal nand recognized and then go on? some sleep, some wait, some early-init? Thanks in adavence
Recommended Posts