OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 1291|回复: 3

实现uboot从网络上加载uboot、zImage、dtb、rootf

[复制链接]

9

主题

767

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
5274
金钱
5274
注册时间
2019-9-25
在线时间
433 小时
发表于 2020-2-22 16:08:55 | 显示全部楼层 |阅读模式
本帖最后由 茂茂2019 于 2020-3-5 20:20 编辑

如下信息:从uboot启动,再次加载网络上的uboot、加载内核、设备树与文件系统。下面的成功的信息。可以从下面的信息看到我的操作步骤,不难,大家有兴趣就学习下

U-Boot 2016.03 (Mar 05 2020 - 18:46:35 +0800)

CPU:   Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 49C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C:   ready
DRAM:  512 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
unsupported panel ATK-LCD-7-800x480
In:    serial
Out:   serial
Err:   serial
switch to partitions #0, OK
mmc1(part 0) is current device
Net:   FEC1
Normal Boot
Hit any key to stop autoboot:  0
FEC1 Waiting for PHY auto negotiation to complete... done
Using FEC1 device
TFTP from server 192.168.1.216; our IP address is 192.168.1.245
Filename 'u-boot.bin'.
Load address: 0x87800000
Loading: ##########################
         1.9 MiB/s
done
Bytes transferred = 375916 (5bc6c hex)
## Starting application at 0x87800000 ...


U-Boot 2016.03 (Mar 05 2020 - 19:59:03 +0800)

CPU:   Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 51C
Reset cause: unknown reset
Board: MX6ULL 14x14 EVK
I2C:   ready
DRAM:  512 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

