您尚未登录。

#2 Re: 全志 SOC » alsa-lib编译方法以及V3S音频功能测试 » 2023-03-30 13:54:11

mysteryli 说:

麻烦问下 buildroot里面如果勾选了alsa相关的,是不是就省去了上面交叉编译的步骤呀

昂,是的

#3 全志 SOC » 请问F133-A 这个芯片平台有移植过 RTL8188FTV 这款WiFi模组嘛 » 2022-11-18 10:15:46

luciferseva
回复: 0

有没有相关文档可以参考一下,请大神们提示一下下,谢谢!!!

#4 Re: 全志 SOC » 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新 » 2022-10-14 16:34:03

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

#5 Re: 全志 SOC » 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新 » 2022-10-14 15:04:03

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 Re: 全志 SOC » 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新 » 2022-10-14 14:45:19

luciferseva 说:

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

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

#7 Re: 全志 SOC » 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新 » 2022-10-14 14:42:23

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

#9 Re: 全志 SOC » 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新 » 2022-10-14 11:38:33

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

#10 全志 SOC » 开一个帖子,用最新的buildroot2022-08 来编译全志nezha哪吒开发板的固件,持续更新 » 2022-10-14 11:33:56

luciferseva
回复: 6

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

#11 全志 SOC » 求一个t7的datasheet ,谢谢大佬 » 2022-05-06 09:49:11

luciferseva
回复: 0

想学习一下多路摄像头输入以及视频输出

#13 Re: 全志 SOC » 关于全志V3s能否跑QT界面 » 2022-03-03 10:55:04

跑肯定是可以跑的,关键是跑qt后,还需求有其他功能没有?

#15 Re: 全志 SOC » 怎么理解设备树文件 » 2022-03-03 10:38:09

有本书叫深入理解设备树的好像,可以看看,大概意思应该跟你想的差不多

#18 Re: 全志 SOC » 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程! » 2020-08-25 09:16:08

luciferseva 说:

# ifconfig wlan1 192.168.0.10 netmask 255.255.255.0
# udhcpd -f /root/etc/udhcpd.conf
udhcpd: started, v1.27.1
udhcpd: can't bind to interface wlan1: Protocol not available
协议不可用滴

这个是why啊

#19 Re: 全志 SOC » 各路大神,荔枝派v3s(有底板的那种)开发板怎挂载wifi【RTL8723BS】,求写入门教程! » 2020-08-25 09:15:43

# ifconfig wlan1 192.168.0.10 netmask 255.255.255.0
# udhcpd -f /root/etc/udhcpd.conf
udhcpd: started, v1.27.1
udhcpd: can't bind to interface wlan1: Protocol not available
协议不可用滴

#21 全志 SOC » 请教各位大师个问题,在使用sdiowifi的时候,想用wifi的ap模式,但是udhcpd使用出错 » 2020-08-25 09:01:07

luciferseva
回复: 1

# udhcpd -f /root/etc/udhcpd.conf
udhcpd: started, v1.27.1
udhcpd: can't bind to interface wlan1: Protocol not available

#22 Re: 全志 SOC » 如何在荔枝派 zero 的SDC1上使用RTL8723BS WIFI模块 » 2020-06-17 17:23:49

danile 说:

如何在荔枝派 zero 的SDC1上使用RTL8723BS WIFI模块
1. dts如何修改
2. 为什么驱动只能选择(M)不能(*)

能不能分享一下,怎样使能,并成功使用8723bs的

#23 Re: 全志 SOC » 我用buildroot产生的rootfs,每次启动都要登录,有什么办法可以去掉这个登录吗? » 2020-06-16 19:24:08

tkyl01 说:

简单,好用。

这个改完以后,为什么开机后,直接进去的目录就变了呢

#24 Re: 全志 SOC » zero flash启动想知道为啥是这两个地址bootz 0x41000000 (内核地址)- 0x41800000(dtb地址) 启动内核 » 2020-06-11 10:58:34

shaoxi2010 说:

