您尚未登录。

楼主 #1 2018-09-19 13:58:23

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 716
积分: 698

dd if=/dev/zero of=flashimg.bin bs=1M count=16 为什么出来的文件是大于16M

我用上面的语句生成一个空文件,大小的是16M
none_20180919-0157.png

就会出现上面的文件大小  , 因为我的flash 是16M的 这里生成出来是16.8M了

离线

楼主 #3 2018-09-19 14:32:35

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 716
积分: 698

Re: dd if=/dev/zero of=flashimg.bin bs=1M count=16 为什么出来的文件是大于16M

晕哥 说:

16777216 = 0x1000000 = 16MiB = 16.8MB

1024B = 1KiB = 1.024 KB

你按上面的算一下.

我现在是要通过jffs2去启动 板子  还是有点问题 不知道是那一块出现了问题
none_20180919-0231.png

离线

楼主 #5 2018-09-19 14:55:00

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 716
积分: 698

Re: dd if=/dev/zero of=flashimg.bin bs=1M count=16 为什么出来的文件是大于16M

晕哥 说:

文件系统挂载成功了,但是 /sbin/init 不能执行, /bin/sh 也不能执行.


刚才重新换了一个文件系统  重新编译后 出现下面的   应该是成功了  你看看呗 晕哥


U-Boot SPL 2017.01-rc2-00073-gdd6e874-dirty (Sep 18 2018 - 20:47:38)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Sep 18 2018 - 20:47:38 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Sep 18 2018 - 20:47:38 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffef8 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #3                                        SMP Tue Sep 18 18:33:03 PDT 2018
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(d                                       tb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    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: 53580K/64036K available (6144K kernel code, 217K rwdata, 1452K rodata, 1024K init, 264K bss, 10456K                                        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 : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 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 - 0xc0a36780   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fc6c   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000191] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000421] Console: colour dummy device 80x30
[    0.000456] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000471] pid_max: default: 32768 minimum: 301
[    0.000605] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000621] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001222] CPU: Testing write buffer coherency: ok
[    0.001601] /cpus/cpu@0 missing clock-frequency property
[    0.001626] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002075] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002257] Hierarchical SRCU implementation.
[    0.002782] smp: Bringing up secondary CPUs ...
[    0.002797] smp: Brought up 1 node, 1 CPU
[    0.002807] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002814] CPU: All CPU(s) started in SVC mode.
[    0.003575] devtmpfs: initialized
[    0.006715] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007002] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007028] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007195] pinctrl core: initialized pinctrl subsystem
[    0.008072] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008206] NET: Registered protocol family 16
[    0.008691] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009844] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009862] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023333] SCSI subsystem initialized
[    0.023646] usbcore: registered new interface driver usbfs
[    0.023715] usbcore: registered new interface driver hub
[    0.023808] usbcore: registered new device driver usb
[    0.024067] pps_core: LinuxPPS API ver. 1 registered
[    0.024077] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024100] PTP clock support registered
[    0.024342] Advanced Linux Sound Architecture Driver Initialized.
[    0.026216] clocksource: Switched to clocksource arch_sys_counter
[    0.037459] NET: Registered protocol family 2
[    0.038053] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038090] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.038114] TCP: Hash tables configured (established 1024 bind 1024)
[    0.038242] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.038290] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038513] NET: Registered protocol family 1
[    0.039115] RPC: Registered named UNIX socket transport module.
[    0.039134] RPC: Registered udp transport module.
[    0.039140] RPC: Registered tcp transport module.
[    0.039146] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.041078] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049944] NFS: Registering the id_resolver key type
[    0.049998] Key type id_resolver registered
[    0.050004] Key type id_legacy registered
[    0.050049] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.051595] random: fast init done
[    0.054545] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.054567] io scheduler noop registered
[    0.054575] io scheduler deadline registered
[    0.054843] io scheduler cfq registered (default)
[    0.054854] io scheduler mq-deadline registered
[    0.054862] io scheduler kyber registered
[    0.059283] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.129793] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.133050] console [ttyS0] disabled
[    0.153330] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.742239] console [ttyS0] enabled
[    0.750273] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    0.755702] spi32766.0: parser cmdlinepart: 4
[    0.760141] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.766422] Creating 4 MTD partitions on "spi32766.0":
[    0.771566] 0x000000000000-0x000000100000 : "uboot"
[    0.777099] 0x000000100000-0x000000110000 : "dtb"
[    0.782238] 0x000000110000-0x000000510000 : "kernel"
[    0.787665] 0x000000510000-0x000001000000 : "rootfs"
[    0.793423] libphy: Fixed MDIO Bus: probed
[    0.798125] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.803920] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.809695] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.815696] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 38000)
[    0.825281] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.830973] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.838201] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.843853] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.851078] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.856036] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.863003] libphy: stmmac: probed
[    0.868353] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.874891] ehci-platform: EHCI generic platform driver
[    0.880535] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.886155] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.894137] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.926235] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.933502] hub 1-0:1.0: USB hub found
[    0.937454] hub 1-0:1.0: 1 port detected
[    0.941980] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.948278] ohci-platform: OHCI generic platform driver
[    0.953852] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.960594] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.968555] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.041344] hub 2-0:1.0: USB hub found
[    1.045164] hub 2-0:1.0: 1 port detected
[    1.052800] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.062387] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.071309] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.078219] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.082756] i2c /dev entries driver
[    1.087618] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.097146] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.166269] sunxi-mmc 1c0f000.mmc: base:0xc407d000 irq:23
[    1.226249] sunxi-mmc 1c10000.mmc: base:0xc423d000 irq:24
[    1.232666] usbcore: registered new interface driver usbhid
[    1.238320] usbhid: USB HID core driver
[    1.243803] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.251852] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.259323] NET: Registered protocol family 17
[    1.263898] Key type dns_resolver registered
[    1.268438] Registering SWP/SWPB emulation handler
[    1.280917] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.291632] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.307962] Console: switching to colour frame buffer device 100x30
[    1.320384] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.328959] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.340343] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.346114] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.355335] hub 3-0:1.0: USB hub found
[    1.359339] hub 3-0:1.0: 1 port detected
[    1.364432] using random self ethernet address
[    1.368991] using random host ethernet address
[    1.374551] usb0: HOST MAC 4a:dc:d5:a7:b4:ee
[    1.378981] usb0: MAC 16:d5:5a:6f:8e:2a
[    1.382865] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.390386] g_cdc gadget: g_cdc ready
[    1.396828] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.406497] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 04:02:11 UTC (14531)
[    1.415013] vcc3v3: disabling
[    1.418064] vcc5v0: disabling
[    1.421033] ALSA device list:
[    1.423996]   #0: V3s Audio Codec
[    1.465501] random: crng init done
[    1.721299] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    1.728515] devtmpfs: mounted
[    1.732781] Freeing unused kernel memory: 1024K
[    2.362518] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-464c, throttling..                                       .
[    7.366242] request_module: modprobe binfmt-464c cannot be processed, kmod busy with 50 threads for more than 5 seconds                                        now
[    7.381847] Starting init: /sbin/init exists but couldn't execute it (error -8)
[    7.418936] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-464c, throttling..                                       .
[   12.486251] request_module: modprobe binfmt-464c cannot be processed, kmod busy with 50 threads for more than 5 seconds                                        now
[   12.501882] Starting init: /bin/sh exists but couldn't execute it (error -8)
[   12.520217] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentat                                       ion/admin-guide/init.rst for guidance.
[   12.534370] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #3
[   12.541666] Hardware name: Allwinner sun8i Family
[   12.546405] [<c010e5cc>] (unwind_backtrace) from [<c010b2b0>] (show_stack+0x10/0x14)
[   12.554149] [<c010b2b0>] (show_stack) from [<c06716fc>] (dump_stack+0x84/0x98)
[   12.561374] [<c06716fc>] (dump_stack) from [<c011b6e8>] (panic+0xdc/0x248)
[   12.568251] [<c011b6e8>] (panic) from [<c06846c4>] (kernel_init+0xf8/0x108)
[   12.575209] [<c06846c4>] (kernel_init) from [<c0107638>] (ret_from_fork+0x14/0x3c)
[   12.582780] Rebooting in 5 seconds..