unsupported panel ATK-LCD-7-800x480
In:    serial
Out:   serial
Err:   serial
switch to partitions #0, OK
mmc1(part 0) is current device
Net:   FEC1
Normal Boot
Hit any key to stop autoboot:  0
FEC1 Waiting for PHY auto negotiation to complete... done
Using FEC1 device
File transfer via NFS from server 192.168.1.216; our IP address is 192.168.1.245
Filename '/home/alientek/nfs/zImage'.
Load address: 0x80800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################
done
Bytes transferred = 6786272 (678ce0 hex)
Using FEC1 device
File transfer via NFS from server 192.168.1.216; our IP address is 192.168.1.245
Filename '/home/alientek/nfs/imx6ull-14x14-emmc-7-800x480-c.dtb'.
Load address: 0x83000000
Loading: ########T
done
Bytes transferred = 38823 (97a7 hex)
Kernel image @ 0x80800000 [ 0x000000 - 0x678ce0 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 83000000, end 8300c7a6

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.1.15-g52f6b26 (alientek@ubuntu) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Wed Jan 15 17:44:30 CST 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Freescale i.MX6 ULL 14x14 EVK Board
[    0.000000] Reserved memory: created CMA memory pool at 0x98000000, size 128 MiB
[    0.000000] Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 12 pages/cpu @97b90000 s16780 r8192 d24180 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/nfs rw nfsroot=192.168.1.216:/home/alientek/nfs ip=192.168.1.245:192.168.1.216:192.168.1.1:255.255.255.0::eth0ff
[    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: 375280K/524288K available (8547K kernel code, 450K rwdata, 2964K rodata, 524K init, 451K bss, 17936K reserved, 131072K 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 : 0xa0800000 - 0xff000000   (1512 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
[    0.000000]       .text : 0x80008000 - 0x80b46274   (11513 kB)
[    0.000000]       .init : 0x80b47000 - 0x80bca000   ( 524 kB)
[    0.000000]       .data : 0x80bca000 - 0x80c3a9a0   ( 451 kB)
[    0.000000]        .bss : 0x80c3d000 - 0x80cadfc4   ( 452 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 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 16
[    0.000000] mxc_clocksource_init 3000000
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000015] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000056] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.002872] Console: colour dummy device 80x30
[    0.002914] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.002949] pid_max: default: 32768 minimum: 301
[    0.003176] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003205] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.004582] CPU: Testing write buffer coherency: ok
[    0.005080] /cpus/cpu@0 missing clock-frequency property
[    0.005121] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005228] Setting up static identity map for 0x80008280 - 0x800082d8
[    0.041189] Brought up 1 CPUs
[    0.041227] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.041247] CPU: All CPU(s) started in SVC mode.
[    0.042357] devtmpfs: initialized
[    0.059376] device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
[    0.065843] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.066736] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.076777] pinctrl core: initialized pinctrl subsystem
[    0.079499] NET: Registered protocol family 16
[    0.097635] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.121273] cpuidle: using governor ladder
[    0.151335] cpuidle: using governor menu
[    0.201705] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.201740] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.206208] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.207019] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.279100] mxs-dma 1804000.dma-apbh: initialized
[    0.286375] SCSI subsystem initialized
[    0.287723] usbcore: registered new interface driver usbfs
[    0.287902] usbcore: registered new interface driver hub
[    0.288118] usbcore: registered new device driver usb
[    0.291113] i2c i2c-0: IMX I2C adapter registered
[    0.291161] i2c i2c-0: can't use DMA
[    0.293205] i2c i2c-1: IMX I2C adapter registered
[    0.293251] i2c i2c-1: can't use DMA
[    0.293582] Linux video capture interface: v2.00
[    0.293789] pps_core: LinuxPPS API ver. 1 registered
[    0.293814] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.293894] PTP clock support registered
[    0.296890] MIPI CSI2 driver module loaded
[    0.297597] Advanced Linux Sound Architecture Driver Initialized.
[    0.299844] Bluetooth: Core ver 2.20
[    0.299976] NET: Registered protocol family 31
[    0.300000] Bluetooth: HCI device and connection manager initialized
[    0.300045] Bluetooth: HCI socket layer initialized
[    0.300080] Bluetooth: L2CAP socket layer initialized
[    0.300168] Bluetooth: SCO socket layer initialized
[    0.302838] Switched to clocksource mxc_timer1
[    0.329942] NET: Registered protocol family 2
[    0.331529] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.331667] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.331824] TCP: Hash tables configured (established 4096 bind 4096)
[    0.331960] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.332024] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.332466] NET: Registered protocol family 1
[    0.333318] RPC: Registered named UNIX socket transport module.
[    0.333351] RPC: Registered udp transport module.
[    0.333371] RPC: Registered tcp transport module.
[    0.333390] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.336918] imx rpmsg driver is registered.
[    0.339774] Bus freq driver module loaded
[    0.341973] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.359124] VFS: Disk quotas dquot_6.6.0
[    0.359624] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.365437] NFS: Registering the id_resolver key type
[    0.365552] Key type id_resolver registered
[    0.365574] Key type id_legacy registered
[    0.365767] jffs2: version 2.2. (NAND) &#169; 2001-2006 Red Hat, Inc.
[    0.367677] fuse init (API version 7.23)
[    0.378846] io scheduler noop registered
[    0.378898] io scheduler deadline registered
[    0.379410] io scheduler cfq registered (default)
[    0.380570] imx-weim 21b8000.weim: Driver registered.
[    0.387474] backlight supply power not found, using dummy regulator
[    0.390008] MIPI DSI driver module loaded
[    0.390526] MIPI DSI driver module loaded
[    0.396725] 21c8000.lcdif supply lcd not found, using dummy regulator
[    0.504703] mxsfb 21c8000.lcdif: failed to find mxc display driver
[    0.514404] Console: switching to colour frame buffer device 100x30
[    0.528931] mxsfb 21c8000.lcdif: initialized
[    0.531093] imx-sdma 20ec000.sdma: no event needs to be remapped
[    0.531310] imx-sdma 20ec000.sdma: loaded firmware 3.3
[    0.538657] imx-sdma 20ec000.sdma: initialized
[    0.540981] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX
[    1.237347] console [ttymxc0] enabled
[    1.243092] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 233, base_baud = 5000000) is a IMX
[    1.341084] imx-rng 2284000.rngb: iMX RNG Registered.
[    1.346958] imx sema4 driver is registered.
[    1.351338] [drm] Initialized drm 1.1.0 20060810
[    1.357374] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[    1.389334] brd: module loaded
[    1.405681] loop: module loaded
[    1.414499] fsl-quadspi 21e0000.qspi: unrecognized JEDEC id bytes: ff, ff, ff
[    1.421690] fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed
[    1.434465] spi_imx 2010000.ecspi: probed
[    1.441273] CAN device driver interface
[    1.448438] flexcan 2090000.can: device registered (reg_base=a0a00000, irq=26)
[    1.458134] 20b4000.ethernet supply phy not found, using dummy regulator
[    1.674012] pps pps0: new PPS source ptp0
[    1.680569] libphy: fec_enet_mii_bus: probed
[    1.689185] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.696963] 2188000.ethernet supply phy not found, using dummy regulator
[    1.913904] pps pps1: new PPS source ptp1
[    1.921655] fec 2188000.ethernet eth1: registered PHC device 1
[    1.929451] PPP generic driver version 2.4.2
[    1.934420] PPP BSD Compression module registered
[    1.939182] PPP Deflate Compression module registered
[    1.944381] PPP MPPE Compression module registered
[    1.949237] NET: Registered protocol family 24
[    1.954044] usbcore: registered new interface driver asix
[    1.959639] usbcore: registered new interface driver ax88179_178a
[    1.966013] usbcore: registered new interface driver cdc_ether
[    1.972024] usbcore: registered new interface driver net1080
[    1.977932] usbcore: registered new interface driver cdc_subset
[    1.984078] usbcore: registered new interface driver zaurus
[    1.989927] usbcore: registered new interface driver cdc_ncm
[    1.995693] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.002264] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.008138] usbcore: registered new interface driver usb-storage
[    2.014452] usbcore: registered new interface driver usb_ehset_test
[    2.023647] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    2.032954] 2184000.usb supply vbus not found, using dummy regulator
[    2.045739] 2184200.usb supply vbus not found, using dummy regulator
[    2.056163] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.061157] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.082968] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.090676] hub 1-0:1.0: USB hub found
[    2.094730] hub 1-0:1.0: 1 port detected
[    2.101297] mousedev: PS/2 mouse device common for all mice
[    2.109037] input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[    2.412908] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.462414] input: EP0820M09 as /devices/platform/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0038/input/input1
[    2.474551] <<-GTP-INFO->> GTP driver installing...
[    2.484048] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[    2.493236] i2c /dev entries driver
[    2.499600] IR NEC protocol handler initialized
[    2.504292] IR RC5(x/sz) protocol handler initialized
[    2.509390] IR RC6 protocol handler initialized
[    2.514004] IR JVC protocol handler initialized
[    2.518572] IR Sony protocol handler initialized
[    2.523346] IR SANYO protocol handler initialized
[    2.528094] IR Sharp protocol handler initialized
[    2.532985] IR MCE Keyboard/mouse protocol handler initialized
[    2.538993] IR XMP protocol handler initialized
[    2.547050] pxp-v4l2 pxp_v4l2: initialized
[    2.553212] 0-000e supply vdd not found, using dummy regulator
[    2.559291] 0-000e supply vddio not found, using dummy regulator
[    2.565649] mag3110 0-000e: check mag3110 chip ID
[    2.570847] mag3110 0-000e: read chip ID 0xfffffffb is not equal to 0xc4!
[    2.578340] mag3110: probe of 0-000e failed with error -22
[    2.585932] hub 1-1:1.0: USB hub found
[    2.592236] imx2-wdt 20bc000.wdog: use WDOG_B to reboot.
[    2.597880] hub 1-1:1.0: 4 ports detected
[    2.604338] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    2.611577] Bluetooth: HCI UART driver ver 2.3
[    2.616167] Bluetooth: HCI UART protocol H4 registered
[    2.621362] Bluetooth: HCI UART protocol BCSP registered
[    2.626743] Bluetooth: HCI UART protocol ATH3K registered
[    2.632480] usbcore: registered new interface driver bcm203x
[    2.638436] usbcore: registered new interface driver btusb
[    2.644232] usbcore: registered new interface driver ath3k
[    2.650866] sdhci: Secure Digital Host Controller Interface driver
[    2.657184] sdhci: Copyright(c) Pierre Ossman
[    2.661589] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.669853] /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
[    2.677279] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    2.684671] sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
[    2.734352] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    2.750978] /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
[    2.764658] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
[    2.773064] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
[    2.832911] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.853525] usbcore: registered new interface driver usbhid
[    2.859188] usbhid: USB HID core driver
[    2.877977] fsl-asrc 2034000.asrc: driver registered
[    2.883237] usb 1-1.1: new low-speed USB device number 3 using ci_hdrc
[    2.902228] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[    2.911644] imx-wm8960 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
[    2.919242] imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
[    2.937206] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.954317] mmc0: new high speed SDHC card at address aaaa
[    2.960871] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    2.970844]  mmcblk0: p1 p2
[    3.030577] input: USB OPTICAL MOUSE  as /devices/platform/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/0003:275D:0BA6.0001/input/input2
[    3.054328] NET: Registered protocol family 26
[    3.060919] NET: Registered protocol family 10
[    3.066693] hid-generic 0003:275D:0BA6.0001: input: USB HID v1.11 Mouse [USB OPTICAL MOUSE ] on usb-ci_hdrc.1-1.1/input0
[    3.083192] sit: IPv6 over IPv4 tunneling driver
[    3.089528] NET: Registered protocol family 17
[    3.094285] mmc1: MAN_BKOPS_EN bit is not set
[    3.099174] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    3.113164] can: controller area network core (rev 20120528 abi 9)
[    3.119766] NET: Registered protocol family 29
[    3.125530] can: raw protocol (rev 20120528)
[    3.131085] can: broadcast manager protocol (rev 20120528 t)
[    3.137005] can: netlink gateway (rev 20130117) max_hops=1
[    3.148600] Bluetooth: RFCOMM TTY layer initialized
[    3.154791] Bluetooth: RFCOMM socket layer initialized
[    3.161080] Bluetooth: RFCOMM ver 1.11
[    3.170180] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.175628] usb 1-1.4: new low-speed USB device number 4 using ci_hdrc
[    3.184529] Bluetooth: BNEP filters: protocol multicast
[    3.194174] Bluetooth: BNEP socket layer initialized
[    3.200314] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.209678] Bluetooth: HIDP socket layer initialized
[    3.219115] 8021q: 802.1Q VLAN Support v1.8
[    3.226754] Key type dns_resolver registered
[    3.235132] mmc1: new HS200 MMC card at address 0001
[    3.243713] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[    3.248511] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    3.254783] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    3.260920] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
[    3.273895]  mmcblk1: p1 p2
[    3.288769] dhd_module_init in
[    3.294147] input: gpio_keys@0 as /devices/platform/gpio_keys@0/input/input3
[    3.301891] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2019-08-14 12:49:24 UTC (1565786964)
[    3.320449] input: SIGMACHIP USB Keyboard as /devices/platform/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.4/1-1.4:1.0/0003:1C4F:0002.0002/input/input4
[    3.403243] hid-generic 0003:1C4F:0002.0002: input: USB HID v1.10 Keyboard [SIGMACHIP USB Keyboard] on usb-ci_hdrc.1-1.4/input0
[    3.419928] input: SIGMACHIP USB Keyboard as /devices/platform/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.4/1-1.4:1.1/0003:1C4F:0002.0003/input/input5
[    3.493220] hid-generic 0003:1C4F:0002.0003: input: USB HID v1.10 Device [SIGMACHIP USB Keyboard] on usb-ci_hdrc.1-1.4/input1
[    3.553558] fec 20b4000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
[    3.592979] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.633282] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    6.652915] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.673186] IP-Config: Complete:
[    6.676452]      device=eth0, hwaddr=00:04:9f:04:d2:55, ipaddr=192.168.1.245, mask=255.255.255.0, gw=192.168.1.1
[    6.686799]      host=192.168.1.245, domain=, nis-domain=(none)
[    6.692792]      bootserver=192.168.1.216, rootserver=192.168.1.216, rootpath=
[    6.700165] gpio_dvfs: disabling
[    6.703493] can-3v3: disabling
[    6.706824] ALSA device list:
[    6.709811]   #0: wm8960-audio
[    6.723270] VFS: Mounted root (nfs filesystem) on device 0:14.
[    6.729996] devtmpfs: mounted
[    6.733830] Freeing unused kernel memory: 524K (80b47000 - 80bca000)
INIT: version 2.88 booting
Starting udev
[    8.519324] udevd[134]: starting version 3.1.5
[    8.553955] random: udevd urandom read with 118 bits of entropy available
[    8.970819] random: nonblocking pool is initialized
bootlogd: cannot allocate pseudo tty: No such file or directory
[   13.169503] kjournald starting.  Commit interval 5 seconds
[   13.179846] EXT3-fs (mmcblk0p2): using internal journal
[   13.232790] EXT3-fs (mmcblk0p2): recovery complete
[   13.238009] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[   13.420769] kjournald starting.  Commit interval 5 seconds
[   13.428247] EXT3-fs (mmcblk1p2): using internal journal
[   13.482408] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   13.502980] EXT3-fs (mmcblk1p2): recovery complete
[   13.507801] EXT3-fs (mmcblk1p2): mounted filesystem with ordered data mode
[   13.738945] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
ALSA: Restoring mixer settings...
Found hardware: "wm8960-audio" "" "" "" ""
Hardware is initialized using a generic method
/usr/sbin/alsactl: set_control:1325: failed to obtain info for control #58 (No such file or directory)
INIT: Entering runlevel: 5
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot: exit status 1
Starting system message bus: Starting Xserver
dbus.
Starting Connection Manager
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
starting statd: [   17.393636] fec 2188000.ethernet eth1: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet:00, irq=-1)
[   17.433118] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
done
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting atd: OK
exportfs: can't open /etc/exports for reading
NFS daemon support not enabled in kernel
Starting system log daemon...0
Starting kernel log daemon...0
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [ ok ]
Starting Telephony daemon
Starting Linux NFC daemon
Starting crond: OK
Running local boot scripts (/etc/rc.local).

root@ATK-IMX6U:~#


想思考的时候,有时还可以用屁股,QQ 1252699831
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

9

主题

767

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
5274
金钱
5274
注册时间
2019-9-25
在线时间
433 小时
 楼主| 发表于 2020-3-6 09:59:07 | 显示全部楼层
顶一顶,有兴趣的可以试试
想思考的时候,有时还可以用屁股,QQ 1252699831
回复 支持 反对

使用道具 举报

26

主题

1538

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
6379
金钱
6379
注册时间
2015-8-25
在线时间
1004 小时
发表于 2020-3-6 13:35:35 | 显示全部楼层
启动,进入uboot模式,TFTP下载uboot.bin 至0x87800000,然后go 0x87800000开始运行uboot.bin,uboot.bin中bootcmd设置NFS下载zImage至0x80800000,NFS下载设备树dtb至0x83000000,用命令bootz 80800000 - 83000000启动kernel,bootargs设置在kernel启动过程中用NFS挂载网络文件系统

强,调试起来方便了
放假了马上试试
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。
回复 支持 反对

使用道具 举报

9

主题

767

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
5274
金钱
5274
注册时间
2019-9-25
在线时间
433 小时
 楼主| 发表于 2020-3-6 14:34:33 | 显示全部楼层
szczyb1314 发表于 2020-3-6 13:35
启动,进入uboot模式,TFTP下载uboot.bin 至0x87800000,然后go 0x87800000开始运行uboot.bin,uboot.bin中b ...

大概就是这个意思。与实践还是有些差别
想思考的时候,有时还可以用屁股,QQ 1252699831
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-25 06:29

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表