zImage是自解压缩的镜像,可以随意放到内存的任意位置
Image属于未加压镜像需要放到指定内存位置,如0x40008000(arm32),参考内核内存映射模型
具体代码参照lds链接脚本,和stext的代码

还是有点不太懂,官网上的spiflash启动,uboot需要这样改动。烧写到flash0x110000 的是内核zImage,为啥要加载到0x41000000 ,有没有具体点的信息和设置说明,能详细讲解一下嘛?
#define CONFIG_BOOTCOMMAND   "sf probe 0; "                           \
                             "sf read 0x41800000 0x100000 0x10000; "  \
                             "sf read 0x41000000 0x110000 0x400000; " \
                             "bootz 0x41000000 - 0x41800000"

#define CONFIG_BOOTARGS      "console=ttyS0,115200 earlyprintk panic=5 rootwait " \
                             "mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2"

#25 全志 SOC » zero flash启动想知道为啥是这两个地址bootz 0x41000000 (内核地址)- 0x41800000(dtb地址) 启动内核 » 2020-06-11 10:34:20

luciferseva
回复: 3

为啥要将内核的内容读到内存的0x41000000,有没有具体的说明和计算,文档啥的学习一下,是在哪个地方指定的?

#26 Re: 全志 SOC » 官网spi烧写,内核4.10,系统起来了,但是还会有这些打印? » 2020-06-04 09:36:43

哇酷小二 说:

重新用 mkfs.jffs2 制作jffs2镜像文件,

烧录到 flash指定地方(地址由你的flash分区确定)

如果烧录软件没有校验功能,最好烧录完能读回来手动比较。

我已经制作很多次了呢,老板,32m的flash,是因为哪些不匹配才会有这些oops嘛?

#27 Re: 全志 SOC » 官网spi烧写,内核4.10,系统起来了,但是还会有这些打印? » 2020-06-04 09:07:57

哇酷小二 说:

咦,昨天回复你了啊,可能是jffs2文件系统问题

木有解决啊,需要我换个系统嘛?

#28 全志 SOC » 官网spi烧写,内核4.10,系统起来了,但是还会有这些打印? » 2020-06-03 22:16:01

luciferseva
回复: 4

Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
[    9.135175] ------------[ cut here ]------------
[    9.139838] WARNING: CPU: 0 PID: 86 at drivers/mtd/spi-nor/spi-nor.c:1182 spi_nor_write+0x138/0x1b4
[    9.148940] Writing at offset 204 into a NOR page. Writing partial pages may decrease reliability and increase wear of NOR flash.
[    9.148944] Modules linked in:
[    9.163667] CPU: 0 PID: 86 Comm: touch Not tainted 4.10.15-licheepi-zero #14
[    9.170704] Hardware name: Allwinner sun8i Family
[    9.175434] [<c010e2fc>] (unwind_backtrace) from [<c010b098>] (show_stack+0x10/0x14)
[    9.183176] [<c010b098>] (show_stack) from [<c03465c4>] (dump_stack+0x84/0x98)
[    9.190399] [<c03465c4>] (dump_stack) from [<c011b634>] (__warn+0xe8/0x100)
[    9.197356] [<c011b634>] (__warn) from [<c011b684>] (warn_slowpath_fmt+0x38/0x48)
[    9.204834] [<c011b684>] (warn_slowpath_fmt) from [<c0453094>] (spi_nor_write+0x138/0x1b4)
[    9.213093] [<c0453094>] (spi_nor_write) from [<c044b454>] (mtd_writev+0xa4/0xec)
[    9.220575] [<c044b454>] (mtd_writev) from [<c02fbec0>] (jffs2_flash_writev+0x414/0x4b0)
[    9.228661] [<c02fbec0>] (jffs2_flash_writev) from [<c02f4d48>] (jffs2_write_dnode+0xd4/0x328)
[    9.237265] [<c02f4d48>] (jffs2_write_dnode) from [<c02f9458>] (jffs2_do_setattr+0x280/0x558)
[    9.245782] [<c02f9458>] (jffs2_do_setattr) from [<c02f9754>] (jffs2_setattr+0x24/0x48)
[    9.253781] [<c02f9754>] (jffs2_setattr) from [<c020d990>] (notify_change+0x1c4/0x3d0)
[    9.261692] [<c020d990>] (notify_change) from [<c021e65c>] (utimes_common+0xa8/0x170)
[    9.269514] [<c021e65c>] (utimes_common) from [<c021e7d4>] (do_utimes+0xb0/0x144)
[    9.276989] [<c021e7d4>] (do_utimes) from [<c021ea10>] (SyS_futimesat+0xd0/0xfc)
[    9.284378] [<c021ea10>] (SyS_futimesat) from [<c0107580>] (ret_fast_syscall+0x0/0x3c)
[    9.292337] ---[ end trace 9ea8c5d7c5cb7d35 ]---
Initializing random number generator... done.
Starting network:

