您尚未登录。

楼主 # 2022-10-14 11:33:56

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新

想测试一下哪吒开发板的相关性能,外设,懒得搭建环境,就想用buildroot来试一下

离线

楼主 #1 2022-10-14 11:38:33

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新

在buildroot官网,下载buildroot-2022.08.tar.gz ,然后再wsl2中解压,进入目录后查看 configs目录下的配置文件,看到了
ls configs/nezha_defconfig
make nezha_deconfig
sudo make
....在编译中

离线

楼主 #2 2022-10-14 14:09:07

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新

3.20M  --.-KB/s    eta 63m 35s
这小水管,真的太慢了

离线

楼主 #3 2022-10-14 14:42:23

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新

终于编完了,在buildroot/buildroot-2022.08/output/images目录下找到 sdcard.img ,然后烧录到sd卡中

离线

楼主 #4 2022-10-14 14:45:19

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新

luciferseva 说:

终于编完了,在buildroot/buildroot-2022.08/output/images目录下找到 sdcard.img ,然后烧录到sd卡中

先用SD Card Formatter格式化sd卡,然后用Win32DiskImager进行sd卡烧写,两个软件不难找,这里就不放了

离线

楼主 #5 2022-10-14 15:04:03

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新

U-Boot 2021.10 (Oct 14 2022 - 14:32:27 +0800)

DRAM:  1 GiB
WDT:   Started watchdog@6011000 with servicing (16s timeout)
MMC:   mmc@4020000: 0, mmc@4021000: 1
Loading Environment from nowhere... OK
In:    serial@2500000
Out:   serial@2500000
Err:   serial@2500000
Net:   
Warning: ethernet@4500000 (eth0) using random MAC address - aa:be:e8:d5:9b:86
eth0: ethernet@4500000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
134 bytes read in 2 ms (65.4 KiB/s)
1:      linux
Retrieving file: /boot/Image
15508936 bytes read in 1324 ms (11.2 MiB/s)
append: console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
Retrieving file: /boot/sun20i-d1-nezha.dtb
24602 bytes read in 6 ms (3.9 MiB/s)
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Device Tree to 0000000049ff6000, end 0000000049fff019 ... OK

Starting kernel ...

