求问:V851SE Tinyvision 修改为SPI NAND flash 没有root登录
-
U-Boot 2018.05-g3a34d5f-dirty (Jun 03 2025 - 05:56:56 -0400) Allwinner Technology [00.697]CPU: Allwinner Family [00.700]Model: sun8iw21 I2C: [I2C-ERROR]:twi_send_clk_9pulse() 147 SDA is still Stuck Low, failed. ready [00.760]DRAM: 64 MiB [00.763]Relocation Offset is: 01eef000 [00.792]secure enable bit: 0 E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND [00.806]smc_tee_inform_fdt failed with: ffff0000 [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.816]pmu_axp2101_probe pmic_bus_read fail [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.825]bmu_axp2101_probe pmic_bus_read fail [00.829]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [00.835]gic: sec monitor mode sunxi flash map init [00.840]flash init start [00.842]workmode = 0,storage type = 2 [00.845][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.851][mmc]: get sdc_type fail and use default host:tm4. [00.857][mmc]: get sdly from uboot header fail [00.862][mmc]: Is not EXT_PARA0_ID or EXT_PARA0_TUNING_SUCCESS_FLAG! [00.867][mmc]: SUNXI SDMMC Controller Version:0x50400 [00.887][mmc]: card_caps:0x3000000a [00.890][mmc]: host_caps:0x7000003f [00.893][mmc]: read mmc 2 info ok [00.896]sunxi flash init ok [00.899]line:724 init_clocks [00.906]Loading Environment from SUNXI_FLASH... OK [00.933]Item0 (Map) magic is bad [00.936]the secure storage item0 copy0 magic is bad [00.945]Item0 (Map) magic is bad [00.948]the secure storage item0 copy1 magic is bad [00.953]Item0 (Map) magic is bad [00.956]out of usb burn from boot: not need burn key root_partition is rootfs set root to /dev/mmcblk0p4 [00.965]update part info [00.968]update bootcmd [00.971]change working_fdt 0x42aaee70 to 0x42a8ee70 [00.977][mmc]: no mmc-hs400-1_8v! [00.980][mmc]: no mmc-hs200-1_8v! [00.983][mmc]: no mmc-ddr-1_8v! disable nand error: FDT_ERR_BADPATH [00.993]The storage not support sample function [00.999]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [01.004]update dts Hit any key to stop autoboot: 0 input addr exceed dram scope [02.470]no vendor_boot partition is found Android's image name: sun8i_arm [02.530]Starting kernel ... [02.533][mmc]: mmc exit start [02.546][mmc]: mmc 2 exit ok [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.191 (book@100ask) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #31 PREEMPT Tue Jun 3 05:57:23 EDT 2025 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: sun8iw21 [ 0.000000] ion_mem_reserve: err format for ion reserve list! [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat c0a40398, node_mem_map c3f78000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/init partitions=boot-res@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:UDISK@mmcblk0p6 cma= mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=16K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw21p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2018.05-g3a34d5f-dirty(06/03/2025-05:56:56) mbr_offset=1032192 bootreason=button androidboot.dramsize=64 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 54796K/65536K available (6144K kernel code, 260K rwdata, 1340K rodata, 1024K init, 147K bss, 10740K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB) [ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB) [ 0.000000] .data : 0xc0a00000 - 0xc0a413b8 ( 261 kB) [ 0.000000] .bss : 0xc0a413b8 - 0xc0a66088 ( 148 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000020] Switching to timer-based delay loop, resolution 41ns [ 0.000203] Console: colour dummy device 80x30 [ 0.000232] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000246] pid_max: default: 32768 minimum: 301 [ 0.000446] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000459] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001029] CPU: Testing write buffer coherency: ok [ 0.001661] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.003392] devtmpfs: initialized [ 0.035097] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.035676] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.035708] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.035857] atomic64_test: passed [ 0.035870] pinctrl core: initialized pinctrl subsystem [ 0.037054] NET: Registered protocol family 16 [ 0.037642] DMA: preallocated 16 KiB pool for atomic coherent allocations [ 0.039006] dump_class_init,857, success [ 0.069586] cpuidle: using governor menu [ 0.070915] platform 2010000.iommu: iova_base: 0x48400000 [ 0.071465] sunxi iommu: irq = 22 [ 0.092126] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver [ 0.095156] iommu: Adding device npu to group 0 [ 0.097213] iommu: Adding device 1c0e000.ve to group 0 [ 0.108438] iommu: Adding device 5410000.g2d to group 0 [ 0.109272] iommu: Adding device 5000000.disp to group 0 [ 0.120440] iommu: Adding device 5908000.tdm to group 0 [ 0.121209] iommu: Adding device 5900000.isp to group 0 [ 0.122160] iommu: Adding device 58ffffc.isp to group 0 [ 0.123085] iommu: Adding device 58ffff8.isp to group 0 [ 0.123823] iommu: Adding device 58ffff4.isp to group 0 [ 0.124459] iommu: Adding device 5800800.vind:isp@4 to group 0 [ 0.125178] iommu: Adding device 5910000.scaler to group 0 [ 0.125893] iommu: Adding device 590fffc.scaler to group 0 [ 0.126394] iommu: Adding device 590fff8.scaler to group 0 [ 0.127019] iommu: Adding device 590fff4.scaler to group 0 [ 0.127873] iommu: Adding device 5910400.scaler to group 0 [ 0.128642] iommu: Adding device 59103fc.scaler to group 0 [ 0.129118] iommu: Adding device 59103f8.scaler to group 0 [ 0.130095] iommu: Adding device 59103f4.scaler to group 0 [ 0.130871] iommu: Adding device 5910800.scaler to group 0 [ 0.131584] iommu: Adding device 59107fc.scaler to group 0 [ 0.132073] iommu: Adding device 59107f8.scaler to group 0 [ 0.132665] iommu: Adding device 59107f4.scaler to group 0 [ 0.133530] iommu: Adding device 5910c00.scaler to group 0 [ 0.134244] iommu: Adding device 5910bfc.scaler to group 0 [ 0.134861] iommu: Adding device 5910bf8.scaler to group 0 [ 0.135514] iommu: Adding device 5910bf4.scaler to group 0 [ 0.136718] iommu: Adding device vinc0 to group 0 [ 0.137591] iommu: Adding device vinc4 to group 0 [ 0.138556] iommu: Adding device vinc8 to group 0 [ 0.139482] iommu: Adding device vinc12 to group 0 [ 0.184635] pwm module init! [ 0.189315] sunxi-pm debug v3.10 [ 0.193630] SCSI subsystem initialized [ 0.194488] usbcore: registered new interface driver usbfs [ 0.194690] usbcore: registered new interface driver hub [ 0.194863] usbcore: registered new device driver usb [ 0.195182] sunxi_i2c_adap_init()2754 - init [ 0.195410] sun8iw21p1-pinctrl pio: expect_func as:twi6, but muxsel(4) is func:twi3 [ 0.195428] sun8iw21p1-pinctrl pio: expect_func as:twi6, but muxsel(4) is func:twi3 [ 0.195742] sunxi_i2c_probe()2449 - [i2c3] twi_drv_used = 0 [ 0.195759] sunxi_i2c_probe()2456 - [i2c3] twi_pkt_interval = 0 [ 0.195826] twi_regulator_request()653 - [i2c3] regulator not found(isn't configured in dts)! [ 0.195837] twi_request_gpio()469 - [i2c3] init name: (null) [ 0.197313] media: Linux media interface: v0.10 [ 0.197531] Linux video capture interface: v2.00 [ 0.200849] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.201218] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.202611] Advanced Linux Sound Architecture Driver Initialized. [ 0.203599] Bluetooth: Core ver 2.22 [ 0.203790] NET: Registered protocol family 31 [ 0.203802] Bluetooth: HCI device and connection manager initialized [ 0.203827] Bluetooth: HCI socket layer initialized [ 0.203842] Bluetooth: L2CAP socket layer initialized [ 0.203909] Bluetooth: SCO socket layer initialized [ 0.206993] G2D: rcq version initialized.major:251 [ 0.208403] clocksource: Switched to clocksource arch_sys_counter [ 0.240313] udc_init,0 [ 0.242884] NET: Registered protocol family 2 [ 0.258795] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.258818] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.258829] TCP: Hash tables configured (established 16 bind 16) [ 0.258906] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.258926] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.259171] NET: Registered protocol family 1 [ 0.263247] workingset: timestamp_bits=29 max_order=14 bucket_order=0 [ 0.280513] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.281133] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.283455] io scheduler noop registered [ 0.283474] io scheduler deadline registered [ 0.283757] io scheduler cfq registered (default) [ 0.287769] uart0 supply uart not found, using dummy regulator [ 0.288036] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI [ 0.288071] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n [ 1.226318] console [ttyS0] enabled [ 1.231686] misc dump reg init [ 1.235851] npu[1][1] vipcore, platform driver device=0xc39d4010 [ 1.242917] npu[1][1] vipcore irq number is 290. [ 1.248066] gckvip_drv_adjust_param 232 SUCCESS [ 1.253248] the freq of pll_npux4 clk is fixed [ 1.258208] Want set pclk rate(348000000) support(1392000000) real(1392000000) [ 1.266409] Want set mclk rate(348000000) support(348000000) real(348000000) [ 1.274363] npu[1][1] This device support 64bits DMA [ 1.280485] npu[1][1] core_0, request irqline=290, name=vipcore_0 [ 1.287357] npu[1][1] =======vipcore parameter===== [ 1.293032] npu[1][1] registerMemBase 0x03050000, [ 1.298830] npu[1][1] registerMemSize 0x00020000, [ 1.304556] npu[1][1] irqLine 0x00000122, [ 1.310322] npu[1][1] contiguousSize 0x02000000 [ 1.315853] npu[1][1] contiguousBase 0x30000000 [ 1.321462] npu[1][1] vipContiguousBase 0x0 [ 1.326317] npu[1][1] drvType 0x00000000 [ 1.331882] npu[1][1] AXISramSize 0x00000000 [ 1.337415] npu[1][1] AXISramBaseAddress 0x00000000 [ 1.342974] npu[1][1] VIPSramSize 0x00020000 [ 1.348519] npu[1][1] VIPSramBaseAddress 0x00400000 [ 1.354052] npu[1][1] sysHeapSize 0x00200000 [ 1.359593] npu[1][1] =============================== [ 1.365312] npu[1][1] VIPLite driver version 1.8.0.0-AW-2022-04-21 [ 1.374964] libphy: Fixed MDIO Bus: probed [ 1.381227] sunxi gmac driver's version: 2.0.2 [ 1.388669] Failed to alloc md5 [ 1.392190] eth0: Use random mac address [ 1.397127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.404919] get ehci0-controller, regulator_io is no nocare [ 1.411417] get ehci0-controller wakeup-source is fail. [ 1.417438] sunxi ehci0-controller don't init wakeup source [ 1.423750] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0a5a388, 0x:c4834000, irq_no:12f [ 1.435831] [sunxi-ehci0]: Not init ehci0 [ 1.440786] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.448097] get ohci0-controller, regulator_io is no nocare [ 1.454525] get ohci0-controller wakeup-source is fail. [ 1.460605] sunxi ohci0-controller don't init wakeup source [ 1.466915] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0a5a5ac [ 1.476592] [sunxi-ohci0]: Not init ohci0 [ 1.481785] usbcore: registered new interface driver uas [ 1.488144] usbcore: registered new interface driver usb-storage [ 1.495139] usbcore: registered new interface driver ums-alauda [ 1.502096] usbcore: registered new interface driver ums-cypress [ 1.509220] usbcore: registered new interface driver ums-datafab [ 1.516203] usbcore: registered new interface driver ums_eneub6250 [ 1.523408] usbcore: registered new interface driver ums-freecom [ 1.530451] usbcore: registered new interface driver ums-isd200 [ 1.537373] usbcore: registered new interface driver ums-jumpshot [ 1.544510] usbcore: registered new interface driver ums-karma [ 1.551429] usbcore: registered new interface driver ums-onetouch [ 1.558629] usbcore: registered new interface driver ums-realtek [ 1.565511] usbcore: registered new interface driver ums-sddr09 [ 1.572461] usbcore: registered new interface driver ums-sddr55 [ 1.579420] usbcore: registered new interface driver ums-usbat [ 1.586043] usb_serial_number:20080411 [ 1.591366] sunxi_gpadc_init,1949, success [ 1.596359] sunxi_gpadc_setup: get channel scan data failed [ 1.604224] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 1.613534] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.620797] sunxi-rtc rtc: RTC enabled [ 1.625058] fix to cold boot, save boot reason [ 1.630576] i2c /dev entries driver [ 1.635222] sunxi cedar version 0.1 [ 1.639562] VE: install start!!! [ 1.639562] [ 1.644999] VE: cedar-ve the get irq is 291 [ 1.649941] VE: regs_csi = c486d000 [ 1.654514] VE: ve_debug_proc_info:c0a5db3c, data:c3ba4000, lock:c0a5dbc4, flag: 1 [ 1.654514] [ 1.664925] VE: install end!!! [ 1.664925] [ 1.670517] google_vp9: sunxi google vp9 version 0.1 [ 1.679105] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.689022] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903 [ 1.696329] Bluetooth: HCI UART protocol H4 registered [ 1.702337] Bluetooth: HCI H4 protocol initialized [ 1.707951] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07 [ 1.715777] bt_fdi debugfs_init [ 1.721446] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 900000 KHz [ 1.758502] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 912000 KHz [ 1.768874] cpuidle: enable-method property 'psci' found operations [ 1.778685] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 1.787661] sunxi-mmc sdc2: ***ctl-spec-caps*** 8 [ 1.793292] sunxi-mmc sdc2: No vmmc regulator found [ 1.798907] sunxi-mmc sdc2: No vqmmc regulator found [ 1.804473] sunxi-mmc sdc2: No vdmmc regulator found [ 1.810111] sunxi-mmc sdc2: No vd33sw regulator found [ 1.815772] sunxi-mmc sdc2: No vd18sw regulator found [ 1.821467] sunxi-mmc sdc2: No vq33sw regulator found [ 1.827125] sunxi-mmc sdc2: No vq18sw regulator found [ 1.833403] sunxi-mmc sdc2: set host busy [ 1.837983] mmc:failed to get gpios [ 1.842336] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.852820] sunxi-mmc sdc2: no vqmmc,Check if there is regulator [ 1.888436] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.928448] sunxi-mmc sdc2: detmode:alway in(non removable) [ 1.928481] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.936851] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.937929] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.948747] sunxi-mmc sdc2: smc 0 p2 err, cmd 1, RTO !! [ 1.948812] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 1.949919] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.950004] sunxi-mmc sdc2: no vqmmc,Check if there is regulator [ 1.987784] sunxi-mmc sdc2: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.015796] sunxi-mmc sdc2: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.028721] sunxi-mmc sdc2: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.029825] sunxi-mmc sdc2: sdc set ios:clk 300000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.040641] sunxi-mmc sdc2: smc 0 p2 err, cmd 1, RTO !! [ 2.040674] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.041787] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.041878] sunxi-mmc sdc2: no vqmmc,Check if there is regulator [ 2.068791] sunxi-mmc sdc2: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.097335] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 2.106211] sunxi-mmc sdc2: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.119158] sunxi-mmc sdc2: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.120271] sunxi-mmc sdc2: sdc set ios:clk 200000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.131104] sunxi-mmc sdc2: smc 0 p2 err, cmd 1, RTO !! [ 2.131139] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.132249] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.132356] sunxi-mmc sdc2: no vqmmc,Check if there is regulator [ 2.159261] sunxi-mmc sdc2: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.187310] sunxi-mmc sdc0: ***ctl-spec-caps*** 8 [ 2.192645] sunxi-mmc sdc2: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.205670] sunxi-mmc sdc2: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.206826] sunxi-mmc sdc2: sdc set ios:clk 100000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.217737] sunxi-mmc sdc2: smc 0 p2 err, cmd 1, RTO !! [ 2.217773] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.245778] sunxi-mmc sdc0: No vmmc regulator found [ 2.251324] sunxi-mmc sdc0: No vqmmc regulator found [ 2.256885] sunxi-mmc sdc0: No vdmmc regulator found [ 2.262467] sunxi-mmc sdc0: No vd33sw regulator found [ 2.268122] sunxi-mmc sdc0: No vd18sw regulator found [ 2.273790] sunxi-mmc sdc0: No vq33sw regulator found [ 2.279457] sunxi-mmc sdc0: No vq18sw regulator found [ 2.285701] sunxi-mmc sdc0: set host busy [ 2.290365] sunxi-mmc sdc0: Got CD GPIO [ 2.295197] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.348764] random: fast init done [ 2.548523] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.578425] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.618669] sunxi-mmc sdc0: detmode:gpio irq [ 2.625012] usbcore: registered new interface driver usbhid [ 2.631622] usbhid: USB HID core driver [ 2.640180] sun8iw21p1-pinctrl pio: expect_func as:dmic, but muxsel(7) is func:i2s1 [ 2.649559] sun8iw21p1-pinctrl pio: expect_func as:dmic, but muxsel(7) is func:i2s1 [ 2.658160] sun8iw21p1-pinctrl pio: expect_func as:dmic, but muxsel(7) is func:i2s1 [ 2.666919] sun8iw21p1-pinctrl pio: expect_func as:dmic, but muxsel(7) is func:i2s1 [ 2.675640] sun8iw21p1-pinctrl pio: expect_func as:dmic, but muxsel(7) is func:i2s1 [ 2.684875] [sound 676][DMIC snd_sunxi_dts_params_init] rx-fifo-size miss,using default value [ 2.695622] sun8iw21p1-pinctrl pio: pin PE7 already requested by 2031000.dmic_plat; cannot claim for 2033000.daudio1_plat [ 2.708238] sun8iw21p1-pinctrl pio: pin-135 (2033000.daudio1_plat) status -22 [ 2.716320] sun8iw21p1-pinctrl pio: could not request pin 135 (PE7) from group PE7 on device pio [ 2.726304] sunxi-snd-plat-daudio 2033000.daudio1_plat: Error applying setting, reverse things back [ 2.736527] sunxi-snd-plat-daudio: probe of 2033000.daudio1_plat failed with error -22 [ 2.746769] sunxi-snd-mach soc@03000000:dmic_mach: snd-soc-dummy-dai <-> 2031000.dmic_plat mapping ok [ 2.761544] NET: Registered protocol family 10 [ 2.768674] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 2.776738] NET: Registered protocol family 17 [ 2.782053] NET: Registered protocol family 15 [ 2.787166] Bluetooth: RFCOMM TTY layer initialized [ 2.792939] Bluetooth: RFCOMM socket layer initialized [ 2.798901] Bluetooth: RFCOMM ver 1.11 [ 2.804358] Registering SWP/SWPB emulation handler [ 2.819414] get det_vbus is fail, 84 [ 2.823447] get id is fail, 84 [ 2.828120] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:05 UTC (5) [ 2.836330] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.848151] clk: Not disabling unused clocks [ 2.853176] ALSA device list: [ 2.856510] #0: snddmic [ 2.859887] Waiting for root device /dev/mmcblk0p4... [ 3.848418] [ 3.848418] insmod_device_driver [ 3.848418] [ 3.855941] device_chose finished 122! [ 15.370906] random: crng init done```
-
@jaying 在 求问:V851SE Tinyvision 修改为SPI NAND flash 没有root登录 中说:
Kernel command line:"root=/dev/mmcblk0p4 rootwait init=/init partitions=boot-res@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:UDISK@mmcblk0p6"
Waiting for root device /dev/mmcblk0p4问题出在上面,bootargs指向的地址还是rootfs根目录还是emmc地址,而你硬件不存在mmcblk0p4,导致一直在等待;需要改成nand对应的文件系统。
你可以在u-boot直接修改bootcmd,将其中的setargs_mmc替换为setargs_nand,sync后重启。如果是SDK里,就修改你选择的板级下的env.cfg文件(不确定具体目录,自己找下,在device目录下),再进行测试。
-
#kernel command arguments earlyprintk=sunxi-uart,0x02500000 initcall_debug=0 console=ttyS0,115200 nand_root=ubi0_4 mmc_root=/dev/mmcblk0p4 nor_root=/dev/mtdblock1 init=/init loglevel=8 coherent_pool=16K #reserve_list=30M@64M,78M@128M,200M@512M mac= wifi_mac= bt_mac= specialstr= root_partition=rootfs mtd_name=sys rootfstype=ubifs, rw #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this setargs_nor=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootwait init=${init} rdinit=${rdinit} partitions=${partitions} cma=${cma} coherent_pool=${coherent_pool} ion_carveout_list=${reserve_list} setargs_nand=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} ubi.mtd=${mtd_name} root=${nand_root} rootfstype=${rootfstype} rootwait init=${init} rdinit=${rdinit} partitions=${partitions} cma=${cma} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} selinux=${selinux} specialstr=${specialstr} coherent_pool=${coherent_pool} ion_carveout_list=${reserve_list} setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} rootwait init=${init} partitions=${partitions} cma=${cma} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} selinux=${selinux} specialstr=${specialstr} coherent_pool=${coherent_pool} ion_carveout_list=${reserve_list} #nand command syntax: sunxi_flash read address partition_name read_bytes #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) boot_partition=boot boot_normal=sunxi_flash read 44800000 ${boot_partition};bootm 44800000 boot_recovery=sunxi_flash read 44800000 extend;bootm 44800000 boot_fastboot=fastboot #recovery key recovery_key_value_max=0x13 recovery_key_value_min=0x10 #fastboot key fastboot_key_value_max=0x8 fastboot_key_value_min=0x2 #uboot system env config bootdelay=1 #default bootcmd, will change at runtime according to key press bootcmd=run setargs_nand boot_normal#default nand boot #verify the kernel
verify=N看起来好像也是setargs_nand
-
@jasonzhang 启动时进进入 U-Boot 命令行打印出来的不对(还是mmc),感谢大佬
-
1.设备树中的 SDC2 节点修改如下:
&sdc2 { non-removable; bus-width = <4>; mmc-ddr-3_3v; /*mmc-hs200-1_8v;*/ /*mmc-hs400-1_8v;*/ no-sdio; /delete-property/ no-sd; no-mmc; ctl-spec-caps = <0x8>; cap-mmc-highspeed; sunxi-signal-vol-sw-without-pmu; sunxi-power-save-mode; /*sunxi-dis-signal-vol-sw;*/ max-frequency = <50000000>; /*vmmc-supply = <®_dcdc1>;*/ /*emmc io vol 3.3v*/ /*vqmmc-supply = <®_aldo1>;*/ /*emmc io vol 1.8v*/ /*vqmmc-supply = <®_eldo1>;*/ status = "okay"; };
2.前往文件夹 brandy/brandy-2.0/u-boot-2018/drivers/sunxi_flash/mmc/sdmmc.c
将return sdmmc_init_for_sprite(0, 0); 修改为return sdmmc_init_for_sprite(0, 2);3.配置ubifs等等 即可
-
Tinyvision 怎么修改 SPINAND的?飞线么,默认焊盘不支持挂nand的
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号