#32 Re: 全志 SOC » zero 32mflash启动,是起来了,但是这些报错是哪里来的,怎么解决??? » 2020-06-02 23:30:00

我思故我在 说:

jffs2 文件系统有问题

有没有解决方法啊?我就是下载网上的解压,然后制作啊,有什么问题吗?

#33 全志 SOC » zero 32mflash启动,是起来了,但是这些报错是哪里来的,怎么解决??? » 2020-06-02 22:52:01

luciferseva
回复: 4

[    0.959402] using random host ethernet address
[    0.964953] usb0: HOST MAC e2:f0:c0:75:44:a3
[    0.969276] usb0: MAC 22:25:ab:57:04:a8
[    0.973156] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    0.980739] g_cdc gadget: g_cdc ready
[    0.984755] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:37 UTC (37)
[    0.992992] vcc3v0: disabling
[    0.996043] vcc5v0: disabling
[    0.999012] ALSA device list:
[    1.001974]   No soundcards found.
[    1.007502] random: fast init done
[    1.050037] random: crng init done
[    1.677847] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    1.684859] devtmpfs: mounted
[    1.688997] Freeing unused kernel memory: 1024K
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
[    5.381577] ------------[ cut here ]------------
[    5.386298] WARNING: CPU: 0 PID: 86 at drivers/mtd/spi-nor/spi-nor.c:1182 spi_nor_write+0x138/0x1b4
[    5.395376] Writing at offset 100 into a NOR page. Writing partial pages may decrease reliability and increase wear of NOR flash.
[    5.395382] Modules linked in:
[    5.410089] CPU: 0 PID: 86 Comm: touch Not tainted 4.10.15-licheepi-zero #8
[    5.417038] Hardware name: Allwinner sun8i Family
[    5.421767] [<c010e2fc>] (unwind_backtrace) from [<c010b098>] (show_stack+0x10/0x14)
[    5.429509] [<c010b098>] (show_stack) from [<c03465c4>] (dump_stack+0x84/0x98)
[    5.436732] [<c03465c4>] (dump_stack) from [<c011b634>] (__warn+0xe8/0x100)
[    5.443689] [<c011b634>] (__warn) from [<c011b684>] (warn_slowpath_fmt+0x38/0x48)
[    5.451168] [<c011b684>] (warn_slowpath_fmt) from [<c0453094>] (spi_nor_write+0x138/0x1b4)
[    5.459426] [<c0453094>] (spi_nor_write) from [<c044b454>] (mtd_writev+0xa4/0xec)
[    5.466909] [<c044b454>] (mtd_writev) from [<c02fbec8>] (jffs2_flash_writev+0x414/0x4b0)
[    5.474995] [<c02fbec8>] (jffs2_flash_writev) from [<c02f4d48>] (jffs2_write_dnode+0xd4/0x328)
[    5.483598] [<c02f4d48>] (jffs2_write_dnode) from [<c02f9458>] (jffs2_do_setattr+0x280/0x558)
[    5.492114] [<c02f9458>] (jffs2_do_setattr) from [<c02f9754>] (jffs2_setattr+0x24/0x48)
[    5.500114] [<c02f9754>] (jffs2_setattr) from [<c020d990>] (notify_change+0x1c4/0x3d0)
[    5.508026] [<c020d990>] (notify_change) from [<c021e65c>] (utimes_common+0xa8/0x170)
[    5.515847] [<c021e65c>] (utimes_common) from [<c021e7d4>] (do_utimes+0xb0/0x144)
[    5.523322] [<c021e7d4>] (do_utimes) from [<c021ea10>] (SyS_futimesat+0xd0/0xfc)
[    5.530712] [<c021ea10>] (SyS_futimesat) from [<c0107580>] (ret_fast_syscall+0x0/0x3c)
[    5.538693] ---[ end trace 2eb92dd1d99ad103 ]---
Initializing random number generator... done.
Starting network: OK