[    0.000000] Linux version 5.14.0-rc4 (root@DESKTOP-1M42AJV) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.08) 11.3.0, GNU ld (GNU Binutils) 2.37) #1 PREEMPT Fri Oct 14 14:33:47 CST 2022
[    0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[    0.000000] Machine model: Allwinner D1 NeZha
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040200000-0x000000005fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040200000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000005fffffff]
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI SRST extension detected
[    0.000000] riscv: ISA extensions acdfim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 128775
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 497720K/522240K available (5679K kernel code, 4861K rwdata, 2048K rodata, 2092K init, 266K bss, 24520K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] OF: of_irq_init: found /cpus/cpu@0/interrupt-controller with parent (null)
[    0.000000] OF: of_irq_init: found /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
[    0.000000] OF: of_irq_init: found /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
[    0.000000] OF: of_irq_init: init /cpus/cpu@0/interrupt-controller with parent (null)
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] OF: of_irq_init: init /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
[    0.000000] plic: interrupt-controller@10000000: mapped 176 interrupts with 1 handlers for 2 contexts.
[    0.000000] OF: of_irq_init: init /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000411] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000850] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000889] pid_max: default: 32768 minimum: 301
[    0.001068] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.001101] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.002959] ASID allocator using 16 bits (65536 entries)
[    0.003136] rcu: Hierarchical SRCU implementation.
[    0.003697] devtmpfs: initialized
[    0.011756] random: get_random_bytes called from net_ns_init+0x9c/0x35c with crng_init=0
[    0.012218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.012264] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[    0.012378] pinctrl core: initialized pinctrl subsystem
[    0.013590] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.013957] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.014064] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.014597] thermal_sys: Registered thermal governor 'bang_bang'
[    0.014614] thermal_sys: Registered thermal governor 'step_wise'
[    0.014632] thermal_sys: Registered thermal governor 'user_space'
[    0.061500] vcc-3v3: supplied by vcc
[    0.061811] iommu: Default domain type: Translated
[    0.062134] usbcore: registered new interface driver usbfs
[    0.062222] usbcore: registered new interface driver hub
[    0.062312] usbcore: registered new device driver usb
[    0.063012] Advanced Linux Sound Architecture Driver Initialized.
[    0.063992] clocksource: Switched to clocksource riscv_clocksource
[    0.066601] NET: Registered PF_INET protocol family
[    0.066796] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.068269] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.068339] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.068413] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.068467] TCP: Hash tables configured (established 4096 bind 4096)
[    0.068607] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.068659] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.068908] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.070037] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[    0.079259] NET: Registered PF_ALG protocol family
[    0.104119] ldoa: supplied by vcc-3v3
[    0.104887] ldob: supplied by vcc-3v3
[    0.109291] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.115116] libphy: Fixed MDIO Bus: probed
[    0.116310] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.116333] ehci-platform: EHCI generic platform driver
[    0.116626] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.116673] ohci-platform: OHCI generic platform driver
[    0.117085] usbcore: registered new interface driver ch341
[    0.117149] usbserial: USB Serial support registered for ch341-uart
[    0.117698] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[    0.118041] i2c /dev entries driver
[    0.119704] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.121411] ledtrig-cpu: registered to indicate activity on CPUs
[    0.121774] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz)
[    0.122103] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[    0.122329] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[    0.122542] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[    0.122757] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
[    0.122905] sun8i-ce 3040000.crypto: Register cbc(aes)
[    0.123100] sun8i-ce 3040000.crypto: Register ecb(aes)
[    0.123328] sun8i-ce 3040000.crypto: Register cbc(des3_ede)
[    0.123527] sun8i-ce 3040000.crypto: Register ecb(des3_ede)
[    0.123721] sun8i-ce 3040000.crypto: Register md5
[    0.123918] sun8i-ce 3040000.crypto: Register sha1
[    0.124202] sun8i-ce 3040000.crypto: Register sha224
[    0.124406] sun8i-ce 3040000.crypto: Register sha256
[    0.124604] sun8i-ce 3040000.crypto: Register sha384
[    0.124804] sun8i-ce 3040000.crypto: Register sha512
[    0.125001] sun8i-ce 3040000.crypto: Register stdrng
[    0.125684] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0
[    0.128307] usbcore: registered new interface driver snd-usb-audio
[    0.130481] aldo: supplied by vcc-3v3
[    0.130985] hpldo: supplied by vcc-3v3
[    0.131418] sun20i-codec 2030000.audio-codec: ASoC: Adding component 2030000.audio-codec for platform /soc/audio-codec@2030000
[    0.131462] sun20i-codec 2030000.audio-codec: ASoC: Adding component 2030000.audio-codec for platform /soc/audio-codec@2030000
[    0.132954] random: fast init done
[    0.133919] random: crng init done
[    0.141335] NET: Registered PF_INET6 protocol family
[    0.142812] Segment Routing with IPv6
[    0.142933] NET: Registered PF_PACKET protocol family
[    0.182148] sun20i-d1-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.184057] vdd-cpu: supplied by vcc
[    0.185103] printk: console [ttyS0] disabled
[    0.205429] 2500000.serial: ttyS0 at MMIO 0x2500000 (irq = 24, base_baud = 1500000) is a 16550A
[    0.970666] printk: console [ttyS0] enabled
[    0.996663] 2500400.serial: ttyS1 at MMIO 0x2500400 (irq = 25, base_baud = 1500000) is a 16550A
[    1.007949] spi-nand spi0.0: Macronix SPI NAND was found.
[    1.013445] spi-nand spi0.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.024053] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.030451] Creating 4 MTD partitions on "spi0.0":
[    1.035280] 0x000000000000-0x000000100000 : "boot0"
[    1.044628] 0x000000100000-0x000000400000 : "uboot"
[    1.058775] 0x000000400000-0x000000500000 : "secure_storage"
[    1.068967] 0x000000500000-0x000010000000 : "sys"
[    1.684182] dwmac-sun8i 4500000.ethernet: IRQ eth_wake_irq not found
[    1.690616] dwmac-sun8i 4500000.ethernet: IRQ eth_lpi not found
[    1.697063] dwmac-sun8i 4500000.ethernet: PTP uses main clock
[    1.702912] dwmac-sun8i 4500000.ethernet: Current syscon value is not the default 50006 (expect 0)
[    1.712207] dwmac-sun8i 4500000.ethernet: No HW DMA feature register supported
[    1.719510] dwmac-sun8i 4500000.ethernet: RX Checksum Offload Engine supported
[    1.726772] dwmac-sun8i 4500000.ethernet: COE Type 2
[    1.731773] dwmac-sun8i 4500000.ethernet: TX Checksum insertion supported
[    1.738595] dwmac-sun8i 4500000.ethernet: Normal descriptors
[    1.744287] dwmac-sun8i 4500000.ethernet: Chain mode enabled
[    1.749989] dwmac-sun8i 4500000.ethernet: device MAC address 42:23:3b:e7:5a:8f
[    1.758014] libphy: stmmac: probed
[    1.766633] input: 2009800.keys as /devices/platform/soc/2009800.keys/input/input0
[    1.778461] pcf857x 1-0038: probed
[    1.784234] sun20i-ledc 2008000.led-controller: supply vled not found, using dummy regulator
[    1.793302] sun20i-ledc 2008000.led-controller: Registered 1 LEDs
[    1.803900] usbvbus: supplied by vcc
[    1.807764] sunxi-mmc 4020000.mmc: Got CD GPIO
[    1.813624] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq
[    1.821465] acked 85 in 0x00000274, was 0x00200000, now 0x00000000
[    1.828382] phy phy-4100400.phy.0: Changing dr_mode to 1
[    1.833895] phy phy-4100400.phy.0: External vbus detected, not enabling our own vbus
[    1.841685] ehci-platform 4101000.usb: EHCI Host Controller
[    1.847390] sunxi-mmc 4021000.mmc: initialized, max. request size: 2047 KB, uses new timings mode
[    1.856491] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 1
[    1.864424] sunxi-mmc 4020000.mmc: initialized, max. request size: 2047 KB, uses new timings mode
[    1.873358] acked 134 in 0x000002b4, was 0x00000040, now 0x00000000
[    1.880346] ehci-platform 4101000.usb: irq 42, io mem 0x04101000
[    1.900036] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00
[    1.906465] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    1.914907] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.922219] usb usb1: Product: EHCI Host Controller
[    1.927186] usb usb1: Manufacturer: Linux 5.14.0-rc4 ehci_hcd
[    1.933079] usb usb1: SerialNumber: 4101000.usb
[    1.938594] hub 1-0:1.0: USB hub found
[    1.942537] hub 1-0:1.0: 1 port detected
[    1.948169] ehci-platform 4200000.usb: EHCI Host Controller
[    1.953928] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 2
[    1.961976] ehci-platform 4200000.usb: irq 44, io mem 0x04200000
[    1.970212] mmc1: new high speed SDIO card at address 0001
[    1.984040] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
[    1.990448] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    1.998809] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.006338] mmc0: new high speed SDHC card at address aaaa
[    2.011889] usb usb2: Product: EHCI Host Controller
[    2.017755] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    2.022294] usb usb2: Manufacturer: Linux 5.14.0-rc4 ehci_hcd
[    2.028730] usb usb2: SerialNumber: 4200000.usb
[    2.033528]  mmcblk0: p1
[    2.038083] hub 2-0:1.0: USB hub found
[    2.041983] hub 2-0:1.0: 1 port detected
[    2.084123] ohci-platform 4101400.usb: Generic Platform OHCI controller
[    2.090847] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 3
[    2.098857] ohci-platform 4101400.usb: irq 43, io mem 0x04101400
[    2.168290] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.14
[    2.176610] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.183868] usb usb3: Product: Generic Platform OHCI controller
[    2.189825] usb usb3: Manufacturer: Linux 5.14.0-rc4 ohci_hcd
[    2.195607] usb usb3: SerialNumber: 4101400.usb
[    2.200979] hub 3-0:1.0: USB hub found
[    2.204872] hub 3-0:1.0: 1 port detected
[    2.210104] ohci-platform 4200400.usb: Generic Platform OHCI controller
[    2.216994] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 4
[    2.224990] ohci-platform 4200400.usb: irq 45, io mem 0x04200400
[    2.292255] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.14
[    2.300605] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.307873] usb usb4: Product: Generic Platform OHCI controller
[    2.313830] usb usb4: Manufacturer: Linux 5.14.0-rc4 ohci_hcd
[    2.319610] usb usb4: SerialNumber: 4200400.usb
[    2.325021] hub 4-0:1.0: USB hub found
[    2.328919] hub 4-0:1.0: 1 port detected
[    2.335186] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.341210] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 5
[    2.349313] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    2.357632] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.364890] usb usb5: Product: MUSB HDRC host driver
[    2.369892] usb usb5: Manufacturer: Linux 5.14.0-rc4 musb-hcd
[    2.375677] usb usb5: SerialNumber: musb-hdrc.1.auto
[    2.381499] hub 5-0:1.0: USB hub found
[    2.385394] hub 5-0:1.0: 1 port detected
[    2.390359] using random self ethernet address
[    2.394878] using random host ethernet address
[    2.400246] usb0: HOST MAC b2:41:62:1e:1d:a3
[    2.404856] usb0: MAC 06:e4:6c:af:98:78
[    2.408778] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    2.415433] g_ether gadget: g_ether ready
[    2.420509] sun8i-dsp-rproc 1700000.dsp: error -ENOENT: Failed to get cfg reset
[    2.427881] sun8i-dsp-rproc: probe of 1700000.dsp failed with error -2
[    2.434464] remoteproc remoteproc0: releasing 1700000.dsp
[    2.441164] ALSA device list:
[    2.444213]   #0: sun20i-codec
[    2.456202] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem
[    2.463618] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
[    2.587020] EXT4-fs (mmcblk0p1): recovery complete
[    2.594837] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    2.605036] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[    2.614489] devtmpfs: mounted
[    2.618882] Freeing unused kernel image (initmem) memory: 2092K
[    2.624893] Run /sbin/init as init process
[    2.771829] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null). Quota mode: disabled.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: OK
Starting network: OK

Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login: root
#
#
# clear
# ps
PID   USER     COMMAND
    1 root     init
    2 root     [kthreadd]
    3 root     [rcu_gp]
    4 root     [rcu_par_gp]
    5 root     [kworker/0:0-pm]
    6 root     [kworker/0:0H-ev]
    7 root     [kworker/u2:0-ev]
    8 root     [mm_percpu_wq]
    9 root     [rcu_tasks_kthre]
   10 root     [ksoftirqd/0]
   11 root     [rcu_preempt]
   12 root     [kdevtmpfs]
   13 root     [inet_frag_wq]
   14 root     [kworker/0:1-pm]
   15 root     [oom_reaper]
   16 root     [writeback]
   17 root     [kcompactd0]
   32 root     [kblockd]
   33 root     [watchdogd]
   34 root     [kworker/0:1H-mm]
   35 root     [kswapd0]
   36 root     [kworker/0:2-pm]
   37 root     [khvcd]
   38 root     [kworker/u2:1-ev]
   39 root     [3040000.crypto-]
   40 root     [3040000.crypto-]
   41 root     [3040000.crypto-]
   42 root     [3040000.crypto-]
   54 root     [hwrng]
   55 root     [mld]
   56 root     [ipv6_addrconf]
   57 root     [kworker/u2:2-ev]
   58 root     [spi0]
   59 root     [spi1]
   60 root     [stmmac_wq]
   61 root     [irq/57-1-0038]
   62 root     [irq/17-ths]
   63 root     [irq/37-sunxi-mm]
   64 root     [kworker/u2:3]
   65 root     [irq/38-sunxi-mm]
   66 root     [irq/189-4020000]
   67 root     [kworker/0:3-pm]
   68 root     [kworker/0:4-pm]
   69 root     [mmc_complete]
   70 root     [jbd2/mmcblk0p1-]
   71 root     [ext4-rsv-conver]
   88 root     /sbin/syslogd -n
   92 root     /sbin/klogd -n
  120 root     -sh
  123 root     ps