U-Boot SPL 2017.01-rc2-00073-gdd6e874-dirty (Sep 18 2018 - 20:47:38)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Sep 18 2018 - 20:47:38 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Sep 18 2018 - 20:47:38 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffef8 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #3 SMP Tue Sep 18 18:33:03 PDT 2018
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    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: 53580K/64036K available (6144K kernel code, 217K rwdata, 1452K rodata, 1024K init, 264K bss, 10456K 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 : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 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 - 0xc0a36780   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fc6c   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000021] Switching to timer-based delay loop, resolution 41ns
[    0.000188] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000419] Console: colour dummy device 80x30
[    0.000456] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000472] pid_max: default: 32768 minimum: 301
[    0.000607] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000622] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001221] CPU: Testing write buffer coherency: ok
[    0.001604] /cpus/cpu@0 missing clock-frequency property
[    0.001630] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002086] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002266] Hierarchical SRCU implementation.
[    0.002801] smp: Bringing up secondary CPUs ...
[    0.002815] smp: Brought up 1 node, 1 CPU
[    0.002824] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002832] CPU: All CPU(s) started in SVC mode.
[    0.003607] devtmpfs: initialized
[    0.006744] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007031] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007057] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007223] pinctrl core: initialized pinctrl subsystem
[    0.008096] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008233] NET: Registered protocol family 16
[    0.008720] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009872] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009971] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023359] SCSI subsystem initialized
[    0.023663] usbcore: registered new interface driver usbfs
[    0.023733] usbcore: registered new interface driver hub
[    0.023826] usbcore: registered new device driver usb
[    0.024080] pps_core: LinuxPPS API ver. 1 registered
[    0.024089] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024110] PTP clock support registered
[    0.024344] Advanced Linux Sound Architecture Driver Initialized.
[    0.026221] clocksource: Switched to clocksource arch_sys_counter
[    0.037465] NET: Registered protocol family 2
[    0.038051] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038087] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.038112] TCP: Hash tables configured (established 1024 bind 1024)
[    0.038241] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.038290] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038506] NET: Registered protocol family 1
[    0.039119] RPC: Registered named UNIX socket transport module.
[    0.039143] RPC: Registered udp transport module.
[    0.039149] RPC: Registered tcp transport module.
[    0.039155] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.041108] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049999] NFS: Registering the id_resolver key type
[    0.050049] Key type id_resolver registered
[    0.050055] Key type id_legacy registered
[    0.050101] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.051663] random: fast init done
[    0.054617] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.054639] io scheduler noop registered
[    0.054647] io scheduler deadline registered
[    0.054918] io scheduler cfq registered (default)
[    0.054930] io scheduler mq-deadline registered
[    0.054937] io scheduler kyber registered
[    0.059365] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.129692] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.132936] console [ttyS0] disabled
[    0.153212] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.742116] console [ttyS0] enabled
[    0.750178] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    0.755607] spi32766.0: parser cmdlinepart: 4
[    0.760044] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.766325] Creating 4 MTD partitions on "spi32766.0":
[    0.771468] 0x000000000000-0x000000100000 : "uboot"
[    0.777001] 0x000000100000-0x000000110000 : "dtb"
[    0.782132] 0x000000110000-0x000000510000 : "kernel"
[    0.787553] 0x000000510000-0x000001000000 : "rootfs"
[    0.793318] libphy: Fixed MDIO Bus: probed
[    0.798012] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.803807] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.809589] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.815584] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 38000)
[    0.825170] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.830858] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.838088] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.843740] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.850965] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.855923] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.862891] libphy: stmmac: probed
[    0.868237] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.874775] ehci-platform: EHCI generic platform driver
[    0.880421] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.886038] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.894022] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.926239] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.933532] hub 1-0:1.0: USB hub found
[    0.937484] hub 1-0:1.0: 1 port detected
[    0.942008] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.948308] ohci-platform: OHCI generic platform driver
[    0.953878] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.960619] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.968570] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.041346] hub 2-0:1.0: USB hub found
[    1.045166] hub 2-0:1.0: 1 port detected
[    1.052803] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.062394] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.071324] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.078231] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.082769] i2c /dev entries driver
[    1.087639] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.097155] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.166269] sunxi-mmc 1c0f000.mmc: base:0xc407d000 irq:23
[    1.226253] sunxi-mmc 1c10000.mmc: base:0xc423d000 irq:24
[    1.232662] usbcore: registered new interface driver usbhid
[    1.238317] usbhid: USB HID core driver
[    1.243778] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.251833] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.259298] NET: Registered protocol family 17
[    1.263880] Key type dns_resolver registered
[    1.268416] Registering SWP/SWPB emulation handler
[    1.280870] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.291585] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.307891] Console: switching to colour frame buffer device 100x30
[    1.320310] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.328879] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.340263] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.346032] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.355247] hub 3-0:1.0: USB hub found
[    1.359248] hub 3-0:1.0: 1 port detected
[    1.364338] using random self ethernet address
[    1.368881] using random host ethernet address
[    1.374446] usb0: HOST MAC 42:b4:99:86:96:d4
[    1.378880] usb0: MAC 9a:e9:8c:f4:3d:82
[    1.382766] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.390283] g_cdc gadget: g_cdc ready
[    1.396712] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.406403] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 04:04:03 UTC (14643)
[    1.414917] vcc3v3: disabling
[    1.417956] vcc5v0: disabling
[    1.420925] ALSA device list:
[    1.423888]   #0: V3s Audio Codec
[    1.465345] random: crng init done
[    1.998398] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    2.005587] devtmpfs: mounted
[    2.009924] Freeing unused kernel memory: 1024K
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK

Welcome to Lichee Pi
Lichee login: root
#
#
#
#
#

离线

楼主 #7 2018-09-19 15:09:22

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 716
积分: 698

Re: dd if=/dev/zero of=flashimg.bin bs=1M count=16 为什么出来的文件是大于16M

晕哥 说:

第一次不成功, 并自动重启?第二次可以?



是我换了一个根文件系统

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn