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.

u-boot传递给kernel的bootargs不生效是怎么回事?

Other Parts Discussed in Thread: OMAP-L138

u-boot中设置bootargs,bootz 内核地址 - 设备树地址;然后kernel启动,其中kernel打印中有一行
Kernel command line:

这行内容每次读取到的都是u-boot第一次设置的bootargs,之后不管怎么设置bootargs,kernel读取到的都一样,以至于都没法配置bootargs了,

请问下这个是怎么回事?

  • => print
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    boot_fdt=yes
    boot_fit=0
    bootargs=console=/dev/ttyS2,115200n8 root=/dev/nfs rw nfsroot=192.168.0.110:/nfsroot ip=192.168.0.10
    bootcmd=tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootz $loadaddr - $fdtaddr
    bootdelay=3
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootfile=zImage
    bootpart=0:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS2,115200n8
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    ethact=DaVinci-EMAC
    ethaddr=06:00:a0:3a:df:3a
    fdtaddr=0xc0600000
    fdtcontroladdr=c7e22460
    fdtfile=da850-lcdk.dtb
    finduuid=part uuid mmc ${bootpart} uuid
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    ipaddr=192.168.0.10
    loadaddr=0xc0700000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi;
    mmcdev=0
    mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    scriptaddr=0xc0600000
    serverip=192.168.0.110
    stderr=serial@10d000
    stdin=serial@10d000
    stdout=serial@10d000
    ver=U-Boot 2019.01-g5bb01f9-dirty (May 20 2020 - 19:39:44 +0800)

    Environment size: 2037/65532 bytes
    => tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile
    Using DaVinci-EMAC device
    TFTP from server 192.168.0.110; our IP address is 192.168.0.10
    Filename 'zImage'.
    Load address: 0xc0700000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ###########
    835.9 KiB/s
    done
    Bytes transferred = 3380384 (3394a0 hex)
    Using DaVinci-EMAC device
    TFTP from server 192.168.0.110; our IP address is 192.168.0.10
    Filename 'da850-lcdk.dtb'.
    Load address: 0xc0600000
    Loading: ####
    924.8 KiB/s
    done
    Bytes transferred = 19902 (4dbe hex)
    => bootz $loadaddr

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 4.19.59-g5f8c1c6121 (root@any888) (gcc version 8.2.0 (GCC)) #3 PREEMPT Wed May 20 19:05:15 CST 2020
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
    CPU: VIVT data cache, VIVT instruction cache
    Machine: AM18x/OMAP-L138 Hawkboard
    Memory policy: Data cache writethrough
    da8xx_rproc_reserve_cma: 'rproc_mem=nn@address' badly specified
    'nn' and 'address' must both be non-zero
    cma: Reserved 24 MiB at 0xc6400000
    DaVinci da850/omap-l138/am18x variant 0x1
    random: get_random_bytes called from start_kernel+0x88/0x428 with crng_init=0
    Built 1 zonelists, mobility grouping on. Total pages: 32480
    Kernel command line: console=/dev/ttyS2,115200n8 root=/dev/nfs rw nfsroot=192.168.0.110:/nfsroot ip=192.168.0.10
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 95676K/131072K available (6579K kernel code, 350K rwdata, 2104K rodata, 252K init, 151K bss, 10820K reserved, 24576K cma-reserved)
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
    lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
    modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    .text : 0x(ptrval) - 0x(ptrval) (6581 kB)
    .init : 0x(ptrval) - 0x(ptrval) ( 252 kB)
    .data : 0x(ptrval) - 0x(ptrval) ( 351 kB)
    .bss : 0x(ptrval) - 0x(ptrval) ( 152 kB)
    SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    rcu: Preemptible hierarchical RCU implementation.
    Tasks RCU enabled.
    NR_IRQS: 245
    clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    Console: colour dummy device 80x30
    Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc0008400 - 0xc0008458
    rcu: Hierarchical SRCU implementation.
    devtmpfs: initialized
    VFP support v0.3: not present
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    futex hash table entries: 256 (order: -1, 3072 bytes)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    cpuidle: using governor menu
    davinci_gpio davinci_gpio: IRQ not populated, err = -6
    EMAC: MII PHY configured
    mux: initialized GPIO3_12
    mux: Setting register GPIO3_12
    mux: PINMUX7 (0x0000001c) = 0x10110110 -> 0x10118110
    mux: initialized GPIO3_13
    mux: Setting register GPIO3_13
    mux: PINMUX7 (0x0000001c) = 0x10118110 -> 0x10118810
    mux: initialized GPIO2_4
    mux: Setting register GPIO2_4
    mux: PINMUX6 (0x00000018) = 0x00000000 -> 0x00008000
    mux: initialized GPIO6_13
    mux: Setting register GPIO6_13
    mux: PINMUX13 (0x00000034) = 0x00000010 -> 0x00000810
    omapl138_hawk_usb_init: failed to request GPIO for USB 1.1 port power control: -517
    mux: initialized EMA_WAIT_1
    mux: Setting register EMA_WAIT_1
    mux: PINMUX6 (0x00000018) = 0x00008000 -> 0x01008000
    da8xx_register_rproc: memory not reserved for DSP, not registering DSP device
    omapl138_hawk_init: dsp/rproc registration failed: -12
    edma edma.0: Legacy memcpy is enabled, things might not work
    edma edma.0: TI EDMA DMA engine driver
    edma edma.1: Legacy memcpy is enabled, things might not work
    edma edma.1: TI EDMA DMA engine driver
    SCSI subsystem initialized
    media: Linux media interface: v0.10
    videodev: Linux video capture interface: v2.00
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    PTP clock support registered
    Advanced Linux Sound Architecture Driver Initialized.
    clocksource: Switched to clocksource timer0_1
    NET: Registered protocol family 2
    tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    workingset: timestamp_bits=14 max_order=15 bucket_order=1
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    io scheduler noop registered (default)
    io scheduler mq-deadline registered
    io scheduler kyber registered
    Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 14250000) is a 16550A
    serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a 16550A
    serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a 16550A
    console [ttyS2] enabled
    brd: module loaded
    libphy: Fixed MDIO Bus: probed
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5, bus freq 2200000
    davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
    libphy: davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[7]: device davinci_mdio-0:07, driver SMSC LAN8710/LAN8720
    i2c /dev entries driver
    davinci-wdt davinci-wdt: heartbeat 60 sec
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.0, deferring
    davinci_mmc da830-mmc.0: could not parse platform data: -517
    sdhci-pltfm: SDHCI platform and OF driver helper
    NET: Registered protocol family 10
    Segment Routing with IPv6
    sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    NET: Registered protocol family 17
    davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.0, deferring
    davinci_mmc da830-mmc.0: could not parse platform data: -517
    davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.0, deferring
    davinci_mmc da830-mmc.0: could not parse platform data: -517
    console [netcon0] enabled
    netconsole: network logging started
    davinci_emac davinci_emac.1: using random MAC addr: 62:15:c6:80:14:41
    davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.0, deferring
    hctosys: unable to open rtc device (rtc0)
    davinci_mmc da830-mmc.0: could not parse platform data: -517
    davinci_mdio davinci_mdio.0: resetting idled controller
    SMSC LAN8710/LAN8720 davinci_mdio-0:07: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_mdio-0:07, irq=POLL)
    IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    davinci_emac davinci_emac.1 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
    device=eth0, hwaddr=62:15:c6:80:14:41, ipaddr=192.168.0.10, mask=255.255.255.0, gw=255.255.255.255
    host=192.168.0.10, domain=, nis-domain=(none)
    bootserver=255.255.255.255, rootserver=192.168.0.110, rootpath=
    ALSA device list:
    No soundcards found.
    random: fast init done
    VFS: Mounted root (nfs filesystem) on device 0:14.
    devtmpfs: mounted
    Freeing unused kernel memory: 252K
    This architecture does not have kernel memory protection.
    Run /sbin/init as init process
    systemd[1]: System time before build time, advancing clock.
    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)
    systemd[1]: Detected architecture arm.

    Welcome to Arago 2019.07!

    systemd[1]: Set hostname to <omapl138-lcdk>.
    random: systemd: uninitialized urandom read (16 bytes read)
    systemd[1]: Initializing machine ID from random generator.
    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.
    systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    random: systemd: uninitialized urandom read (16 bytes read)
    systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    random: systemd: uninitialized urandom read (16 bytes read)
    systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    random: systemd: uninitialized urandom read (16 bytes read)
    systemd[1]: Reached target Slices.
    [ OK ] Reached target Slices.
    systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    systemd[1]: Listening on initctl Compatibility Named Pipe.
    [ OK ] Listening on initctl Compatibility Named Pipe.
    systemd[1]: Created slice system-syslog\x2dng.slice.
    [ OK ] Created slice system-syslog\x2dng.slice.
    systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    systemd[1]: Created slice system-getty.slice.
    [ OK ] Created slice system-getty.slice.
    systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    systemd[1]: Starting Remount Root and Kernel File Systems...
    Starting Remount Root and Kernel File Systems...
    systemd[1]: Mounting Kernel Debug File System...
    Mounting Kernel Debug File System...
    systemd[1]: Starting Create list of required static device nodes for the current kernel...
    Starting Create list of required st…ce nodes for the current kernel...
    [ OK ] Started Hardware RNG Entropy Gatherer Daemon.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    Starting Load Kernel Modules...
    [ OK ] Listening on udev Kernel Socket.
    Starting udev Coldplug all Devices...
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Reached target Paths.
    [ OK ] Reached target Swap.
    [ OK ] Listening on Journal Socket (/dev/log).
    Starting Journal Service...
    cryptodev: loading out-of-tree module taints kernel.
    Mounting Temporacryptodev: driver 1.9 loaded.
    ry Directory (/tmp)...
    [ OK ] Reached target Remote File Systems.
    Mounting POSIX Message Queue File System...
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Mounted Kernel Debug File System.
    [ OK ] Started Create list of required sta…vice nodes for the current kernel.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Mounted Temporary Directory (/tmp).
    [ OK ] Mounted POSIX Message Queue File System.
    Starting Apply Kernel Variables...
    Mounting Kernel Configuration File System...
    Starting Rebuild Hardware Database...
    Starting Create System Users...
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started Journal Service.
    Starting Flush Journal to Persistent Storage...
    [ OK ] Started Create System Users.
    Starting Create Static Device Nodes in /dev...
    systemd-journald[73]: Received request to flush runtime journal from PID 1
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /var/volatile...
    Mounting /media/ram...
    [ OK ] Reached target Containers.
    [ OK ] Mounted /var/volatile.
    [ OK ] Mounted /media/ram.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    Starting Rebuild Dynamic Linker Cache...
    Starting Rebuild Journal Catalog...
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started Rebuild Journal Catalog.
    [ OK ] Started Create Volatile Files and Directories.
    Starting Network Time Synchronization...
    Starting Update UTMP about System Boot/Shutdown...
    Starting Run pending postinsts...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    random: crng init done
    random: 6 urandom warning(s) missed due to ratelimiting
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Started Rebuild Dynamic Linker Cache.
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Started Run pending postinsts.
    [ OK ] Started Rebuild Hardware Database.
    Starting Update is Completed...
    Starting udev Kernel Device Manager...
    [ OK ] Started Update is Completed.
    [ OK ] Started udev Kernel Device Manager.
    Starting Network Service...
    [ OK ] Reached target System Initialization.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Started Daily rotation of log files.
    [ OK ] Reached target Timers.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    Starting Reboot and dump vmcore via kexec...
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting telnetd.service...
    Starting TI IPC Daemon...
    Starting Matrix GUI...
    [ OK ] Started Job spooling tools.
    [ OK ] Started D-Bus System Message Bus.
    Starting System Logger Daemon "default" instance...
    Starting Print notice about GPLv3 packages...
    [ OK ] Started Periodic Command Scheduler.
    Starting RPC Bind Service...
    davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.0, deferring
    davinci_mmc da830-mmc.0: could not parse platform data: -517
    Starting Ethernet Bridge Filtering Tables...
    Starting Login Service...
    [ OK ] Started Network Service.
    [ OK ] Started Reboot and dump vmcore via kexec.
    [ OK ] Started telnetd.service.
    [ OK ] Started TI IPC Daemon.
    [ OK ] Started Matrix GUI.
    [ OK ] Started RPC Bind Service.
    [ OK ] Started Ethernet Bridge Filtering Tables.
    nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc
    nand: Micron MT29F4G16ABADAH4
    nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    Bad block table not found for chip 0
    Bad block table not found for chip 0
    Scanning device for bad blocks
    Bad eraseblock 100 at 0x000000c80000
    Bad eraseblock 400 at 0x000003200000
    Bad block table written to 0x00001ffe0000, version 0x01
    Bad block table written to 0x00001ffc0000, version 0x01
    Creating 3 MTD partitions on "davinci_nand":
    0x000000000000-0x000000020000 : "u-boot env"
    0x000000020000-0x0000000a0000 : "u-boot"
    0x0000000a0000-0x000020000000 : "free space"
    [ OK ] Started System Logger Daemon "default" instance.
    davinci_nand davinci_nand: controller rev. 2.5
    davinci_mmc da830-mmc.0: cannot find GPIO chip davinci_gpio.0, deferring
    davinci_mmc da830-mmc.0: could not parse platform data: -517
    [ OK ] Found device /dev/ttyS2.


    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    bash
    bc
    binutils
    cifs-utils
    cpio
    cpp-symlinks
    cpp
    dosfstools
    elfutils
    g++-symlinks
    g++
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbserver
    gettext
    gstreamer1.0-libav
    gzip
    hidapi
    libbfd
    libdw1
    libelf1
    libgdbm-compat4
    libgdbm6
    libgettextlib
    libgettextsrc
    libgmp10
    libidn2-0
    libmpc3
    libmpfr6
    libreadline7
    libunistring2
    m4
    make
    nettle
    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 thttpd.service...
    Starting syslog.service...
    Starting Wait for Network to be Configured...
    Starting Network Name Resolution...
    [ OK ] Started thttpd.service.
    [ OK ] Started Login Service.
    [ OK ] Started Wait for Network to be Configured.
    [ OK ] Started syslog.service.
    [ OK ] Started Network Name Resolution.
    [ OK ] Reached target Network.
    [ OK ] Reached target Network is Online.
    [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    Starting Permit User Sessions...
    Starting Simple Network Management Protocol (SNMP) Daemon....
    [ OK ] Started Vsftpd ftp daemon.
    Starting Lightning Fast Webserver With Light System Requirements...
    [ OK ] Reached target Host and Network Name Lookups.
    Starting LSB: network benchmark...
    [ OK ] Started NFS status monitor for NFSv2/3 locking..
    Starting Avahi mDNS/DNS-SD Stack...
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttyS2.
    [ OK ] Reached target Login Prompts.
    Starting Synchronize System and HW clocks...
    [ OK ] Started LSB: network benchmark.
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    Starting thermal-zone-init.service...
    NET: Registered protocol family 15
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [ OK ] Started thermal-zone-init.service.
    Initializing XFRM netlink socket

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org omapl138-lcdk ttyS2

    Arago 2019.07 omapl138-lcdk ttyS2

    omapl138-lcdk login:
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org omapl138-lcdk ttyS2

    Arago 2019.07 omapl138-lcdk ttyS2

    omapl138-lcdk login:
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org omapl138-lcdk ttyS2

    Arago 2019.07 omapl138-lcdk ttyS2

    omapl138-lcdk login:
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org omapl138-lcdk ttyS2

    Arago 2019.07 omapl138-lcdk ttyS2

    omapl138-lcdk login:
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org omapl138-lcdk ttyS2

    Arago 2019.07 omapl138-lcdk ttyS2

    omapl138-lcdk login: root

    root@omapl138-lcdk:~# 6;270R
    -sh: 6: command not found
    -sh: 270R: command not found
    root@omapl138-lcdk:~#
    root@omapl138-lcdk:~#
    root@omapl138-lcdk:~#
    root@omapl138-lcdk:~# ls
    root@omapl138-lcdk:~# cd /
    root@omapl138-lcdk:/# ls
    bin etc lib mnt run sys var
    boot home linuxrc opt sbin tmp www
    dev init media proc srv usr
    root@omapl138-lcdk:/#

    我都不知道怎么描述我的问题了。。
    如上是我的nfsroot 启动信息,bootargs和bootcmd都是后来添加的,启动时没使用dtb,因为使用dtb的话,就识别不了u-boot的bootargs。
    但是这个内核应该是使用dtb的,为什么我一加载dtb,kernel就读不到bootargs,整个环境按说都是好使的。。

    我想使用设备树,要怎么做呢?
  • 请问是修改了bootargs之后,可以保存成功,但是每次读取到的都是默认值是吗?
    是类似以下帖子中描述的情况吗?
    e2echina.ti.com/.../178486
  • 不是这个问题哦。现在我是想使用dtb,但是使用dtb的话,kernel就读取不到u-boot设置的bootargs。