# psp
-sh: psp: not found
# ps
PID   USER     COMMAND
    1 root     init
    2 root     [kthreadd]
    3 root     [rcu_gp]
    4 root     [rcu_par_gp]
    5 root     [kworker/0:0-pm]
    6 root     [kworker/0:0H-ev]
    7 root     [kworker/u2:0-ev]
    8 root     [mm_percpu_wq]
    9 root     [rcu_tasks_kthre]
   10 root     [ksoftirqd/0]
   11 root     [rcu_preempt]
   12 root     [kdevtmpfs]
   13 root     [inet_frag_wq]
   14 root     [kworker/0:1-pm]
   15 root     [oom_reaper]
   16 root     [writeback]
   17 root     [kcompactd0]
   32 root     [kblockd]
   33 root     [watchdogd]
   34 root     [kworker/0:1H-mm]
   35 root     [kswapd0]
   36 root     [kworker/0:2-pm]
   37 root     [khvcd]
   38 root     [kworker/u2:1-ev]
   39 root     [3040000.crypto-]
   40 root     [3040000.crypto-]
   41 root     [3040000.crypto-]
   42 root     [3040000.crypto-]
   54 root     [hwrng]
   55 root     [mld]
   56 root     [ipv6_addrconf]
   57 root     [kworker/u2:2-ev]
   58 root     [spi0]
   59 root     [spi1]
   60 root     [stmmac_wq]
   61 root     [irq/57-1-0038]
   62 root     [irq/17-ths]
   63 root     [irq/37-sunxi-mm]
   64 root     [kworker/u2:3]
   65 root     [irq/38-sunxi-mm]
   66 root     [irq/189-4020000]
   67 root     [kworker/0:3-pm]
   68 root     [kworker/0:4-pm]
   69 root     [mmc_complete]
   70 root     [jbd2/mmcblk0p1-]
   71 root     [ext4-rsv-conver]
   88 root     /sbin/syslogd -n
   92 root     /sbin/klogd -n
  120 root     -sh
  124 root     ps
# ls
# pwd
/root
# mkdir a
# ls
a
# openvt
openvt: can't find open VT
#
#
#
# wh[   33.764055] ldob: disabling
[   33.766885] usbvbus: disabling

-sh: wh: not found
#
#
#
#
#
#
# ifconfig
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)

#



启动成功

离线

楼主 #6 2022-10-14 16:34:03

luciferseva
会员
注册时间: 2020-05-20
已发帖子: 58
积分: 51.5

Re: 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新

echo 15 > /sys/class/gpio/export
sh: write error: Unknown error 517
why?想点个灯,拉个io

离线

页脚

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

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