您尚未登录。

楼主 #1 2020-08-26 00:32:23

Iron
会员
注册时间: 2018-10-23
已发帖子: 65
积分: 29.5
个人网站

imx6ull usb 下载运行 initrd

主要目的是在不烧写 emmc 或 sd 的情况下,通过 USB 下载实现运行和调试 u-boot, linux kernel, rootfs,外设驱动等。
采用 uuu.exe 在 windows 下写入 SDRAM,imx6ull 启动配置为 USB  方式。

:(遇到一个被自己坑的深坑,initrd 的第二个参数,必须是 rootfs 准确的文件大小,否则可能在调用解压缩处理时出错导致无法加载 rootfs,之前 v3s 图省事,填了一个较大的值,也能正常运行,但是 imx6ull 采用外部 SDRAM, 上电复位后的 RAM 值是 0xFFFFFFFF,最后导致挂载 rootfs 出错。
出错提示为: devtmpfs: error mounting -2

USB 下载运行测试文件
_20200826003120.png


CMD 命令行

uuu usb-run_scripts_imx-cpio.txt

uuu scripts 脚本

uuu_version 1.1.0

SDP: boot -f u-boot-dtb.imx -nojump

# 0x80000000 ~ 0xA000000
SDP: write -f zImage -addr 0x82000000
SDP: write -f imx6ull-14x14-evk.dtb -addr 0x83000000

SDP: write -f alpine-linux-rootfs\rootfs.cpio.gz -addr 0x84000000
#SDP: write -f alpine-linux-rootfs\rootfs.cpio -addr 0x84000000

SDP: jump -f u-boot-dtb.imx 
#SDPU: done

运行日志如下:

U-Boot 2020.07 (Aug 24 2020 - 01:57:45 +0800)

CPU:   Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 39C
Reset cause: POR
Model: Freescale i.MX6 UltraLiteLite 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM:  512 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   
Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.
Could not get PHY for FEC0: addr 2
Could not get PHY for FEC0: addr 2
No ethernet found.

Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1(part 0) is current device
switch to partitions #0, OK
mmc1(part 0) is current device
** No partition table - mmc 1 **
** No partition table - mmc 1 **
Booting from net ...

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.
Could not get PHY for FEC0: addr 2

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.
No ethernet found.

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.
Could not get PHY for FEC0: addr 2

Error: ethernet@20b4000 address not set.

Error: ethernet@20b4000 address not set.
No ethernet found.

Error: ethernet@20b4000 address not set.
zimage: Bad magic!
=> setenv bootargs console=ttymxc0,115200 initrd=0x84000000,4683796 root=/dev/ram0 rw; bootz 0x82000000 - 0x83000000
Kernel image @ 0x82000000 [ 0x000000 - 0x8038b0 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300a3b0

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.25-gb11492dff (iron@iron-debian-ipason) (gcc version 8.3.0 (Debian 8.3.0-2)) #14 SMP Wed Aug 26 00:06:59 +08 2020
[    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: Freescale i.MX6 UltraLiteLite 14x14 EVK Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x9c000000
[    0.000000] percpu: Embedded 20 pages/cpu s50344 r8192 d23384 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttymxc0,115200 initrd=0x84000000,4683796 root=/dev/ram0 rw
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 423320K/524288K available (12288K kernel code, 987K rwdata, 4288K rodata, 1024K init, 6598K bss, 35432K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU lockdep checking is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    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] random: get_random_bytes called from start_kernel+0x2b0/0x4c8 with crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000020] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000091] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.003917] Console: colour dummy device 80x30
[    0.004031] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.004077] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.004120] ... MAX_LOCK_DEPTH:          48
[    0.004162] ... MAX_LOCKDEP_KEYS:        8192
[    0.004201] ... CLASSHASH_SIZE:          4096
[    0.004243] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.004284] ... MAX_LOCKDEP_CHAINS:      65536
[    0.004323] ... CHAINHASH_SIZE:          32768
[    0.004364]  memory used by lock dependency info: 3997 kB
[    0.004406]  memory used for stack traces: 2112 kB
[    0.004447]  per task-struct memory footprint: 1536 bytes
[    0.004688] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.004761] pid_max: default: 32768 minimum: 301
[    0.005724] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.005799] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.014922] CPU: Testing write buffer coherency: ok
[    0.018236] CPU0: update cpu_capacity 1024
[    0.018310] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.024462] Setting up static identity map for 0x80100000 - 0x80100078
[    0.026025] rcu: Hierarchical SRCU implementation.
[    0.029238] smp: Bringing up secondary CPUs ...
[    0.029311] smp: Brought up 1 node, 1 CPU
[    0.029365] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.029412] CPU: All CPU(s) started in SVC mode.
[    0.035220] devtmpfs: initialized
[    0.086583] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.089043] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.089226] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.095642] pinctrl core: initialized pinctrl subsystem
[    0.107875] NET: Registered protocol family 16
[    0.168471] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.177497] cpuidle: using governor menu
[    0.222552] vdd3p0: supplied by regulator-dummy
[    0.227038] cpu: supplied by regulator-dummy
[    0.231390] vddsoc: supplied by regulator-dummy
[    0.295647] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.295856] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.307771] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.309811] imx6ul-pinctrl 2290000.iomuxc-snvs: no groups defined in /soc/aips-bus@2200000/iomuxc-snvs@2290000
[    0.309886] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.558159] mxs-dma 1804000.dma-apbh: initialized
[    0.571214] vgaarb: loaded
[    0.575372] SCSI subsystem initialized
[    0.579251] usbcore: registered new interface driver usbfs
[    0.580328] usbcore: registered new interface driver hub
[    0.580913] usbcore: registered new device driver usb
[    0.590393] i2c i2c-0: IMX I2C adapter registered
[    0.594926] i2c i2c-1: IMX I2C adapter registered
[    0.595833] mc: Linux media interface: v0.10
[    0.596170] videodev: Linux video capture interface: v2.00
[    0.597451] pps_core: LinuxPPS API ver. 1 registered
[    0.597511] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.597668] PTP clock support registered
[    0.600656] Advanced Linux Sound Architecture Driver Initialized.
[    0.608264] Bluetooth: Core ver 2.22
[    0.608589] NET: Registered protocol family 31
[    0.608643] Bluetooth: HCI device and connection manager initialized
[    0.608955] Bluetooth: HCI socket layer initialized
[    0.609050] Bluetooth: L2CAP socket layer initialized
[    0.609420] Bluetooth: SCO socket layer initialized
[    0.615580] clocksource: Switched to clocksource mxc_timer1
[    2.385035] thermal_sys: Registered thermal governor 'step_wise'
[    2.386905] NET: Registered protocol family 2
[    2.391641] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 10240 bytes, linear)
[    2.391937] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    2.392177] TCP bind hash table entries: 4096 (order: 5, 147456 bytes, linear)
[    2.393394] TCP: Hash tables configured (established 4096 bind 4096)
[    2.394437] UDP hash table entries: 256 (order: 2, 20480 bytes, linear)
[    2.394729] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes, linear)
[    2.396496] NET: Registered protocol family 1
[    2.402323] RPC: Registered named UNIX socket transport module.
[    2.402570] RPC: Registered udp transport module.
[    2.402624] RPC: Registered tcp transport module.
[    2.402674] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.406132] PCI: CLS 0 bytes, default 64
[    2.408853] Trying to unpack rootfs image as initramfs...
[    2.565951] random: fast init done
[    3.882008] Freeing initrd memory: 4576K
[    3.885644] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    3.896332] Initialise system trusted keyrings
[    3.898181] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    3.962382] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.969459] NFS: Registering the id_resolver key type
[    3.969919] Key type id_resolver registered
[    3.970158] Key type id_legacy registered
[    3.970647] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    4.080852] Key type asymmetric registered
[    4.081239] Asymmetric key parser 'x509' registered
[    4.081740] io scheduler mq-deadline registered
[    4.081808] io scheduler kyber registered
[    4.098696] pwm-backlight backlight-display: backlight-display supply power not found, using dummy regulator
[    4.129361] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    4.129632] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[    4.142903] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 21, base_baud = 5000000) is a IMX
[    4.893755] printk: console [ttymxc0] enabled
[    4.907283] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 65, base_baud = 5000000) is a IMX
[    4.947050] panel-simple panel: panel supply power not found, using dummy regulator
[    4.965102] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.972095] [drm] No driver support for vblank timestamp query.
[    4.989961] [drm] Initialized mxsfb-drm 1.0.0 20160824 for 21c8000.lcdif on minor 0
[    5.038745] Console: switching to colour frame buffer device 60x34
[    5.049761] mxsfb 21c8000.lcdif: fb0: mxsfb-drmdrmfb frame buffer device
[    5.131662] brd: module loaded
[    5.205138] loop: module loaded
[    5.240085] spi-nor spi4.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    5.251028] gpio@0 enforce active low on chipselect handle
[    5.272978] libphy: Fixed MDIO Bus: probed
[    5.281185] CAN device driver interface
[    5.295267] pps pps0: new PPS source ptp0
[    5.302549] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    5.309652] fec 20b4000.ethernet: Using random MAC address: 9e:0a:64:c9:ff:75
[    5.319053] libphy: fec_enet_mii_bus: probed
[    5.355040] fec 20b4000.ethernet eth0: registered PHC device 0
[    5.367468] pps pps1: new PPS source ptp1
[    5.374019] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    5.381310] fec 2188000.ethernet: Using random MAC address: fa:3c:9b:1e:37:9e
[    5.762627] libphy: fec_enet_mii_bus: probed
[    5.770748] fec 2188000.ethernet eth1: registered PHC device 1
[    5.780937] usbcore: registered new interface driver r8152
[    5.787462] usbcore: registered new interface driver lan78xx
[    5.793584] usbcore: registered new interface driver asix
[    5.799836] usbcore: registered new interface driver ax88179_178a
[    5.806702] usbcore: registered new interface driver cdc_ether
[    5.812952] usbcore: registered new interface driver smsc95xx
[    5.819216] usbcore: registered new interface driver net1080
[    5.825188] usbcore: registered new interface driver cdc_subset
[    5.831638] usbcore: registered new interface driver zaurus
[    5.837702] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    5.846002] usbcore: registered new interface driver cdc_ncm
[    5.851769] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.858554] ehci-pci: EHCI PCI platform driver
[    5.863346] ehci-mxc: Freescale On-Chip EHCI Host driver
[    5.870742] usbcore: registered new interface driver usb-storage
[    5.884177] imx_usb 2184000.usb: No over current polarity defined
[    5.891410] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[    5.914495] mxs_phy 20c9000.usbphy: vbus is not valid
[    5.926222] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[    5.941100] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    5.947106] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    5.985711] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    5.994743] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    6.003700] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.011190] usb usb1: Product: EHCI Host Controller
[    6.016309] usb usb1: Manufacturer: Linux 5.4.25-gb11492dff ehci_hcd
[    6.022759] usb usb1: SerialNumber: ci_hdrc.1
[    6.036975] hub 1-0:1.0: USB hub found
[    6.041601] hub 1-0:1.0: 1 port detected
[    6.064896] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[    6.089424] input: iMX6UL Touchscreen Controller as /devices/soc0/soc/2000000.aips-bus/2040000.tsc/input/input1
[    6.119273] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    6.126458] i2c /dev entries driver
[    6.139591] pxp 21cc000.pxp: Device registered as /dev/video0
[    6.169434] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    6.177316] Bluetooth: HCI UART driver ver 2.3
[    6.181878] Bluetooth: HCI UART protocol H4 registered
[    6.187503] Bluetooth: HCI UART protocol LL registered
[    6.196760] sdhci: Secure Digital Host Controller Interface driver
[    6.203044] sdhci: Copyright(c) Pierre Ossman
[    6.207676] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.218251] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    6.269532] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    6.318707] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    6.407018] usbcore: registered new interface driver usbhid
[    6.412826] usbhid: USB HID core driver
[    6.431610] mag3110 0-000e: 0-000e supply vdd not found, using dummy regulator
[    6.442936] mmc1: new DDR MMC card at address 0001
[    6.449157] mag3110 0-000e: 0-000e supply vddio not found, using dummy regulator
[    6.467423] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB 
[    6.473718] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    6.498506] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    6.517322] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB, chardev (244:0)
[    6.527751] wm8960 1-001a: Failed to issue reset
[    6.602113] NET: Registered protocol family 10
[    6.628615] Segment Routing with IPv6
[    6.632707] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.644032] NET: Registered protocol family 17
[    6.649194] can: controller area network core (rev 20170425 abi 9)
[    6.656220] NET: Registered protocol family 29
[    6.660793] can: raw protocol (rev 20170425)
[    6.665743] can: broadcast manager protocol (rev 20170425 t)
[    6.671585] can: netlink gateway (rev 20190810) max_hops=1
[    6.679114] Key type dns_resolver registered
[    6.710899] Registering SWP/SWPB emulation handler
[    6.716884] Loading compiled-in X.509 certificates
[    6.855653] regulator-can-3v3 GPIO handle specifies active low - ignored
[    6.881858] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    6.900792] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T02:08:19 UTC (7699)
[    6.910775] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.942716] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.950945] ALSA device list:
[    6.955216] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.964310] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    6.972748]   No soundcards found.
[    6.982092] Freeing unused kernel memory: 1024K
[    6.996278] Run /init as init process

   OpenRC 0.41.2.2bf3cea is starting up Buildroot 2020.02-g2bf3cea (armv7l)

 * Mounting /proc ... [ ok ]
 * Mounting /run ... * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
 * Caching service dependencies ... [ ok ]
 * Clock skew detected with `(null)'
 * Adjusting mtime of `/run/openrc/deptree' to Sun Aug 23 15:43:37 2020

 * WARNING: clock skew detected!
 * Mounting /sys ... [ ok ]
 * Mounting security filesystem ... [ ok ]
 * Mounting debug filesystem ... [ ok ]
 * Mounting cgroup filesystem ... [ ok ]
 * Remounting devtmpfs on /dev ... [ ok ]
 * Mounting /dev/pts ... [ ok ]
 * Mounting /dev/shm ... [ ok ]
 * WARNING: clock skew detected!
 * Setting system clock using the hardware clock [UTC] ... [ ok ]