#34 Re: 全志 SOC » 可以发广告吗?我们是全志代理,第一次发现这个网站这么多攻城狮 » 2020-05-30 11:23:59

allwinner代理 说:

how to send you ?
please email me

hello? ni zi liao fa lun tan  hao ma ?

#35 Re: 全志 SOC » V3S荔枝派spi flash w25q128bv挂在不了文件系统无限重启 折腾两天了 » 2020-05-30 11:16:23

vip171365253 说:

找到问题了,因为spiflash 4k擦除问题。

为啥会有这个问题?

#36 Re: 全志 SOC » 主线的linux4.19-y的config支持cpi摄像头嘛,怎么配置的?摄像头是ov7740 » 2020-05-30 11:15:34

wupaul2001 说:

你问的应该是dvp,这个是支持的

dvp?怎么配置,有没有文档啥的

#37 全志 SOC » 主线的linux4.19-y的config支持cpi摄像头嘛,怎么配置的?摄像头是ov7740 » 2020-05-28 14:39:57

luciferseva
回复: 4

有没有具体的教程啥的,需要学习一些,谢谢。@晕哥

#39 Re: 全志 SOC » v3s,zero板子的spiflash启动,调用reboot起不来的问题 » 2020-05-25 14:22:31

歌以咏志 说:

你是软件命令reboot? 主动热重启可以改下代码:  https://whycan.cn/t_534.html#p1447

热重启还好可以按照上面的处理,

如果是死机就有有点麻烦,

即使有外部看门狗(如max811)拉低 V3s 8PIN的也不能重启成功,除非flash电源脚也可以用看门狗控制。


所以我现在用16PIN 的 W25Q256, 这样每次都能可靠复位了,

把FLASH的 RESET# 引脚和 V3s的 RESET# 引脚短路到外部看门狗。

我说的应该是软件命令reboot,但是后面你说的那个应该后面也会遇到,你说的flash和v3s的reset引脚短路到外部看门狗是什么意思,有点不太了解

#40 Re: 全志 SOC » v3s,zero板子的spiflash启动,调用reboot起不来的问题 » 2020-05-25 14:01:38

luciferseva 说:

如题,有没有具体的解决方法

是使用了32M flash,在重启的时候,没有退出4-byte地址模式导致。(因为板子上没有PMU,没有对flash进行复位)?应该怎么操作?

#42 Re: 全志 SOC » 荔枝派zero/V3s使用NOR flash挂载squashfs和overlay文件系统,教你怎么装得下QT » 2020-05-22 15:42:51

哇酷小二 说:

@njitnjit bootargs 中间少了一个逗号。

正确的应该是啥样的?,能不能贴出来我对比一下

#43 全志 SOC » 使用squashfs的一些疑问??? » 2020-05-22 14:48:28

luciferseva
回复: 2

dd if=rootfs.squashfs of=flashimg.bin  bs=1K seek=5184  conv=notrunc
启动系统后,挂在剩余的分区jffs2到workdir目录,这里的/workdir,请在制作squashfs文件系统之前mkdir,不然启动后squashfs为只读的,就不能新建文件夹了,这样workdir目录就变成可读写的了
mount -n -t jffs2 /dev/mtdblock4  /workdir
如果想使用overlayfs,请在制作squashfs文件系统之前新建merged 和 overlay
启动系统后
mount -n -t jffs2 /dev/mtdblock4  /overlay
mkdir /overlay/upperdir /overlay/workdir
mount -n -t overlay overlayfs:/overlay -o lowerdir=/,upperdir=/overlay/upperdir,workdir=/overlay/workdir /merged/
这样upperdir的目录就是/overlay/upperdir,lowerdir就是根目录
在你未做修改之前 可以ls查看一下,ls /merged和ls /目录是一样的内容,
这样就可以在/merged添加修改你的东西了
后面我的觉麻烦,而且研究的不透彻就没有使用overlay了


问一下,这里说的启动系统是板子上电是吧,还有这些这些命令,是在板子上进行操作嘛?

#45 全志 SOC » 关于linux下的sun-fel工具烧写32Mflash的问题,目前发现这样改后,编译成功,但是烧写也显示成功,但是实际上烧写是失败,why » 2020-05-22 11:32:55

luciferseva
回复: 2

官网上是这样的
sunxi-fel增加对16M以上Flash的支持

由于SPI flash 的地址是24bit,也就是最大16M 地址空间,所以对于32M flash,需要增加bank切换支持。
uboot中有 CONFIG_SPI_FLASH_BAR 选项可以使能bank切换。
但是sunxi-fel中尚未支持,所以下载的时候超出16M会循环覆盖掉。
这里介绍对sunxi-fel增加16M以上flash支持的方法。
u-boot的支持
drivers/mtd/spi/spi_flash.c
static int write_bar(struct spi_flash *flash, u32 offset)
{
     u8 cmd, bank_sel;
     int ret;

     bank_sel = offset / (SPI_FLASH_16MB_BOUN << flash->shift);
     if (bank_sel == flash->bank_curr)
         goto bar_end;

     cmd = flash->bank_write_cmd;
     ret = spi_flash_write_common(flash, &cmd, 1, &bank_sel, 1);
     if (ret < 0) {
         debug("SF: fail to write bank register\n");
         return ret;
     }

bar_end:
     flash->bank_curr = bank_sel;
     return flash->bank_curr;
}
sunxi-fel的支持
fel-spiflash.c
#define CMD_WRITE_ENABLE 0x06
#define SPI_FLASH_16MB_BOUN  0x1000000
# define CMD_BANKADDR_BRWR              0x17        //only SPANSION flash use it
# define CMD_BANKADDR_BRRD              0x16
# define CMD_EXTNADDR_WREAR             0xC5
# define CMD_EXTNADDR_RDEAR             0xC8
size_t bank_curr = 0;

void aw_fel_spiflash_write_helper(feldev_handle *dev,
                 uint32_t offset, void *buf, size_t len,
                 size_t erase_size, uint8_t erase_cmd,
                 size_t program_size, uint8_t program_cmd)
{
     uint8_t *buf8 = (uint8_t *)buf;
     size_t max_chunk_size = dev->soc_info->scratch_addr - dev->soc_info->spl_addr;
     size_t cmd_idx, bank_sel;

     if (max_chunk_size > 0x1000)
         max_chunk_size = 0x1000;
     uint8_t *cmdbuf = malloc(max_chunk_size);
     cmd_idx = 0;

     prepare_spi_batch_data_transfer(dev, dev->soc_info->spl_addr);
     //add bank support
     {
     cmd_idx = 0;
     bank_sel = offset /SPI_FLASH_16MB_BOUN;
     if (bank_sel == bank_curr)
         goto bar_end;

     /* Emit write enable command */
     cmdbuf[cmd_idx++] = 0;
     cmdbuf[cmd_idx++] = 1;
     cmdbuf[cmd_idx++] = CMD_WRITE_ENABLE;
     /* Emit write bank */
     cmdbuf[cmd_idx++] = 0;
     cmdbuf[cmd_idx++] = 2;
     cmdbuf[cmd_idx++] = CMD_EXTNADDR_WREAR;
     cmdbuf[cmd_idx++] = offset >> 24;
     /* Emit wait for completion */
     cmdbuf[cmd_idx++] = 0xFF;
     cmdbuf[cmd_idx++] = 0xFF;
     /* Emit the end marker */
     cmdbuf[cmd_idx++] = 0;
     cmdbuf[cmd_idx++] = 0;
     aw_fel_write(dev, cmdbuf, dev->soc_info->spl_addr, cmd_idx);
     aw_fel_remotefunc_execute(dev, NULL);
     bar_end:
         bank_curr = bank_sel;
     }

     cmd_idx = 0;
重新编译sunxi-fel后就可以烧录32M flash了~

#48 Re: 全志 SOC » 32M烧录完成,按照官网操作,改了工具,改了一些相关配置,为啥uart0的打印啥也没有 » 2020-05-22 00:28:54

还有这个问题,我用其他电脑烧录进去后,输入不了U-Boot SPL 2017.01-rc2 (May 21 2020 - 07:47:08)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2 (May 21 2020 - 07:47:08 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (May 21 2020 - 07:47:08 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dff20a ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero (root@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #4 SMP Thu May 21 01:46:30 PDT 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @c3f63000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 55152K/65536K available (6144K kernel code, 199K rwdata, 1412K rodata, 1024K init, 262K bss, 10384K reserved, 0K 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 : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a31f00   ( 200 kB)
[    0.000000]        .bss : 0xc0a33000 - 0xc0a7484c   ( 263 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000135] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000339] Console: colour dummy device 80x30
[    0.000373] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000386] pid_max: default: 32768 minimum: 301
[    0.000523] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000536] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001231] CPU: Testing write buffer coherency: ok
[    0.001629] /cpus/cpu@0 missing clock-frequency property
[    0.001654] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002001] Setting up static identity map for 0x40100000 - 0x40100058
[    0.002730] smp: Bringing up secondary CPUs ...
[    0.002748] smp: Brought up 1 node, 1 CPU
[    0.002756] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002763] CPU: All CPU(s) started in SVC mode.
[    0.003536] devtmpfs: initialized
[    0.006302] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006592] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006620] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.006776] pinctrl core: initialized pinctrl subsystem
[    0.007794] NET: Registered protocol family 16
[    0.008247] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009456] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009472] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.020884] SCSI subsystem initialized
[    0.021167] usbcore: registered new interface driver usbfs
[    0.021228] usbcore: registered new interface driver hub
[    0.021319] usbcore: registered new device driver usb
[    0.021559] pps_core: LinuxPPS API ver. 1 registered
[    0.021568] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.021591] PTP clock support registered
[    0.021793] Advanced Linux Sound Architecture Driver Initialized.
[    0.023594] clocksource: Switched to clocksource arch_sys_counter
[    0.034073] NET: Registered protocol family 2
[    0.034709] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.034742] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.034765] TCP: Hash tables configured (established 1024 bind 1024)
[    0.034853] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.034898] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.035104] NET: Registered protocol family 1
[    0.035697] RPC: Registered named UNIX socket transport module.
[    0.035716] RPC: Registered udp transport module.
[    0.035722] RPC: Registered tcp transport module.
[    0.035727] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.037905] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.046841] NFS: Registering the id_resolver key type
[    0.046895] Key type id_resolver registered
[    0.046901] Key type id_legacy registered
[    0.046946] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.051410] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.051431] io scheduler noop registered
[    0.051439] io scheduler deadline registered
[    0.051645] io scheduler cfq registered (default)
[    0.055815] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.123523] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.126814] console [ttyS0] disabled
[    0.147096] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
[    0.710895] console [ttyS0] enabled
[    0.715089] [drm] Initialized
[    0.720827] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[    0.726349] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.732610] Creating 4 MTD partitions on "spi32766.0":
[    0.737775] 0x000000000000-0x000000100000 : "uboot"
[    0.743293] 0x000000100000-0x000000110000 : "dtb"
[    0.748502] 0x000000110000-0x000000510000 : "kernel"
[    0.753922] 0x000000510000-0x000002000000 : "rootfs"
[    0.759618] libphy: Fixed MDIO Bus: probed
[    0.764048] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.770572] ehci-platform: EHCI generic platform driver
[    0.775936] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.782130] ohci-platform: OHCI generic platform driver
[    0.787839] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.797511] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.804389] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.808921] i2c /dev entries driver
[    0.813794] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    0.823300] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.883637] sunxi-mmc 1c0f000.mmc: base:0xc48ae000 irq:23
[    0.889970] usbcore: registered new interface driver usbhid
[    0.895629] usbhid: USB HID core driver
[    0.901138] NET: Registered protocol family 17
[    0.905822] Key type dns_resolver registered
[    0.910239] Registering SWP/SWPB emulation handler
[    0.921332] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    0.929259] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    0.935108] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    0.946311] hub 1-0:1.0: USB hub found
[    0.950170] hub 1-0:1.0: 1 port detected
[    0.954949] using random self ethernet address
[    0.959440] using random host ethernet address
[    0.964994] usb0: HOST MAC 02:35:68:24:ba:db
[    0.969322] usb0: MAC de:95:07:bf:a2:32
[    0.973197] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    0.980782] g_cdc gadget: g_cdc ready
[    0.984797] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:05 UTC (5)
[    0.992951] vcc3v0: disabling
[    0.996003] vcc5v0: disabling
[    0.998971] ALSA device list:
[    1.001932]   No soundcards found.
[    1.007473] random: fast init done
[    1.049807] random: crng init done
[    3.183959] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    3.190897] devtmpfs: mounted
[    3.195121] Freeing unused kernel memory: 1024K
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
[    6.889352] ------------[ cut here ]------------
[    6.894071] WARNING: CPU: 0 PID: 87 at drivers/mtd/spi-nor/spi-nor.c:1182 spi_nor_write+0x138/0x1b4
[    6.903106] Writing at offset 200 into a NOR page. Writing partial pages may decrease reliability and increase wear of NOR flash.
[    6.903110] Modules linked in:
[    6.917841] CPU: 0 PID: 87 Comm: touch Not tainted 4.10.15-licheepi-zero #4
[    6.924790] Hardware name: Allwinner sun8i Family
[    6.929517] [<c010e2fc>] (unwind_backtrace) from [<c010b098>] (show_stack+0x10/0x14)
[    6.937260] [<c010b098>] (show_stack) from [<c03465c4>] (dump_stack+0x84/0x98)
[    6.944481] [<c03465c4>] (dump_stack) from [<c011b634>] (__warn+0xe8/0x100)
[    6.951439] [<c011b634>] (__warn) from [<c011b684>] (warn_slowpath_fmt+0x38/0x48)
[    6.958919] [<c011b684>] (warn_slowpath_fmt) from [<c0452fb8>] (spi_nor_write+0x138/0x1b4)
[    6.967178] [<c0452fb8>] (spi_nor_write) from [<c044b454>] (mtd_writev+0xa4/0xec)
[    6.974660] [<c044b454>] (mtd_writev) from [<c02fbec8>] (jffs2_flash_writev+0x414/0x4b0)
[    6.982745] [<c02fbec8>] (jffs2_flash_writev) from [<c02f4d48>] (jffs2_write_dnode+0xd4/0x328)
[    6.991350] [<c02f4d48>] (jffs2_write_dnode) from [<c02f9458>] (jffs2_do_setattr+0x280/0x558)
[    6.999866] [<c02f9458>] (jffs2_do_setattr) from [<c02f9754>] (jffs2_setattr+0x24/0x48)
[    7.007866] [<c02f9754>] (jffs2_setattr) from [<c020d990>] (notify_change+0x1c4/0x3d0)
[    7.015777] [<c020d990>] (notify_change) from [<c021e65c>] (utimes_common+0xa8/0x170)
[    7.023599] [<c021e65c>] (utimes_common) from [<c021e7d4>] (do_utimes+0xb0/0x144)
[    7.031073] [<c021e7d4>] (do_utimes) from [<c021ea10>] (SyS_futimesat+0xd0/0xfc)
[    7.038463] [<c021ea10>] (SyS_futimesat) from [<c0107580>] (ret_fast_syscall+0x0/0x3c)
[    7.046436] ---[ end trace df9cb2cc7927e455 ]---
Initializing random number generator... done.
Starting network: OK

Welcome to Lichee Pi
Lichee login:
-----就到这里,上面的报错怎么解决,还是不需要解决?

#49 全志 SOC » 32M烧录完成,按照官网操作,改了工具,改了一些相关配置,为啥uart0的打印啥也没有 » 2020-05-21 23:44:14

luciferseva
回复: 3

oot@ubuntu:/home/lucifer/lizhe/tools/sunxi-tools# sudo sunxi-fel -p spiflash-write 0 flashimg.bin
100% [================================================] 33554 kB, 3045.6 kB/s
root@ubuntu:/home/lucifer/lizhe/tools/sunxi-tools#

#50 Re: 全志 SOC » V3s buildroot 一键生成打包生成32M spi flash 镜像, jffs2 文件系统, 默认启动 Qt 模拟时钟demo, » 2020-05-21 15:15:07

有个疑问,网上的根文件系统,有区分flash的大小嘛?应该都可以把?因为在配置buildroot的时候,没有选择flash的大小,就是我是32m的flash,下载打包好的个根文件系统,也只是在打包的时候有区分是吧

#51 Re: 全志 SOC » V3S 根文件系统之buildroot make出现问题,有没有大神帮助解答一下,安装官网流程,为啥下载下来编译会这样 » 2020-05-21 15:13:26

还有个疑问,网上的镜像,有区分flash的大小嘛?应该都可以把?因为在配置buildroot的时候,没有选择flash的大小啊?

#55 全志 SOC » V3S 根文件系统之buildroot make出现问题,有没有大神帮助解答一下,安装官网流程,为啥下载下来编译会这样 » 2020-05-20 23:37:45

luciferseva
回复: 8

编译log:

./../misc/create_inode.c:176:16: warning: implicit declaration of function ‘lgetxattr’; did you mean ‘getdate_r’? [-Wimplicit-function-declaration]
   value_size = lgetxattr(filename, name, NULL, 0);
                ^~~~~~~~~
                getdate_r
./../misc/create_inode.c: At top level:
./../misc/create_inode.c:399:18: error: conflicting types for ‘copy_file_range’
 static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,
                  ^~~~~~~~~~~~~~~
In file included from ./../misc/create_inode.c:19:0:
/usr/include/unistd.h:1110:9: note: previous declaration of ‘copy_file_range’ was here
 ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
         ^~~~~~~~~~~~~~~
Makefile:422: recipe for target 'create_inode.o' failed
make[3]: *** [create_inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4/debugfs'
Makefile:404: recipe for target 'all-progs-recursive' failed
make[2]: *** [all-progs-recursive] Error 1
make[2]: Leaving directory '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4'
Makefile:339: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4'
package/pkg-generic.mk:227: recipe for target '/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4/.stamp_built' failed
make: *** [/home/lucifer/lizhe/buildroot-2017.08/output/build/host-e2fsprogs-1.43.4/.stamp_built] Error 2

#56 Re: 全志 SOC » 32Mflash型号 Mx25L25645G 在对应的表中找不到该型号 » 2020-05-20 17:19:22

希望能够追随晕哥,早日像晕哥一样住上大别墅!

#58 Re: 全志 SOC » 32Mflash型号 Mx25L25645G 在对应的表中找不到该型号 » 2020-05-20 16:28:14

请问楼主按最后这样解决问题了嘛, 可以启动了吗?还是要再修改什么?

#61 Re: 全志 SOC » 新手Zero V3S 基础入门问题 » 2020-05-20 16:09:29

请问楼主,设备树中需要修改什么吗?我的电脑端一直没有出现新设备

页脚

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

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