技术分享
原版rom备份
2021-03-29
为防止在调试的时候把开发板弄成砖块,需要先将原始镜像拷贝出来。原版系统为安卓7.1.2
1.装备工作
adb
命令行工具cmd
adb驱动,瑞芯微开发工具AndroidTool
2.
安装usb驱动DriverAssitant_v4.5
将usb线插入OTG接口,也就是有跳帽的位置,跳帽改为如图配置(红色)
打开Putty串口调试工具,连接debug串口,波特率设为115200,开机将引导信息全部记录下来备用。
DDR Version 1.05 20170712 In Channel a: DDR3 400MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB Channel b: DDR3 400MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB Memory OK Memory OK OUT Boot1 Release Time: 2017-06-15, version: 2.33 ChipType = 0x8, 177 SdmmcInit=2 0 BootCapSize=2000 UserCapSize=7456MB FwPartOffset=2000 , 2000 SdmmcInit=0 400 StorageInit ok = 28140 Code check OK! theLoader 0x0, 46959 Code check OK! theLoader 0x8400000, 76327 Enter Trust OS INF [0x0] TEE-CORE:init_primary_helper:366: Initializing (1.1.0-243-g0d867b1 #1 Fri Nov 24 07:15:36 UTC 2017 arm) INF [0x0] TEE-CORE:init_primary_helper:367: Release version: 1.2 INF [0x0] TEE-CORE:init_teecore:83: teecore inits done U-Boot 2014.10-RK3288-06 (Jan 23 2018 - 13:25:20) CPU: rk3288 cpu version = 0 CPU's clock information: arm pll = 816000000HZ periph pll = 297000000HZ ddr pll = 396000000HZ codec pll = 384000000HZ Board: Rockchip platform Board Uboot as second level loader DRAM: Found dram banks: 1 Adding bank:0000000000000000(0000000080000000) Reserve memory for trust os. dram reserve bank: base = 0x08400000, size = 0x00e00000 128 MiB GIC CPU mask = 0x00000001 SdmmcInit = 0 400 SdmmcInit = 2 0 ERROR: v7_dcache_inval_range - start address is not aligned - 0x059bc0cc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059bc2cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059cbecc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059cc0cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059bc0cc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059bc2cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059cbecc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059cc0cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059bc0cc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059bc2cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059cbecc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059cc0cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059bc0cc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059bc2cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059cbecc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059cc0cc ERROR: v7_dcache_inval_range - start address is not aligned - 0x059bc0cc ERROR: v7_dcache_inval_range - stop address is not aligned - 0x059cc0cc storage init OK! Using default environment GetParam Load FDT from resource image. power key: bank-0 pin-5 can't find dts node for fixed pmic:rk808 can't find dts node for pwm0 Can't find dts node for fuel guage cw201x SecureBootEn = 0, SecureBootLock = 0 #Boot ver: 2018-01-23#2.33 empty serial no. normal boot. checkKey vbus = 1 no fuel gauge found no fuel gauge found delay prepare[0] unprepare[0] enable[0] disable[10] read logo on state from dts [1] no fuel gauge found LVDS: data mapping: vesa, data-width:24, format:0, Using display timing dts Detailed mode clock 168000 kHz, flags[a] H: 1920 1956 1966 2166 V: 1080 1086 1092 1100 bus_format: 100e pll_src = 0, dclk_hz = 168000000, dclk_div = 2 Hit any key to stop autoboot: 0 load fdt from resouce. Secure Boot state: 0 kernel @ 0x02000000 (0x007ff5e8) ramdisk @ 0x05bf0000 (0x0016e634) bootrk: do_bootm_linux... Loading Device Tree to 05600000, end 05611886 ... OK Add bank:0000000000000000, 0000000008400000 Add bank:0000000009200000, 0000000076e00000 WARNING: could not set reg FDT_ERR_BADOFFSET. Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x500 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.83 (xxs@xxs-ubuntu) (gcc version 4.9 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Tue Jan 23 13:27:02 CST 2018 [ 0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: rockchip,rk3288w [ 0.000000] earlycon: Early serial console at MMIO32 0xff690000 (options '') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] cma: Reserved 16 MiB at 0x7f000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv65535.65535 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] PERCPU: Embedded 13 pages/cpu @df78e000 s24192 r8192 d20864 u53248 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 519664 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff690000 vmalloc=496M console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000C000@0x00010000(kernel),0x00010000@0x0001C000(boot),0x00010000@0x0002C000(recovery),0x00038000@0x0003C000(backup),0x00040000@0x00074000(cache),0x00400000@0x000B4000(system),0x00008000@0x004B4000(metadata),0x00019000@0x004BC000(vendor0),0x00019000@0x004D5000(vendor1),-@0x004EE000(userdata) storagemedia=emmc uboot_logo=0x02000000@0x7dc00000 loader.timestamp=2018-01-23_13:25:20 SecureBootCheckOk=0 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 2026856K/2082816K available (11264K kernel code, 942K rwdata, 3944K rodata, 1024K init, 919K bss, 39576K reserved, 16384K cma-reserved, 1547624K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe1000000 - 0xff800000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0800000 ( 520 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0c00000 (12256 kB) [ 0.000000] .init : 0xc1100000 - 0xc1200000 (1024 kB) [ 0.000000] .data : 0xc1200000 - 0xc12eb944 ( 943 kB) [ 0.000000] .bss : 0xc12ed000 - 0xc13d2efc ( 920 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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] 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.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008553] Switching to timer-based delay loop, resolution 41ns [ 0.016047] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 0.027017] pid_max: default: 32768 minimum: 301 [ 0.032051] Security Framework initialized [ 0.036429] SELinux: Initializing. [ 0.040234] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.047256] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.055339] Initializing cgroup subsys freezer [ 0.060121] Initializing cgroup subsys debug [ 0.064649] CPU: Testing write buffer coherency: ok [ 0.070093] CPU0: update cpu_capacity 430 [ 0.074449] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500 [ 0.080553] Setting up static identity map for 0x100000 - 0x100058 [ 0.117615] CPU1: update cpu_capacity 430 [ 0.117620] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501 [ 0.127643] CPU2: update cpu_capacity 430 [ 0.127648] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502 [ 0.137685] CPU3: update cpu_capacity 430 [ 0.137690] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503 [ 0.137757] Brought up 4 CPUs [ 0.171955] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.178651] CPU: All CPU(s) started in SVC mode. [ 0.184723] devtmpfs: initialized [ 0.201438] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0 [ 0.209964] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.220471] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.227705] pinctrl core: initialized pinctrl subsystem [ 0.234022] NET: Registered protocol family 16 [ 0.240255] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.260955] cpuidle: using governor ladder [ 0.278711] cpuidle: using governor menu [ 0.282948] Registered FIQ tty driver [ 0.309252] console [pstore-1] enabled [ 0.313457] pstore: Registered ramoops as persistent store backend [ 0.320073] ramoops: attached 0xf0000@0x8000000, ecc: 0/0 [ 0.327403] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.336063] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.342766] fiq debugger fiq mode enabled <hit enter to activate fiq debugger> [ 0.347282] console [ttyFIQ0] enabled [[ 0.347282] console [ttyFIQ0] enabled [ 0.354455] bootconsole [uart0] disabled 0.354455] bootconsole [uart0] disabled [ 0.366377] Registered fiq debugger ttyFIQ0 [ 0.416532] iommu: Adding device ff900000.iep to group 0 [ 0.416621] iommu: Adding device ff910000.isp to group 1 [ 0.416699] iommu: Adding device ff930000.vop to group 2 [ 0.416779] iommu: Adding device ff940000.vop to group 3 [ 0.416860] iommu: Adding device ff9a0000.vpu-service to group 4 [ 0.416940] iommu: Adding device ff9c0000.hevc-service to group 5 [ 0.417265] rk_iommu ff900800.iommu: can't get aclk [ 0.417281] rk_iommu ff900800.iommu: can't get hclk [ 0.418526] SCSI subsystem initialized [ 0.418742] usbcore: registered new interface driver usbfs [ 0.418798] usbcore: registered new interface driver hub [ 0.418866] usbcore: registered new device driver usb [ 0.419207] rk3288-dwc-control-usb ff770284.dwc-control-usb: host_drv_gpio is not specified or invalid [ 0.420247] media: Linux media interface: v0.10 [ 0.420296] Linux video capture interface: v2.00 [ 0.420448] pps_core: LinuxPPS API ver. 1 registered [ 0.420460] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.420488] PTP clock support registered [ 0.421781] Advanced Linux Sound Architecture Driver Initialized. [ 0.422296] Bluetooth: Core ver 2.21 [ 0.422344] NET: Registered protocol family 31 [ 0.422355] Bluetooth: HCI device and connection manager initialized [ 0.422370] Bluetooth: HCI socket layer initialized [ 0.422383] Bluetooth: L2CAP socket layer initialized [ 0.422414] Bluetooth: SCO socket layer initialized [ 0.423366] rockchip-cpuinfo cpuinfo: Serial : 29b523534e6f80c0 [ 0.424218] clocksource: Switched to clocksource arch_sys_counter [ 0.465230] thermal thermal_zone1: power_allocator: sustainable_power will be estimated [ 0.465472] NET: Registered protocol family 2 [ 0.465978] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.466023] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.466096] TCP: Hash tables configured (established 4096 bind 4096) [ 0.466146] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.466170] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.466319] NET: Registered protocol family 1 [ 0.466766] Trying to unpack rootfs image as initramfs... [ 0.516614] rk_battery_charger_detect_cb , battery_charger_detect 1 [ 0.547750] Freeing initrd memory: 1468K [ 0.548673] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available [ 0.551311] audit: initializing netlink subsys (disabled) [ 0.551366] audit: type=2000 audit(0.423:1): initialized [ 0.556291] VFS: Disk quotas dquot_6.6.0 [ 0.556429] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.557386] Registering sdcardfs 0.1 [ 0.557671] fuse init (API version 7.23) [ 0.558858] [ 0.558858] TEE Core Framework initialization (ver 1:0.1) [ 0.558890] TEE armv7 Driver initialization [ 0.559178] tz_tee_probe: name="armv7sec", id=0, pdev_name="armv7sec.0" [ 0.559194] TEE core: Alloc the misc device "opteearmtz00" (id=0) [ 0.559370] TEE Core: Register the misc device "opteearmtz00" (id=0,minor=62) [ 0.562914] bounce: pool size: 64 pages [ 0.563047] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.563069] io scheduler noop registered [ 0.563084] io scheduler deadline registered [ 0.563114] io scheduler cfq registered (default) [ 0.563417] rockchip-usb-phy ff770000.syscon:usbphy: vbus_drv is not assigned! [ 0.565173] rk3288 gpio driver [ 0.566745] backlight supply power not found, using dummy regulator [ 0.567113] iep: failed to find iep power down clock source. [ 0.567452] IEP Power ON [ 0.567631] IEP Power OFF [ 0.567689] IEP Driver loaded succesfully [ 0.567805] Module initialized. [ 0.568250] rk-vcodec ff9a0000.vpu-service: probe device [ 0.568304] rk-vcodec ff9a0000.vpu-service: vpu mmu dec df285210 [ 0.568447] rk-vcodec ff9a0000.vpu-service: allocator is drm [ 0.568505] rk-vcodec ff9a0000.vpu-service: checking hw id 4831 [ 0.568934] rk-vcodec ff9a0000.vpu-service: init success [ 0.569347] rk-vcodec ff9c0000.hevc-service: probe device [ 0.569401] rk-vcodec ff9c0000.hevc-service: vpu mmu dec df285610 [ 0.569539] rk-vcodec ff9c0000.hevc-service: allocator is drm [ 0.569600] rk-vcodec ff9c0000.hevc-service: checking hw id 6867 [ 0.569918] rk-vcodec ff9c0000.hevc-service: init success [ 0.571520] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.571539] dma-pl330 ff250000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 0.572105] dma-pl330 ff600000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.572124] dma-pl330 ff600000.dma-controller: DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10 [ 0.573050] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 0.574650] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A [ 0.575214] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 39, base_baud = 1500000) is a 16550A [ 0.575780] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 40, base_baud = 1500000) is a 16550A [ 0.576335] ff1c0000.serial: ttyS4 at MMIO 0xff1c0000 (irq = 41, base_baud = 1500000) is a 16550A [ 0.576801] [drm:drm_core_init] Initialized drm 1.1.0 20060810 [ 0.579985] rockchip-vop ff930000.vop: invalid resource [ 0.580002] rockchip-vop ff930000.vop: failed to get vop cabc lut registers [ 0.580628] rockchip-drm display-subsystem: bound ff930000.vop (ops vop_component_ops) [ 0.580677] rockchip-vop ff940000.vop: invalid resource [ 0.580691] rockchip-vop ff940000.vop: failed to get vop cabc lut registers [ 0.581326] rockchip-drm display-subsystem: bound ff940000.vop (ops vop_component_ops) [ 0.581535] i2c i2c-6: of_i2c: modalias failure on /hdmi@ff980000/ports [ 0.581555] dwhdmi-rockchip ff980000.hdmi: registered DesignWare HDMI I2C bus driver [ 0.581616] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY) [ 0.582204] rockchip-drm d
可以看出官方将uboot延时设为了0秒,屏蔽了进入uboot的功能。并且加载内核后,无法终端输入。
注意看Kernel command line: 这行,这行是分区表信息。
cmd命令进入cdrom_nano3288_SDK_android7.1\tools-usb-driver\AndroidTool_Release_v2.43\AndroidTool_Release_v2.43\bin目录
开发板正常开机,启动adb,查看可用adb设备
$ ./adb devices List of devices attached 24ETJN8FHO device
使用以下命令连接开发板
#可用设备为1个 ./adb shell #多个设备时 ./adb -s 24ETJN8FHO shell
准备开始导出工作
查看原始分区表信息
$ cat /proc/cmdline cat /proc/cmdline /system/bin/sh: cat: /proc/cmdline: Permission denied
访问被拒绝,需启用root用户,获得分区信息后,记得将信息拷贝到txt文本中备用
#进入root用户模式 $ su su rk3288:/ # cat /proc/cmdline cat /proc/cmdline earlycon=uart8250,mmio32,0xff690000 vmalloc=496M console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000C000@0x00010000(kernel),0x00010000@0x0001C000(boot),0x00010000@0x0002C000(recovery),0x00038000@0x0003C000(backup),0x00040000@0x00074000(cache),0x00400000@0x000B4000(system),0x00008000@0x004B4000(metadata),0x00019000@0x004BC000(vendor0),0x00019000@0x004D5000(vendor1),-@0x004EE000(userdata) storagemedia=emmc uboot_logo=0x02000000@0x7dc00000 loader.timestamp=2018-01-23_13:25:20 SecureBootCheckOk=0 androidboot.mode=emmc
这里已kernel分区说明,0x0000C000@0x00010000(kernel),分区名字前面是其大小和起始位置
@前面是分区大小,@后面是分区起始位置
数值的单位是sector(扇区),1个sector 为512 Bytes,kernel 分区的起始位置是0x00010000,大小是0x0000C000(16M),这两个数等会导出就直接用到。
#查看挂载情况 # cat /proc/mounts cat /proc/mounts rootfs / rootfs ro,seclabel,size=1013428k,nr_inodes=119808 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 proc /proc proc rw,relatime,gid=3009,hidepid=2 0 0 sysfs /sys sysfs rw,seclabel,relatime 0 0 selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0 /sys/kernel/debug /sys/kernel/debug debugfs rw,seclabel,relatime,mode=755 0 0 /sys/kernel/debug/tracing /sys/kernel/debug/tracing tracefs rw,seclabel,relatime,mode=755 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 tmpfs /mnt tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0 none /config configfs rw,relatime 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 none /dev/cpuset cgroup rw,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent 0 0 pstore /sys/fs/pstore pstore rw,seclabel,relatime 0 0 /dev/block/platform/ff0f0000.dwmmc/by-name/system /system ext4 ro,seclabel,noatime,nodiratime,noauto_da_alloc,data=ordered 0 0 /dev/block/platform/ff0f0000.dwmmc/by-name/vendor1 /vendor ext4 ro,seclabel,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc,data=ordered 0 0 /dev/block/platform/ff0f0000.dwmmc/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc,data=ordered 0 0 /dev/block/platform/ff0f0000.dwmmc/by-name/metadata /metadata ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc,data=ordered 0 0 /dev/block/platform/ff0f0000.dwmmc/by-name/userdata /data f2fs rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,inline_data,extent_cache,active_logs=6 0 0 tmpfs /storage tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 /dev/fuse /mnt/runtime/default/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0 /dev/fuse /storage/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0 /dev/fuse /mnt/runtime/read/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0 /dev/fuse /mnt/runtime/write/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
按住Recovery键,再按reset键,进入Recovery模式
打开瑞芯微开发工具AndroidTool工具,路径参考cdrom_nano3288_SDK_android7.1\tools-usb-driver\AndroidTool_Release_v2.43\AndroidTool_Release_v2.43
跳至“高级功能”
起始扇区填分区表@右边的数值,扇区数填@左边的数值。
逐一导出各个分区并相应命名,userdata分区填写大小为system两倍大小(0x00800000)或者1.5倍大小(0x00600000),也就是4G或者3.0G,最后将Output压缩,你就可以看到总的压缩文件大小才400m左右。
清空output文件,重复导出镜像工作,防止第一次失误填错数值,导致还原出错。(可选)
烧录荣品提供镜像,测试是否兼容
打开AndroidTool,跳至升级固件界面,点击“固件”,选择android_7.1_hdmi_update_20190320_1732.img固件,再点击"升级"即可刷入新的镜像。你也可以在刷入系统前擦除Flash。
下图为擦除emmc后的效果
烧录完成后,插上hdmi视频线,你就可以看到熟悉的安卓系统界面了。
如果刷rom失败,可以将提取出来的镜像重新打包刷回去。具体方法请百度
实际效果,以下烧录的为ubuntu系统nano3288_ubuntu_core_20190307_1432.img,烧录镜像进入系统后,需要分区扩容
DDR Version 1.06 20171020 In Channel a: DDR3 400MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB Channel b: DDR3 400MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB Memory OK Memory OK OUT Boot1 Release Time: Apr 11 2018 10:32:58, version: 2.36 ChipType = 0x8, 229 mmc2:cmd19,256 SdmmcInit=2 0 BootCapSize=2000 UserCapSize=7456MB FwPartOffset=2000 , 2000 mmc0:cmd8,1024 mmc0:cmd8,1024 mmc0:cmd8,1024 SdmmcInit=0 1 StorageInit ok = 30369 LOADER Check OK! 0x0, 64252 TOS Check OK! 0x8400000, 93627 Enter Trust OS INF [0x0] TEE-CORE:init_primary_helper:377: Initializing (1.1.0-316-g7b4ec90 #59 Wed May 30 08:26:33 UTC 2018 arm) INF [0x0] TEE-CORE:init_primary_helper:378: Release version: 1.3 INF [0x0] TEE-CORE:init_primary_helper:379: Next entry point address: 0x0 INF [0x0] TEE-CORE:init_teecore:83: teecore inits done U-Boot 2014.10-RK3288-06 (Mar 07 2019 - 14:26:56) CPU: rk3288 cpu version = 0 CPU's clock information: arm pll = 816000000HZ periph pll = 594000000HZ ddr pll = 396000000HZ codec pll = 384000000HZ Board: Rockchip platform Board Uboot as second level loader DRAM: Found dram banks: 1 Adding bank:0000000000000000(0000000080000000) Reserve memory for trust os. dram reserve bank: base = 0x08400000, size = 0x00e00000 128 MiB GIC CPU mask = 0x00000001 SdmmcInit = 0 400 SdmmcInit = 2 0 storage init OK! Using default environment GetParam Load FDT from boot image. power key: bank-0 pin-5 can't find dts node for fixed pmic:rk808 can't find dts node for pwm0 Can't find dts node for fuel guage cw201x misc partition not found! SecureBootEn = 0, SecureBootLock = 0 #Boot ver: 2019-03-07#2.36 empty serial no. normal boot. checkKey vbus = 1 no fuel gauge found no fuel gauge found Rockchip UBOOT DRM driver version: develop-v1.0.0 read logo on state from dts [1] no fuel gauge found Using display timing dts Detailed mode clock 140000 kHz, flags[a] H: 1920 1936 1956 2016 V: 1080 1092 1095 1118 bus_format: 100e pll_src = 0, dclk_hz = 140000000, dclk_div = 4 final DSI-Link bandwidth: 1000 Mbps x 4 misc partition not found! Hit any key to stop autoboot: 0 boot or recovery image sha mismatch! Secure Boot state: 0 kernel @ 0x02000000 (0x007a46a8) ramdisk @ 0x04bf0000 (0x00299f93) bootrk: do_bootm_linux... Loading Device Tree to 04600000, end 04611cf3 ... OK Add bank:0000000000000000, 0000000008400000 Add bank:0000000009200000, 0000000076e00000 WARNING: could not set reg FDT_ERR_BADOFFSET. Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x500 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.132 (source-Image-rk@rpdzkj) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #18 SMP Thu Mar 7 14:29:50 CST 2019 [ 0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: rockchip,rk3288w [ 0.000000] earlycon: Early serial console at MMIO32 0xff690000 (options '') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] cma: Reserved 16 MiB at 0x7f000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv65535.65535 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] PERCPU: Embedded 14 pages/cpu @df781000 s24728 r8192 d24424 u57344 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 519664 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff690000 vmalloc=496M console=ttyFIQ0,115200 root=/dev/mmcblk1p5 linuxroot rw rootfstype=ext4 init=/sbin/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00010000@0x00006000(boot),0x00002000@0x00016000(backup),-@0x00018000(linuxroot) storagemedia=emmc androidboot.oem_unlocked=0 uboot_logo=0x02000000@0x7dc00000 loader.timestamp=2019-03-07_14:26:56 SecureBootCheckOk=0 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 2025196K/2082816K available (12288K kernel code, 938K rwdata, 3312K rodata, 1024K init, 638K bss, 41236K reserved, 16384K cma-reserved, 1547956K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe1000000 - 0xff800000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0800000 ( 520 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0d00000 (13280 kB) [ 0.000000] .init : 0xc1200000 - 0xc1300000 (1024 kB) [ 0.000000] .data : 0xc1300000 - 0xc13eabf4 ( 939 kB) [ 0.000000] .bss : 0xc13ec000 - 0xc148b9b0 ( 639 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] 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.008010] Switching to timer-based delay loop, resolution 41ns [ 0.016621] Console: colour dummy device 80x30 [ 0.021338] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.032395] pid_max: default: 32768 minimum: 301 [ 0.037101] Security Framework initialized [ 0.041242] Yama: becoming mindful. [ 0.044781] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051551] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.059439] Initializing cgroup subsys devices [ 0.063940] Initializing cgroup subsys freezer [ 0.068556] CPU: Testing write buffer coherency: ok [ 0.073631] ftrace: allocating 44395 entries in 131 pages [ 0.156317] CPU0: update cpu_capacity 430 [ 0.160658] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500 [ 0.166862] Setting up static identity map for 0x100000 - 0x100058 [ 0.175194] CPU1: update cpu_capacity 430 [ 0.175200] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501 [ 0.175835] CPU2: update cpu_capacity 430 [ 0.175841] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502 [ 0.176484] CPU3: update cpu_capacity 430 [ 0.176489] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503 [ 0.176580] Brought up 4 CPUs [ 0.211024] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.217799] CPU: All CPU(s) started in SVC mode. [ 0.223889] devtmpfs: initialized [ 0.243094] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0 [ 0.251683] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.262341] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.269849] pinctrl core: initialized pinctrl subsystem [ 0.276423] NET: Registered protocol family 16 [ 0.282897] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.320374] cpuidle: using governor ladder [ 0.350396] cpuidle: using governor menu [ 0.354667] Registered FIQ tty driver [ 0.385877] console [pstore-1] enabled [ 0.389866] pstore: Registered ramoops as persistent store backend [ 0.396527] ramoops: attached 0xf0000@0x8000000, ecc: 0/0 [ 0.405142] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.413790] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.420713] fiq debugger fiq mode enabled [ 0.425252] console [ttyFIQ0] enabled [ 0.425252] console [ttyFIQ0] enabled [ 0.432865] bootconsole [uart0] disabled [ 0.432865] bootconsole [uart0] disabled [ 0.441221] Registered fiq debugger ttyFIQ0 [ 0.522833] vcc18_dvp: supplied by vcc_3v3sys [ 0.527661] vcc_flash: regulator get failed, ret=-517 [ 0.533001] vcc_host_5v: supplied by vcc_3v3sys [ 0.643151] vdd_log: supplied by vcc_3v3sys [ 0.648069] iommu: Adding device ff900000.iep to group 0 [ 0.653487] iommu: Adding device ff910000.isp to group 1 [ 0.658878] iommu: Adding device ff930000.vop to group 2 [ 0.664284] iommu: Adding device ff940000.vop to group 3 [ 0.669676] iommu: Adding device ff9a0000.vpu-service to group 4 [ 0.675782] iommu: Adding device ff9c0000.hevc-service to group 5 [ 0.682257] rk_iommu ff900800.iommu: can't get aclk [ 0.687156] rk_iommu ff900800.iommu: can't get hclk [ 0.693641] SCSI subsystem initialized [ 0.697641] usbcore: registered new interface driver usbfs [ 0.703172] usbcore: registered new interface driver hub [ 0.708598] usbcore: registered new device driver usb [ 0.714052] rk3288-dwc-control-usb ff770284.dwc-control-usb: host_drv_gpio is not specified or invalid [ 0.724502] media: Linux media interface: v0.10 [ 0.729069] Linux video capture interface: v2.00 [ 0.733740] pps_core: LinuxPPS API ver. 1 registered [ 0.738709] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.747867] PTP clock support registered [ 0.830218] rk_battery_charger_detect_cb , battery_charger_detect 1 [ 0.858515] Advanced Linux Sound Architecture Driver Initialized. [ 0.865214] Bluetooth: Core ver 2.21 [ 0.868842] NET: Registered protocol family 31 [ 0.873285] Bluetooth: HCI device and connection manager initialized [ 0.879661] Bluetooth: HCI socket layer initialized [ 0.884538] Bluetooth: L2CAP socket layer initialized [ 0.889613] Bluetooth: SCO socket layer initialized [ 0.895581] rockchip-cpuinfo cpuinfo: Serial : 29b523534e6f80c0 [ 0.902505] clocksource: Switched to clocksource arch_sys_counter [ 0.958185] NET: Registered protocol family 2 [ 0.963109] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.970193] TCP bind hash table entries: 4096 (order: 4, 81920 bytes) [ 0.976735] TCP: Hash tables configured (established 4096 bind 4096) [ 0.983155] UDP hash table entries: 256 (order: 1, 12288 bytes) [ 0.989094] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes) [ 0.995655] NET: Registered protocol family 1 [ 1.000306] RPC: Registered named UNIX socket transport module. [ 1.006257] RPC: Registered udp transport module. [ 1.010957] RPC: Registered tcp transport module. [ 1.015670] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.022292] Trying to unpack rootfs image as initramfs... [ 1.173208] Freeing initrd memory: 2664K [ 1.178241] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available [ 1.188612] Initialise system trusted keyring [ 1.201881] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.209491] NFS: Registering the id_resolver key type [ 1.214602] Key type id_resolver registered [ 1.218791] Key type id_legacy registered [ 1.222834] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.229801] fuse init (API version 7.23) [ 1.238093] NET: Registered protocol family 38 [ 1.242589] Key type asymmetric registered [ 1.246691] Asymmetric key parser 'x509' registered [ 1.251634] bounce: pool size: 64 pages [ 1.255669] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.263089] io scheduler noop registered [ 1.267020] io scheduler deadline registered [ 1.271322] io scheduler cfq registered (default) [ 1.279302] backlight supply power not found, using dummy regulator [ 1.286219] rk-vcodec ff9a0000.vpu-service: no regulator for vcodec [ 1.292733] rk-vcodec ff9a0000.vpu-service: probe device [ 1.298101] rk-vcodec ff9a0000.vpu-service: vpu mmu dec df2dba10 [ 1.304323] rk-vcodec ff9a0000.vpu-service: allocator is drm [ 1.310041] rk-vcodec ff9a0000.vpu-service: checking hw id 4831 [ 1.316525] rk-vcodec ff9a0000.vpu-service: could not find power_model node [ 1.323511] rk-vcodec ff9a0000.vpu-service: init success [ 1.329121] rk-vcodec ff9c0000.hevc-service: no regulator for vcodec [ 1.335748] rk-vcodec ff9c0000.hevc-service: probe device [ 1.341199] rk-vcodec ff9c0000.hevc-service: vpu mmu dec df2dbe10 [ 1.347492] rk-vcodec ff9c0000.hevc-service: allocator is drm [ 1.353312] rk-vcodec ff9c0000.hevc-service: checking hw id 6867 [ 1.359733] rk-vcodec ff9c0000.hevc-service: could not find power_model node [ 1.366802] rk-vcodec ff9c0000.hevc-service: init success [ 1.374436] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.382009] dma-pl330 ff250000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 1.392070] dma-pl330 ff600000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.399665] dma-pl330 ff600000.dma-controller: DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10 [ 1.409534] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 1.417834] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 36, base_baud = 1500000) is a 16550A [ 1.427459] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 37, base_baud = 1500000) is a 16550A [ 1.436769] rockchip-pinctrl pinctrl: pin gpio7-22 already requested by fiq-debugger; cannot claim for ff690000.serial [ 1.447477] rockchip-pinctrl pinctrl: pin-238 (ff690000.serial) status -22 [ 1.454366] rockchip-pinctrl pinctrl: could not request pin 238 (gpio7-22) from group uart2-xfer on device rockchip-pinctrl [ 1.465585] dw-apb-uart ff690000.serial: Error applying setting, reverse things back [ 1.473635] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 38, base_baud = 1500000) is a 16550A [ 1.483218] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 39, base_baud = 1500000) is a 16550A [ 1.492799] ff1c0000.serial: ttyS4 at MMIO 0xff1c0000 (irq = 40, base_baud = 1500000) is a 16550A [ 1.503042] [drm] Initialized drm 1.1.0 20060810 [ 1.511436] [drm] Rockchip DRM driver version: v1.0.1 [ 1.516769] rockchip-drm display-subsystem: devfreq is not set [ 1.522910] rockchip-vop ff930000.vop: invalid resource [ 1.528136] rockchip-vop ff930000.vop: failed to get vop cabc lut registers [ 1.535891] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc0d60e4c) [ 1.543273] rockchip-vop ff940000.vop: invalid resource [ 1.548497] rockchip-vop ff940000.vop: failed to get vop cabc lut registers [ 1.556067] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc0d60e4c) [ 1.563602] i2c i2c-6: of_i2c: modalias failure on /hdmi@ff980000/ports [ 1.570219] dwhdmi-rockchip ff980000.hdmi: registered D0000.: EHCI Host Controller [ 1.996607] ehci-platform ff500000.usb: new USB bus registered, assigned bus number 2 [ 2.004594] ehci-platform ff500000.usb: irq 44, io mem 0xff500000 [ 2.022536] ehci-platform ff500000.usb: USB 2.0 started, EHCI 1.00 [ 2.028876] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.035691] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.042924] usb usb2: Product: EHCI Host Controller [ 2.047809] usb usb2: Manufacturer: Linux 4.4.132 ehci_hcd [ 2.053306] usb usb2: SerialNumber: ff500000.usb [ 2.058463] hub 2-0:1.0: USB hub found [ 2.062245] hub 2-0:1.0: 1 port detected [ 2.066801] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.073124] ohci-platform: OHCI generic platform driver [ 2.078553] ohci-platform ff520000.usb: Generic Platform OHCI controller [ 2.085478] ohci-platform ff520000.usb: new USB bus registered, assigned bus number 3 [ 2.093454] ohci-platform ff520000.usb: irq 45, io mem 0xff520000 [ 2.156699] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 2.163521] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.170739] usb usb3: Product: Generic Platform OHCI controller [ 2.176672] usb usb3: Manufacturer: Linux 4.4.132 ohci_hcd [ 2.182156] usb usb3: SerialNumber: ff520000.usb [ 2.187405] hub 3-0:1.0: USB hub found [ 2.191187] hub 3-0:1.0: 1 port detected [ 2.195758] usbcore: registered new interface driver cdc_acm [ 2.201422] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 2.209507] usbcore: registered new interface driver cdc_wdm [ 2.215312] usbcore: registered new interface driver usb-storage [ 2.221404] usbcore: registered new interface driver usbserial [ 2.227292] usbcore: registered new interface driver usbserial_generic [ 2.233865] usbserial: USB Serial support registered for generic [ 2.239928] usbcore: registered new interface driver cp210x [ 2.245549] usbserial: USB Serial support registered for cp210x [ 2.251549] usbcore: registered new interface driver ftdi_sio [ 2.257345] usbserial: USB Serial support registered for FTDI USB Serial Device [ 2.264798] usbcore: registered new interface driver keyspan [ 2.270493] usbserial: USB Serial support registered for Keyspan - (without firmware) [ 2.278368] usbserial: USB Serial support registered for Keyspan 1 port adapter [ 2.285820] usbserial: USB Serial support registered for Keyspan 2 port adapter [ 2.293217] usbserial: USB Serial support registered for Keyspan 4 port adapter [ 2.300714] usbcore: registered new interface driver option [ 2.306341] usbserial: USB Serial support registered for GSM modem (1-port) [ 2.313513] usbcore: registered new interface driver oti6858 [ 2.319213] usbserial: USB Serial support registered for oti6858 [ 2.325298] usbcore: registered new interface driver pl2303 [ 2.330898] usbserial: USB Serial support registered for pl2303 [ 2.336887] usbcore: registered new interface driver qcserial [ 2.342907] usbserial: USB Serial support registered for Qualcomm USB modem [ 2.349936] usbcore: registered new interface driver sierra [ 2.355555] usbserial: USB Serial support registered for Sierra USB modem [ 2.362361] usb20_otg: version 3.10a 21-DEC-2012 [ 2.367300] e1380040 [ 2.369492] Core Release: 3.10a [ 2.372660] Setting default values for core params [ 2.377650] Using Buffer DMA mode [ 2.380967] Periodic Transfer Interrupt Enhancement - disabled [ 2.386815] Multiprocessor Interrupt Enhancement - disabled [ 2.392382] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 2.396751] ^^^^^^^^^^^^^^^^^Device Mode [ 2.400687] Dedicated Tx FIFOs mode [ 2.404219] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 2.411209] pcd_init otg_dev = c482bb00 [ 2.415485] usb20_otg ff580000.usb: DWC OTG Controller [ 2.420855] usb20_otg ff580000.usb: new USB bus registered, assigned bus number 4 [ 2.428393] usb20_otg ff580000.usb: irq 47, io mem 0x00000000 [ 2.434315] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.441107] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.448341] usb usb4: Product: DWC OTG Controller [ 2.453061] usb usb4: Manufacturer: Linux 4.4.132 dwc_otg_hcd [ 2.458808] usb usb4: SerialNumber: ff580000.usb [ 2.463964] hub 4-0:1.0: USB hub found [ 2.467745] hub 4-0:1.0: 1 port detected [ 2.472348] usb20_host: version 3.10a 21-DEC-2012 [ 2.478381] usbcore: registered new interface driver iforce [ 2.484088] usbcore: registered new interface driver xpad [ 2.489531] Initial gslx680 linux Touch Driver [ 2.494030] <<-GTP-INFO->> GTP driver installing... [ 2.499095] usbcore: registered new interface driver usbtouchscreen [ 2.505966] i2c /dev entries driver [ 2.510680] rk808 0-001b: Pmic Chip id: 0x0 [ 2.517961] rk808-regulator rk808-regulator: there is no dvs0 gpio [ 2.524237] rk808-regulator rk808-regulator: there is no dvs1 gpio [ 2.530494] DCDC_REG1: supplied by vcc_3v3sys [ 2.535549] DCDC_REG2: supplied by vcc_3v3sys [ 2.540544] DCDC_REG3: supplied by vcc_3v3sys [ 2.545263] DCDC_REG4: supplied by vcc_3v3sys [ 2.550081] vcc_flash: supplied by vcc_io [ 2.554246] LDO_REG1: supplied by vcc_3v3sys [ 2.559683] LDO_REG2: supplied by vcc_3v3sys [ 2.563099] usb 2-1: New USB device found, idVendor=1a40, idProduct=0201 [ 2.563106] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.563111] usb 2-1: Product: USB 2.0 Hub [MTT] [ 2.563756] hub 2-1:1.0: USB hub found [ 2.563846] hub 2-1:1.0: 7 ports detected [ 2.590208] dwc_otg_hcd_suspend, usb device mode [ 2.596913] LDO_REG4: supplied by vcc_io [ 2.601864] LDO_REG5: supplied by vcc_io [ 2.609908] SWITCH_REG1: supplied by vcc_io [ 2.614494] SWITCH_REG2: supplied by vcc_io [ 2.619875] RTC date/time 2013-01-18(5) 09:12:54 [ 2.625087] RTC date/time 2013-01-18(5) 09:12:54 [ 2.631146] RTC date/time 2013-01-18(5) 09:12:54 [ 2.635967] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0 [ 2.643001] i2c i2c-0: of_i2c: modalias failure on /i2c@ff650000/rtc [ 2.649361] rk3x-i2c ff650000.i2c: Initialized RK3xxx I2C bus at e11fa000 [ 2.656728] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at e11fc000 [ 2.664095] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at e11fe000 [ 2.671596] rk3x-i2c ff660000.i2c: Initialized RK3xxx I2C bus at e1222000 [ 2.680318] usbcore: registered new interface driver uvcvideo [ 2.686084] USB Video Class driver (1.1.1) [ 2.692652] clk: couldn't get clock 0 for /tsadc@ff280000 [ 2.699036] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 2.707691] Bluetooth: Virtual HCI driver ver 1.5 [ 2.712561] Bluetooth: HCI UART driver ver 2.3 [ 2.717010] Bluetooth: HCI UART protocol H4 registered [ 2.722145] Bluetooth: HCI UART protocol LL registered [ 2.727311] Bluetooth: HCI UART protocol ATH3K registered [ 2.732812] usbcore: registered new interface driver bfusb [ 2.738368] usbcore: registered new interface driver btusb [ 2.744189] cpu cpu0: bin=1 [ 2.747097] cpu cpu0: leakage=17 [ 2.750422] cpu cpu0: Failed to get pvtm [ 2.754424] cpu cpu0: bin-scale=25 [ 2.759086] cpu cpu0: irdrop-scale=27 [ 2.762779] cpu cpu0: target-scale=27 [ 2.767143] sdhci: Secure Digital Host Controller Interface driver [ 2.773360] sdhci: Copyright(c) Pierre Ossman [ 2.777725] Synopsys Designware Multimedia Card Interface Driver [ 2.784934] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode. [ 2.792197] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller. [ 2.799011] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a [ 2.804929] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo [ 2.814725] dwmmc_rockchip ff0c0000.dwmmc: 'clock-freq-min-max' property was deprecated. [ 2.842563] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 2.863593] dwmmc_rockchip ff0c0000.dwmmc: 1 slots initialized [ 2.869735] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode. [ 2.877003] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller. [ 2.883816] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a [ 2.889660] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo [ 2.899428] dwmmc_rockchip ff0d0000.dwmmc: 'clock-freq-min-max' property was deprecated. [ 2.907576] dwmmc_rockchip ff0d0000.dwmmc: No vmmc regulator found [ 2.913769] dwmmc_rockchip ff0d0000.dwmmc: No vqmmc regulator found [ 2.920669] dwmmc_rockchip ff0f0000.dwmmc: IDMAC supports 32-bit address mode. [ 2.927985] dwmmc_rockchip ff0f0000.dwmmc: Using internal DMA controller. [ 2.934785] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a [ 2.940576] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo [ 2.950585] dwmmc_rockchip ff0f0000.dwmmc: 'clock-freq-min-max' property was deprecated. [ 2.958691] dwmmc_rockchip ff0f0000.dwmmc: No vmmc regulator found [ 2.964878] dwmmc_rockchip ff0f0000.dwmmc: No vqmmc regulator found [ 2.982546] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 3.003554] dwmmc_rockchip ff0f0000.dwmmc: 1 slots initialized [ 3.011547] sdhci-pltfm: SDHCI platform and OF driver helper [ 3.020438] hidraw: raw HID events driver (C) Jiri Kosina [ 3.026377] usbcore: registered new interface driver usbhid [ 3.031947] usbhid: USB HID core driver [ 3.035966] ashmem: initialized [ 3.039525] rockchip-dmc dmc: unable to get devfreq-event device : dfi [ 3.047108] rknandbase v1.2 2018-05-08 [ 3.051001] rknand: probe of ff400000.nandc failed with error -1 [ 3.068013] mmc1: MAN_BKOPS_EN bit is not set [ 3.075637] mmc_host mmc1: Bus speed (slot 0) = 99000000Hz (slot req 100000000Hz, actual 99000000HZ div = 0) [ 3.094577] dwmmc_rockchip ff0f0000.dwmmc: Successfully tuned phase to 42 [ 3.101453] mmc1: new HS200 MMC card at address 0001 [ 3.106879] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB [ 3.111533] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB [ 3.117603] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB [ 3.123678] mmcblk1rpmb: mmc1:0001 8WPD3R partition 3 512 KiB [ 3.129684] uboot: 0x000400000 -- 0x000800000 (4 MB) [ 3.135098] trust: 0x000800000 -- 0x000c00000 (4 MB) [ 3.140494] boot: 0x000c00000 -- 0x002c00000 (32 MB) [ 3.145992] backup: 0x002c00000 -- 0x003000000 (4 MB) [ 3.151387] linuxroot: 0x003000000 -- 0x1d1c00000 (7404 MB) [ 3.157184] mmcblk1: p1 p2 p3 p4 p5 [ 4.052852] rk3x-i2c ff660000.i2c: timeout, ipd: 0x00, state: 1 [ 4.078056] u32 classifier [ 4.080771] Netfilter messages via NETLINK v0.30. [ 4.085562] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 4.092039] ctnetlink v0.93: registering with nfnetlink. [ 4.097494] ip_set: protocol 6 [ 4.100557] IPVS: Registered protocols () [ 4.104608] IPVS: Connection hash table configured (size=4096, memory=32Kbytes) [ 4.112003] IPVS: Creating netns size=1104 id=0 [ 4.116642] IPVS: ipvs loaded. [ 4.120133] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.125593] Initializing XFRM netlink socket [ 4.130436] NET: Registered protocol family 10 [ 4.135549] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 4.141094] sit: IPv6 over IPv4 tunneling driver [ 4.146195] NET: Registered protocol family 17 [ 4.150658] NET: Registered protocol family 15 [ 4.155226] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 4.167873] Bridge firewalling registered [ 4.171974] Bluetooth: RFCOMM socket layer initialized [ 4.177158] Bluetooth: RFCOMM ver 1.11 [ 4.181040] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 4.186975] Bluetooth: HIDP socket layer initialized [ 4.191967] 8021q: 802.1Q VLAN Support v1.8 [ 4.196212] lib80211: common routines for IEEE802.11 drivers [ 4.201921] [WLAN_RFKILL]: Enter rfkill_wlan_init [ 4.206910] [WLAN_RFKILL]: Enter rfkill_wlan_probe [ 4.211720] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6212 [ 4.218608] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control. [ 4.225742] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio. [ 4.233179] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 150, flags = 0. [ 4.242383] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio [ 4.247617] [WLAN_RFKILL]: Exit rfkill_wlan_probe [ 4.252358] [BT_RFKILL]: Enter rfkill_rk_init [ 4.256959] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 139. [ 4.265166] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 149. [ 4.273273] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 146. [ 4.281283] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 151. [ 4.289918] [BT_RFKILL]: Request irq for bt wakeup host [ 4.295174] [BT_RFKILL]: BT_WAKE_HOST IRQ fired [ 4.295189] [BT_RFKILL]: ** disable irq [ 4.303642] [BT_RFKILL]: bt_default device registered. [ 4.308811] Key type dns_resolver registered [ 4.313813] ThumbEE CPU extension supported. [ 4.318137] Registering SWP/SWPB emulation handler [ 4.318142] vendor storage:20160801 ret = 0 [ 4.327482] Loading compiled-in X.509 certificates [ 4.332548] [drm] Rockchip DRM driver version: v1.0.1 [ 4.337763] rockchip-drm display-subsystem: devfreq is not set [ 4.343793] rockchip-vop ff930000.vop: invalid resource [ 4.349017] rockchip-vop ff930000.vop: failed to get vop cabc lut registers [ 4.356326] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc0d60e4c) [ 4.363667] rockchip-vop ff940000.vop: invalid resource [ 4.368889] rockchip-vop ff940000.vop: failed to get vop cabc lut registers [ 4.376170] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc0d60e4c) [ 4.383720] dwhdmi-rockchip ff980000.hdmi: registered DesignWare HDMI I2C bus driver [ 4.391504] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY) [ 4.402172] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc0d599f0) [ 4.409617] rockchip-drm display-subsystem: bound ff960000.dsi (ops 0xc0d59df8) [ 4.416932] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 4.423544] [drm] No driver support for vblank timestamp query. [ 4.475455] Freeing drm_logo memory: 328K [ 4.505966] Console: switching to colour frame buffer device 240x67 [ 4.566552] rockchip-drm display-subsystem: fb0: frame buffer device [ 4.603490] mali ffa30000.gpu: Failed to get leakage [ 4.608473] mali ffa30000.gpu: Failed to get pvtm [ 4.613852] W : [File] : drivers/gpu/arm/midgard/platform/rk/mali_kbase_config_rk.c; [Line] : 113; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available. [ 4.629189] mali ffa30000.gpu: GPU identified as 0x0750 r1p0 status 0 [ 4.636042] mali ffa30000.gpu: Protected mode not available [ 4.642001] mali ffa30000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model [ 4.653119] I : [File] : drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c; [Line] : 399; [Func] : kbase_devfreq_init(); success initing power_model_simple. [ 4.653163] devfreq ffa30000.gpu: Couldn't update frequency transition information. [ 4.675976] mali ffa30000.gpu: Probed as mali0 [ 4.681221] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input). [ 4.688286] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30). [ 4.693961] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10). [ 4.699626] rk_gmac-dwmac ff290000.ethernet: integrated PHY? (no). [ 4.705904] rk_gmac-dwmac ff290000.ethernet: cannot get clock clk_mac_speed [ 4.712884] rk_gmac-dwmac ff290000.ethernet: clock input from PHY [ 4.723976] rk_gmac-dwmac ff290000.ethernet: init for RGMII [ 4.729660] stmmac - user ID: 0x10, Synopsys ID: 0x35 [ 4.734737] Ring mode enabled [ 4.737787] DMA HW capability register supported [ 4.742311] Normal descriptors [ 4.745650] RX Checksum Offload Engine supported (type 2) [ 4.751127] TX Checksum insertion supported [ 4.755409] Wake-Up On Lan supported [ 4.759124] Enable RX Mitigation via HW Watchdog Timer [ 5.829114] libphy: stmmac: probed [ 5.832756] eth%d: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active [ 5.839238] eth%d: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01) [ 5.848088] rockchip-thermal ff280000.tsadc: Missing rockchip,grf property [ 5.855053] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=850000 [ 5.863765] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=850000 [ 5.872257] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647 [ 5.881627] rockchip-thermal ff280000.tsadc: tsadc is probed successfully! [ 5.889918] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode. [ 5.897252] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller. [ 5.904064] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a [ 5.909821] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo [ 5.919646] dwmmc_rockchip ff0d0000.dwmmc: 'clock-freq-min-max' property was deprecated. [ 5.927813] dwmmc_rockchip ff0d0000.dwmmc: No vmmc regulator found [ 5.934016] dwmmc_rockchip ff0d0000.dwmmc: No vqmmc regulator found [ 5.940637] dwmmc_rockchip ff0d0000.dwmmc: allocated mmc-pwrseq [ 5.962566] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 5.982808] dwmmc_rockchip ff0d0000.dwmmc: 1 slots initialized [ 5.990842] rockchip-dmc dmc: Failed to get leakage [ 5.996869] rockchip-dmc dmc: Failed to get pvtm [ 6.004305] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate [ 6.011039] rockchip-dmc dmc: could not find power_model node [ 6.026552] mmc_host mmc2: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0) [ 6.037354] mmc2: new high speed SDIO card at address 0001 [ 7.012803] rk3x-i2c ff660000.i2c: timeout, ipd: 0x00, state: 1 [ 7.025790] hdmi-audio-codec hdmi-audio-codec.4.auto: Invalid DAI interface format [ 7.033688] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: Failed to set DAI format: -22 [ 7.045006] asoc-simple-card spdif-sound: i2s-hifi <-> ff8b0000.sound mapping ok [ 8.052798] rk3x-i2c ff660000.i2c: timeout, ipd: 0x00, state: 1 [ 8.063597] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.2 (r) [ 8.063608] [ 8.063654] ======================================================= [ 8.063667] ==== Launching Wi-Fi driver! (Powered by Rockchip) ==== [ 8.063678] ======================================================= [ 8.063698] Realtek 8188EU USB WiFi driver (Powered by Rockchip,Ver v5.2.2.3_24783.20171030) init. [ 8.063719] [WLAN_RFKILL]: rockchip_wifi_power: 1 [ 8.063740] [WLAN_RFKILL]: wifi turn on power. -1 [ 8.063751] RTW: module init start [ 8.063767] RTW: rtl8188eu v5.2.2.3_24783.20171030 [ 8.063783] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter [ 8.064501] usbcore: registered new interface driver rtl8188eu [ 8.064517] RTW: module init ret=0 [ 8.067006] RTC date/time 2013-01-18(5) 09:13:00 [ 8.070886] rk808-rtc rk808-rtc: setting system clock to 2013-01-18 09:13:00 UTC (1358500380) [ 8.147598] ======== dhd_wlan_init_plat_data ======== [ 8.152997] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1 [ 8.158019] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = -1 [ 8.160880] vcc18_dvp: disabling [ 8.160906] vcc_flash: disabling [ 8.161726] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 417; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '-bb8193295', rk_ko_ver is '5', built at '14:28:02', on 'Mar 7 2019'. [ 8.164007] Mali: Mali device driver loaded [ 8.166356] usbcore: registered new interface driver snd-usb-audio [ 8.166410] ALSA device list: [ 8.166428] #0: hdmi,spdif [ 8.207633] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter [ 8.207666] dhd_wlan_init_gpio: host_oob_irq: 236 [ 8.207684] dhd_wlan_init_gpio: host_oob_irq_flags=0x414 [ 8.207699] dhd_wifi_platform_load: Enter [ 8.208158] Power-up adapter 'DHD generic adapter' [ 8.208702] wifi_platform_set_power = 1 [ 8.208744] ======== PULL WL_REG_ON(-1) HIGH! ======== [ 8.208763] [WLAN_RFKILL]: rockchip_wifi_power: 1 [ 8.208783] [WLAN_RFKILL]: wifi turn on power. -1 [ 8.311710] Freeing unused kernel memory: 1024K Loading, please wait... /init: line 224: can't create /sys/class/display/HDMI/enable: nonexistent directory [ 8.354899] udevd[151]: starting version 175 Begin: Loading essential drivers ... FATAL: Could not load /lib/modules/4.4.132/modules.dep: No such file or directory FATAL: Could not load /lib/modules/4.4.132/modules.dep: No such file or directory FATAL: Could not load /lib/modules/4.4.132/modules.dep: No such file or directory FATAL: Could not load /lib/modules/4.4.132/modules.dep: No such file or directory done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. ext4 Begin: Running /scripts/local-premount ... FATAL: Could not load /lib/modules/4.4.132/modules.dep: No such file or directory [ 8.512553] wifi_platform_bus_enumerate device present 1 [ 8.517890] ======== Card detection to detect SDIO card! ======== [ 8.524039] mmc2:mmc host rescan start! done. FATAL: Could not load /lib/modules/4.4.132/modules.dep: No such file or directory [ 8.576624] EXT4-fs (mmcblk1p5): recovery complete [ 8.581894] EXT4-fs (mmcblk1p5): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. [ 8.687379] systemd[1]: System time before build time, advancing clock. [ 8.700345] systemd[1]: Failed to insert module 'autofs4': No such file or directory [ 8.719777] random: systemd: uninitialized urandom read (16 bytes read, 73 bits of entropy available) [ 8.734872] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 8.753921] systemd[1]: Detected architecture arm. Welcome to Ubuntu 16.04 LTS! [ 8.759870] systemd[1]: Set hostname to <rpdzkj>. [ 8.778779] random: systemd: uninitialized urandom read (16 bytes read, 74 bits of entropy available) [ 8.796309] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 76 bits of entropy available) [ 8.797450] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 76 bits of entropy available) [ 8.806949] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 76 bits of entropy available) [ 8.826574] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 77 bits of entropy available) [ 8.836601] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 77 bits of entropy available) [ 8.866465] random: systemd: uninitialized urandom read (16 bytes read, 79 bits of entropy available) [ 8.876252] random: systemd: uninitialized urandom read (16 bytes read, 79 bits of entropy available) [ 8.885601] random: systemd: uninitialized urandom read (16 bytes read, 79 bits of entropy available) [ 8.979448] systemd[1]: Reached target Encrypted Volumes. [ OK ] Reached target Encrypted Volumes. [ 8.985367] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 8.995578] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 9.005660] systemd[1]: Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems (Pre). [ 9.016489] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 9.027645] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 9.038477] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 9.048187] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ 9.059500] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 9.073976] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 9.084591] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 9.098591] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. [ 9.109104] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 9.118781] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 9.129749] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 9.141413] systemd[1]: Started Read required files in advance. [ OK ] Started Read required files in advance. [ 9.158413] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 9.169594] systemd[1]: Starting Journal Service... Starting Journal Service... [ 9.181895] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 9.187581] systemd[1]: Reached target Sockets. [ OK ] Reached target Sockets. [ 9.197386] systemd[1]: Starting Nameserver information manager... Starting Nameserver information manager... [ 9.209780] systemd[1]: Mounting Debug File System... Mounting Debug File System... [ 9.216280] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 9.226127] systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... [ 9.238613] systemd[1]: Mounted Debug File System. [ OK ] Mounted Debug File System. [ 9.245267] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED [ 9.259244] systemd[1]: ureadahead.service: Unit entered failed state. [ 9.265838] systemd[1]: ureadahead.service: Failed with result 'exit-code'. [ 9.273666] systemd[1]: Started Remount Root and Kernel File Systems. [ OK ] Started Remount Root and Kernel File Systems. [ 9.281593] systemd[1]: Started Load Kernel Modules. [ OK ] Started Load Kernel Modules. [ 9.303690] systemd[1]: Started Create Static Device Nodes in /dev. [ OK ] Started Create Static Device Nodes in /dev. [ 9.311508] systemd[1]: Started Nameserver information manager. [ OK ] Started Nameserver information manager. [ 9.373518] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. Starting udev Kernel Device Manager... Starting Apply Kernel Variables... Mounting Configuration File System... Mounting FUSE Control File System... Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems (Pre). Starting Flush Journal to Persistent Storage... [ OK ] Reached target Local File Systems. Starting Set console keymap... Starting udev Coldplug all Devices... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Configuration File System. [ OK ] Started Apply Kernel Variables. [ OK ] Started Load/Save Random Seed. [ OK ] Started udev Kernel Device Manager. [ OK ] Started Set console keymap. [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... Starting Raise network interfaces... [ OK ] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [ OK ] Started udev Coldplug all Devices. [ OK ] Started Network Time Synchronization. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Raise network interfaces. [ OK ] Found device /dev/ttyFIQ0. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Reached target Sound Card. [ OK ] Reached target Network. [ OK ] Reached target System Time Synchronized. [ OK ] Created slice system-systemd\x2dbacklight.slice. Starting Load/Save Screen Backlight...htness of backlight:backlight... [ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight. Starting Load/Save RF Kill Switch Status... [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Daily apt activities. [ OK ] Reached target Timers. [ OK ] Started Trigger resolvconf update for networkd DNS. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"... Starting Permit User Sessions... Starting System Logging Service... [ OK ] Started Regular background program processing daemon. Starting getty on tty2-tty6 if dbus and logind are not available... Starting OpenBSD Secure Shell server... Starting Setup rpdzkj platform environment... Starting /etc/rc.local Compatibility... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started System Logging Service. [ OK ] Started Permit User Sessions. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Setup rpdzkj platform environment. [ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand". [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyFIQ0. [ OK ] Started Getty on tty1. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty6. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Reached target Login Prompts. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. [ OK ] Started Stop ureadahead data collection 45s after completed startup. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Ubuntu 16.04 LTS rpdzkj ttyFIQ0 rpdzkj login: rpdzkj Password: Last login: Mon Feb 18 12:26:44 UTC 2019 on ttyFIQ0 Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.132 armv7l) * Documentation: https://help.ubuntu.com/ rpdzkj@rpdzkj:~$ ls rpdzkj@rpdzkj:~$ pwd /home/rpdzkj rpdzkj@rpdzkj:~$ rpdzkj@rpdzkj:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 989M 0 989M 0% /dev tmpfs 400M 11M 390M 3% /run /dev/mmcblk1p5 430M 415M 0 100% / tmpfs 999M 0 999M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 999M 0 999M 0% /sys/fs/cgroup sudo resize2fs /dev/mmcblk1p5 sudo: unable to resolve host rpdzkj: Connection refused resize2fs 1.42.13 (17-May-2015) Filesystem at /dev/mmcblk1p5 is mounted on /; on-line resizing required old_desc_blocks = 1, new_desc_blocks = 1 The filesystem on /dev/mmcblk1p5 is now 1895424 (4k) blocks long. rpdzkj@rpdzkj:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 989M 0 989M 0% /dev tmpfs 400M 11M 390M 3% /run /dev/mmcblk1p5 7.2G 416M 6.4G 6% / tmpfs 999M 0 999M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 999M 0 999M 0% /sys/fs/cgroup
刷入的ubuntu系统有些不完美,有些硬件没驱动好,比如我的杂牌usb无线鼠标,但是有线键鼠可以正常使用,因为没有海天雄的官方源码。但说明一点,海天雄的硬件和荣品有很多相似的地方。
过段时间有空的话将移植Qt5到开发板
- 标签:
-
技术分享