This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: NFS boot settings

Part Number: PROCESSOR-SDK-AM335X


hi.

i try to NFS boot using Processor SDK.

i reference this docs "http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Getting_Started_Guide.html#download-and-install-the-sdk".

and there is guide for NFS Host setup (use setup.sh script).

but i can't find u-boot setting for NFS boot (u-boot environment variables).

i search other user's thread in e2e community, but there is only fragmented information.

So, where is reference manual for NFS booting ?

or, How can I configure u-boot for NFS booting ?

  • i try u-boot nfs command. and load success.

    then, what i do ?

    => nfs ${loadaddr} {serverip...}:/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS/boot/zImage
    link up on port 0, speed 100, full duplex
    Using ethernet@4a100000 device
    File transfer via NFS from server {serverip...}; our IP address is {clientip...}
    Filename '/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS/boot/zImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################
    done
    Bytes transferred = 4080128 (3e4200 hex)

  • Hi Sanghyun,

    Ideally, the U-Boot environment needed for NFS boot gets populated via a serial connection during setting up the SDK, that's why the setup script asks for the board to be connected, etc. Did your install process go through without any issues? You could try to repeat the setup process, keeping an eye for any warnings/error messages that might pop up. You could try to just re-run the <sdk_install_dir>/bin/setup-uboot-env.sh script, or you if you prefer you can just look at it to see what environment it sets up, and model yours after that.

    Also you could always setup NFS boot from scratch without the help of the SDK's setup scripts. For example, can you please check this post below, it has the steps needed to demonstrate NFS-based boot on AM335x: 

    It is not exactly what you trying to do do (in the post the Kernel & DTB is loaded via tftp, just like the SDK does it, and not via nfs commands), but you should be able to adopt the steps easily. I'll also see I can provide steps that are closer to what you want and update this post.

    Regards, Andreas

  • Sanghyun,

    here is a U-Boot command sequence that should allow you to boot any AM335x-based board over network using the Linux SDK v06.00.00.07 as a baseline for U-Boot, target filesystem, etc. Unlike what the SDK sets up, the below command sequence will also load the Kernel and the DTB file from the 'targetNFS' folder via NFS rather than TFTP. I actually prefer doing it this way (using NFS) for development purposes as it helps keeping the Kernel/DTB and filesystem all together in the same folder, all being accessed using the same transport, which makes it easier developing on multiple systems at the same time.

    env set serverip 10.0.1.38 && env set bootfile zImage && env set rootpath '/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS' && env set netloadfdt 'nfs ${fdtaddr} ${rootpath}/boot/${fdtfile}' && env set netloadimage 'nfs ${loadaddr} ${rootpath}/boot/${bootfile}' && env set nfsopts 'nolock,v3,tcp,rsize=4096,wsize=4096' && run findfdt; run netboot

    With this, the full boot log looks as follows:

    U-Boot SPL 2019.01-g8b90adfb16 (Jul 07 2019 - 10:08:45 +0000)
    Trying to boot from MMC2
    
    
    U-Boot 2019.01-g8b90adfb16 (Jul 07 2019 - 10:08:45 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x BeagleBone Black
    DRAM:  512 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  6c:ec:eb:ba:cb:c9
    , eth1: usb_ether
    Hit any key to stop autoboot:  0 
    => env set serverip 10.0.1.38 && env set bootfile zImage && env set rootpath '/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS' && env set netloadfdt 'nfs ${fdtaddr} ${rootpath}/boot/${fdtfile}' && env set netloadimage 'nfs ${loadaddr} ${rootpath}/boot/${bootfile}' && env set nfsopts 'nolock,v3,tcp,rsize=4096,wsize=4096' && run findfdt; run netboot
    Booting from network ...
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    DHCP client bound to address 10.0.1.169 (1006 ms)
    link up on port 0, speed 100, full duplex
    Using ethernet@4a100000 device
    File transfer via NFS from server 10.0.1.38; our IP address is 10.0.1.169
    Filename '/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS/boot/zImage'.
    Load address: 0x82000000
    Loading: #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################
    done
    Bytes transferred = 4080128 (3e4200 hex)
    link up on port 0, speed 100, full duplex
    Using ethernet@4a100000 device
    File transfer via NFS from server 10.0.1.38; our IP address is 10.0.1.169
    Filename '/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS/boot/am335x-boneblack.dtb'.
    Load address: 0x88000000
    Loading: ########
    done
    Bytes transferred = 36717 (8f6d hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff4000, end 8fffff6c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.38-g4dae378bbe (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Sun Jul 7 04:39:33 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.0.1.38:/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS,nolock,v3,tcp,rsize=4096,wsize=4096 rw ip=dhcp
    [    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: 456992K/524288K available (8192K kernel code, 293K rwdata, 2592K rodata, 1024K init, 252K bss, 18144K reserved, 49152K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 294 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 253 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000034] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000044] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000200] timer_probe: no matching timers found
    [    0.000370] Console: colour dummy device 80x30
    [    0.000398] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000403] This ensures that you still see kernel messages. Please
    [    0.000408] update your kernel commandline.
    [    0.000459] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.089171] pid_max: default: 32768 minimum: 301
    [    0.089355] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089369] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090128] CPU: Testing write buffer coherency: ok
    [    0.090193] CPU0: Spectre v2: using BPIALL workaround
    [    0.091000] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091142] rcu: Hierarchical SRCU implementation.
    [    0.091460] EFI services will not be available.
    [    0.092711] devtmpfs: initialized
    [    0.100027] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.100388] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.100410] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.103814] pinctrl core: initialized pinctrl subsystem
    [    0.104520] DMI not present or invalid.
    [    0.104930] NET: Registered protocol family 16
    [    0.107055] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.125359] l4_wkup_cm:clk:0010:0: failed to disable
    [    0.177813] cpuidle: using governor ladder
    [    0.177850] cpuidle: using governor menu
    [    0.182536] OMAP GPIO hardware version 0.1
    [    0.191266] No ATAGs?
    [    0.191284] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.203581] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.206529] media: Linux media interface: v0.10
    [    0.206577] videodev: Linux video capture interface: v2.00
    [    0.206666] pps_core: LinuxPPS API ver. 1 registered
    [    0.206674] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.206695] PTP clock support registered
    [    0.206726] EDAC MC: Ver: 3.0.0
    [    0.207629] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.207958] Advanced Linux Sound Architecture Driver Initialized.
    [    0.209292] clocksource: Switched to clocksource timer1
    [    0.216703] NET: Registered protocol family 2
    [    0.217495] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.217528] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.217568] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.217605] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.217705] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.217724] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.217862] NET: Registered protocol family 1
    [    0.218422] RPC: Registered named UNIX socket transport module.
    [    0.218435] RPC: Registered udp transport module.
    [    0.218441] RPC: Registered tcp transport module.
    [    0.218447] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.219482] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.220689] Initialise system trusted keyrings
    [    0.221065] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.225270] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.226023] NFS: Registering the id_resolver key type
    [    0.226063] Key type id_resolver registered
    [    0.226070] Key type id_legacy registered
    [    0.226112] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.226558] pstore: using deflate compression
    [    0.228222] Key type asymmetric registered
    [    0.228238] Asymmetric key parser 'x509' registered
    [    0.228307] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.228319] io scheduler noop registered
    [    0.228327] io scheduler deadline registered
    [    0.228554] io scheduler cfq registered (default)
    [    0.228564] io scheduler mq-deadline registered
    [    0.228571] io scheduler kyber registered
    [    0.230270] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.275924] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.279667] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.905995] console [ttyS0] enabled
    [    0.911412] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.929454] brd: module loaded
    [    0.938702] loop: module loaded
    [    0.943980] libphy: Fixed MDIO Bus: probed
    [    1.019378] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.027081] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.034547] libphy: 4a101000.mdio: probed
    [    1.038593] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    1.048678] cpsw 4a100000.ethernet: Detected MACID = 6c:ec:eb:ba:cb:c7
    [    1.055490] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.061963] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.067241] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.075755] i2c /dev entries driver
    [    1.081159] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.088279] sdhci: Secure Digital Host Controller Interface driver
    [    1.094612] sdhci: Copyright(c) Pierre Ossman
    [    1.099707] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.108448] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.113592] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
    [    1.147140] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1
    [    1.179667] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.186952] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.197385] NET: Registered protocol family 10
    [    1.203415] Segment Routing with IPv6
    [    1.207277] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.214194] NET: Registered protocol family 17
    [    1.218995] Key type dns_resolver registered
    [    1.223656] omap_voltage_late_init: Voltage driver support not added
    [    1.230946] Loading compiled-in X.509 certificates
    [    1.267878] mmc1: new high speed MMC card at address 0001
    [    1.274629] mmcblk1: mmc1:0001 MMC04G 3.60 GiB 
    [    1.280949] mmcblk1boot0: mmc1:0001 MMC04G partition 1 2.00 MiB
    [    1.288010] mmcblk1boot1: mmc1:0001 MMC04G partition 2 2.00 MiB
    [    1.294357] mmcblk1rpmb: mmc1:0001 MMC04G partition 3 128 KiB, chardev (244:0)
    [    1.302491] random: fast init done
    [    1.307597]  mmcblk1: p1 p2
    [    1.315533] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.461568] tda998x 0-0070: found TDA19988
    [    1.468366] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
    [    1.474515] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.481174] [drm] No driver support for vblank timestamp query.
    [    1.487463] [drm] Cannot find any crtc or sizes
    [    1.492628] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.500259] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.507701] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    1.514027] cpu cpu0: Linked as a consumer to regulator.3
    [    1.519601] cpu cpu0: Dropping the link to regulator.3
    [    1.525095] cpu cpu0: Linked as a consumer to regulator.3
    [    1.531790] hctosys: unable to open rtc device (rtc0)
    [    1.550600] net eth0: initializing cpsw version 1.12 (0)
    [    1.650408] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [    1.668590] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.559915] [drm] Cannot find any crtc or sizes
    [    4.800407] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [    4.819441] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.849459] Sending DHCP requests ., OK
    [    4.893551] IP-Config: Got DHCP answer from 10.0.1.1, my address is 10.0.1.169
    [    4.901150] IP-Config: Complete:
    [    4.904546]      device=eth0, hwaddr=6c:ec:eb:ba:cb:c7, ipaddr=10.0.1.169, mask=255.255.255.0, gw=10.0.1.1
    [    4.914837]      host=10.0.1.169, domain=, nis-domain=(none)
    [    4.920748]      bootserver=0.0.0.0, rootserver=10.0.1.38, rootpath=
    [    4.920766]      nameserver0=10.0.1.1
    [    4.932721] ALSA device list:
    [    4.935717]   No soundcards found.
    [    4.951536] VFS: Mounted root (nfs filesystem) on device 0:15.
    [    4.957976] devtmpfs: mounted
    [    4.963682] Freeing unused kernel memory: 1024K
    [    4.968736] Run /sbin/init as init process
    [    5.424199] systemd[1]: System time before build time, advancing clock.
    [    5.490998] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    5.513315] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.05!
    
    [    5.561674] systemd[1]: Set hostname to <am335x-evm>.
    [    6.121938] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    6.139249] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    6.269615] random: crng init done
    [    6.287307] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    6.954139] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.989798] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    7.028189] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    7.059702] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Journal Socket.
             Starting Load Kernel Modules...
             Starting Journal Service...
             Starting Create list of required st…ce nodes for the current kernel...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Reached target Paths.
    [    7.691665] cryptodev: loading out-of-tree module taints kernel.
             Starting Remount Root and Kernel File Systems...
    [    7.734456] cryptodev: driver 1.9 loaded.
             Mounting POSIX Message Queue File System...
             Mounting Kernel Debug File System...
    [  OK  ] Listening on udev Control Socket.
             Starting udev Coldplug all Devices...
    [    7.909879] usbcore: registered new interface driver usbfs
    [    7.915768] usbcore: registered new interface driver hub
    [  OK  ] Started Create list of required sta…vice no[    8.021765] usbcore: registered new device driver usb
    des for the current kernel.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [    8.177841] usbcore: registered new interface driver ftdi_sio
    [    8.212504] usbserial: USB Serial support registered for FTDI USB Serial Device
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Load Kernel Modules.
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    8.718825] systemd-journald[73]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Containers.
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Service...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Service.
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Network.
    [   12.118705] omap_rtc 44e3e000.rtc: already running
    [   12.127401] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   12.155363] omap_rtc 44e3e000.rtc: registered as rtc0
    [   12.477447] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [   13.623417] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
             Starting Reboot and dump vmcore via kexec...
    [   13.705032] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [   13.823522] omap-aes 53500000.aes: will run requests pump with realtime priority
    [  OK  ] Reached target Basic System.
             [   14.048534] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 1
    Starting Simple Network Management Protocol (SNMP) Daemon....
    [   14.107040] remoteproc remoteproc0: wkup_m3 is available
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Print notice about GPLv3 packages...
    [   14.416091] remoteproc remoteproc0: powering up wkup_m3
    [   14.424385] PM: Cannot get wkup_m3_ipc handle
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [   15.032010] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242896
             Starting Lightning Fast Webserver With Light System Requirements...
    [   15.106582] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
             Starting Permit User Sessions...
    [   15.344991] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [  OK  ] Started Job spooling tools.
    [   15.496045] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok
             Starting Enable and configure wl18xx bluetooth stack...
    [   15.683154] asoc-simple-card sound: ASoC: no DMI vendor name!
    [   15.696935] PM: bootloader does not support rtc-only!
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
             Starting RPC Bind Service...
             Starting rng-tools.service...
             Starting uim-sysfs.service...
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started rng-tools.service.
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started Wait for Network to be Configured.
    [   23.707974] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   23.887668] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
    [   24.004489] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   24.129146] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
    [   24.216985] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   24.281343] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [   24.358367] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   24.424233] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   24.482097] usb usb1: Product: MUSB HDRC host driver
    [   24.487108] usb usb1: Manufacturer: Linux 4.19.38-g4dae378bbe musb-hcd
    [   24.566550] usb usb1: SerialNumber: musb-hdrc.1
    [   24.602037] hub 1-0:1.0: USB hub found
    [   24.629694] hub 1-0:1.0: 1 port detected
    [  OK  ] Started uim-sysfs.service.
    [   26.939524] remoteproc remoteproc1: 4a334000.pru is available
    [   26.945437] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
    [   27.101712] remoteproc remoteproc2: 4a338000.pru is available
    [   27.107599] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash-dev
    	bash
    	bc
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	findutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	glmark2
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libbfd
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn2-0
    	libmavconn
    	libmpc3
    	libmpfr6
    	libreadline-dev
    	libreadline7
    	libunistring2
    	m4-dev
    	m4
    	make
    	mavlink
    	mavros-extras
    	mavros-msgs
    	mavros
    	nettle
    	pdm-anomaly-detection
    	socketcan-interface
    	which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
             Starting Save/Restore Sound Card State...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
             Starting File System Check on /dev/mmcblk1p2...
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting rc.pvr.service...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Save/Restore Sound Card State.
    [   42.351572] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Started File System Check on /dev/mmcblk1p2.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
             Mounting /run/media/mmcblk1p2...
    [  OK  ] Reached target Sound Card.
    [  OK  ] Started Login Service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [   42.738881] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [   42.772905] NET: Registered protocol family 15
    [  OK  ] Mounted /run/media/mmcblk1p2.
    [   43.175894] Initializing XFRM netlink socket
    [  OK  ] Started weston.service.
             Starting Matrix GUI...
             Starting telnetd.service...
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
             Starting busybox-udhcpd.service...
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2019.05 am335x-evm ttyS0
    
    am335x-evm login: 
    

    Regards, Andreas

  • great. this is perfectly works.

    but there is only 2 log

     - load fdt

     - load kernel zImage

    in this case, where do rootfilesystem get loaded ?. my sd card or NFS server?

    it seems to no rootfilesystem related variables.

    Booting from network ...
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address <my ip>(18 ms)
    link up on port 0, speed 100, full duplex
    Using ethernet@4a100000 device
    File transfer via NFS from server <server ip>; our IP address is <my ip>
    Filename '/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS/boot/zImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################
    done
    Bytes transferred = 4080128 (3e4200 hex)
    link up on port 0, speed 100, full duplex
    Using ethernet@4a100000 device
    File transfer via NFS from server <server ip>; our IP address is <my ip>
    Filename '/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/targetNFS/boot/am335x-boneblack.dtb'.
    Load address: 0x88000000
    Loading: ########
    done
    Bytes transferred = 36717 (8f6d hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff4000, end 8fffff6c ... OK
    
    Starting kernel ...
  • i found the rootfilesystem load NFS server.

    i add some text file on NFS server, and i can see it my AM335x board.

  • for security reasons, directly connection between hostPC(for development) and am335x board in impossible.

    thanks.

  • Sanghyun,

    sounds good, thanks for closing the loop, looks like we can close this thread then.

    Regards, Andreas