modprobe: can't change directory to '5.4.25-gb11492dff': No such file or directory
 * Loading custom binary format handlers ... [ ok ]
 * Checking local filesystems  ... [ ok ]
 * Remounting filesystems ... [ ok ]
 * Updating /etc/mtab ... * Creating mtab symbolic link
 [ ok ]
 * Activating swap devices ... [ ok ]
 * Mounting local filesystems ... [ ok ]
 * Configuring kernel parameters ... [ ok ]
 * Migrating /var/lock to /run/lock ... [ ok ]
 * Creating user login records ... [ ok ]
 * Wiping /tmp directory ... [ ok ]
 * Setting hostname to localhost from /etc/hostname ... [ ok ]
 * Bringing up network interface lo ... [ ok ]
 * Starting networking ... *   lo ...ip: RTNETLINK answers: File exists
 [ !! ]
 *   eth0 ...udhcpc: started, v1.31.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.1.204
udhcpc: lease of 192.168.1.204 obtained, lease time 259200
 [ ok ]
 * Setting terminal encoding [ASCII] ... [ ok ]
 * Saving terminal encoding ... [ ok ]
 * Adding static routes ... [ ok ]
 * WARNING: clock skew detected!
 * Starting /etc/init.d/S01syslogd
 [ ok ]
 * Starting /etc/init.d/S02klogd
 [ ok ]
 * Starting /etc/init.d/S02sysctl
 [ ok ]
 * Starting /etc/init.d/S20urandom
 [ ok ]
 * Starting /etc/init.d/S40network
ip: RTNETLINK answers: File exists
ifup: interface eth0 already configured
 [ ok ]

Welcome to Alpine Linux 3.12
Kernel 5.4.25-gb11492dff on an armv7l (/dev/ttymxc0)

localhost login: root
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <http://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 9E:0A:64:C9:FF:75  
          inet addr:192.168.1.204  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::9c0a:64ff:fec9:ff75/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1390 (1.3 KiB)  TX bytes:1424 (1.3 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

localhost:~# free
              total        used        free      shared  buff/cache   available
Mem:         494456       26204      454476         120       13776      456540
Swap:             0           0           0
localhost:~# df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                 10.0M         0     10.0M   0% /dev
tmpfs                    48.3M    120.0K     48.2M   0% /run
cgroup_root              10.0M         0     10.0M   0% /sys/fs/cgroup
shm                     241.4M         0    241.4M   0% /dev/shm
localhost:~# fdisk -l
Disk /dev/mmcblk1: 7456 MB, 7818182656 bytes, 15269888 sectors
238592 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Disk /dev/mmcblk1 doesn't contain a valid partition table
localhost:~# 

离线

页脚

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

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