您尚未登录。

#1 Re: 全志 SOC » 芒果派 麻雀 Dual T113使用Buildroot一键构建 » 2022-05-04 09:57:26

reboot 命令后无法重启,卡死在这里

# reboot
# Stopping swupdate: OK
Stopping network: OK
Stopping iptables: OK
Stopping system message bus: done
Saving random seed: OK
Stopping klogd: OK
Stopping syslogd: OK
umount: devtmpfs busy - remounted read-only
[  323.862951] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
Sent SI[  325.876597] reboot_callback(): empty arg
[  325.881037] [ohci1-controller]: ohci shutdown start
[  325.886538] [ohci1-controller]: ohci shutdown end
[  325.891879] [ehci1-controller]: ehci shutdown start
[  325.897336] [ehci1-controller]: ehci shutdown end
[  325.902617] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown
[  325.911163] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown
[  325.931933] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[  326.722147] reboot: Restarting system

#2 Re: 全志 SOC » 芒果派 麻雀 Dual T113使用Buildroot一键构建 » 2022-05-04 09:46:55

出现一点小插曲...
mkbootimg: not found

解决方案:
sudo apt install -y android-tools-mkbootimg

#3 Re: 全志 SOC » 在F1C100s Nano上使用wifi模块 » 2022-04-12 09:18:26

请教一下大佬,我这个是啥问题 lichee zero + esp8089 linux-5.4.99

# cat /etc/wpa_supplicant.conf                                                                                                                                              
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

network={
  key_mgmt=NONE
}
# wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
Line 1: unknown global field 'ctrl_interface=/var/run/wpa_supplicant'.
Line 1: Invalid configuration line 'ctrl_interface=/var/run/wpa_supplicant'.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
: CTRL-EVENT-DSCP-POLICY clear_all
#

#4 Re: 全志 SOC » V3s USB错误 Couldn't request ID GPIO » 2022-03-25 15:42:04

[    0.889514] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.896045] ehci-platform: EHCI generic platform driver
[    0.901630] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.907264] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.915505] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.949415] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.956637] hub 1-0:1.0: USB hub found
[    0.960603] hub 1-0:1.0: 1 port detected
[    0.965183] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.971523] ohci-platform: OHCI generic platform driver
[    0.977110] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.983859] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.991982] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.064498] hub 2-0:1.0: USB hub found
[    1.068376] hub 2-0:1.0: 1 port detected
[    1.075613] usbcore: registered new interface driver usb-storage
[    1.081928] usbcore: registered new interface driver option
[    1.087549] usbserial: USB Serial support registered for GSM modem (1-port)
		ehci0: usb@01c1a000 {
			compatible = "allwinner,sun8i-v3s-ehci", "generic-ehci";
			reg = <0x01c1a000 0x100>;
			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>;
			resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
			status = "disabled";
		};

		ohci0: usb@01c1a400 {
			compatible = "allwinner,sun8i-v3s-ohci", "generic-ohci";
			reg = <0x01c1a400 0x100>;
			interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>,
				 <&ccu CLK_USB_OHCI0>;
			resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
			status = "disabled";
		};
&ehci0 {
	status = "okay";
};

&ohci0 {
	status = "okay";
};

#5 Re: 全志 SOC » V3s USB错误 Couldn't request ID GPIO » 2022-03-25 15:36:44

usb 好用了,linux 5.3.5 V3s 增加了独立的OHIC和EHIC驱动节点,需要添加使能后USB才好用

#7 Re: 全志 SOC » V3s USB错误 Couldn't request ID GPIO » 2022-03-23 21:49:41

@kwongwo
问题是否解决了,我也遇到同样问题,usb不好用

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.3.5 (root@VirtualBox) (gcc version 10.3.0 (Buildroot 2022.02-rc2)) #2 SMP Wed Mar 23 20:14:16 CST 2022
[    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 with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x41c00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 15 pages/cpu s30412 r8192 d22836 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 37468K/65536K available (7168K kernel code, 454K rwdata, 1704K rodata, 1024K init, 242K bss, 11684K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    0.000000] random: get_random_bytes called from start_kernel+0x2ec/0x490 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    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.000206] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000438] Console: colour dummy device 80x30
[    0.000729] printk: console [tty0] enabled
[    0.000784] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000813] pid_max: default: 32768 minimum: 301
[    0.000972] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001001] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001859] CPU: Testing write buffer coherency: ok
[    0.002406] /cpus/cpu@0 missing clock-frequency property
[    0.002455] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003238] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003489] rcu: Hierarchical SRCU implementation.
[    0.003969] smp: Bringing up secondary CPUs ...
[    0.004007] smp: Brought up 1 node, 1 CPU
[    0.004022] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.004035] CPU: All CPU(s) started in HYP mode.
[    0.004046] CPU: Virtualization extensions available.
[    0.004893] devtmpfs: initialized
[    0.007740] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008084] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008144] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008995] pinctrl core: initialized pinctrl subsystem
[    0.010348] NET: Registered protocol family 16
[    0.011480] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.012659] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.012707] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.027662] SCSI subsystem initialized
[    0.028374] usbcore: registered new interface driver usbfs
[    0.028461] usbcore: registered new interface driver hub
[    0.028573] usbcore: registered new device driver usb
[    0.028835] pps_core: LinuxPPS API ver. 1 registered
[    0.028861] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.028895] PTP clock support registered
[    0.029155] Advanced Linux Sound Architecture Driver Initialized.
[    0.030455] clocksource: Switched to clocksource arch_sys_counter
[    0.039940] thermal_sys: Registered thermal governor 'step_wise'
[    0.040463] NET: Registered protocol family 2
[    0.041110] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.041174] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.041209] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.041239] TCP: Hash tables configured (established 1024 bind 1024)
[    0.041398] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.041466] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.041722] NET: Registered protocol family 1
[    0.042883] RPC: Registered named UNIX socket transport module.
[    0.042929] RPC: Registered udp transport module.
[    0.042943] RPC: Registered tcp transport module.
[    0.042954] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.044861] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.053068] NFS: Registering the id_resolver key type
[    0.053148] Key type id_resolver registered
[    0.053162] Key type id_legacy registered
[    0.053294] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.053323] io scheduler mq-deadline registered
[    0.053336] io scheduler kyber registered
[    0.058303] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.120450] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.122801] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.123965] printk: console [ttyS0] disabled
[    0.144289] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a U6_16550A
[    0.710167] printk: console [ttyS0] enabled
[    0.737737] libphy: Fixed MDIO Bus: probed
[    0.741954] CAN device driver interface
[    0.746266] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.752863] ehci-platform: EHCI generic platform driver
[    0.758186] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.764432] ohci-platform: OHCI generic platform driver
[    0.769839] usbcore: registered new interface driver usb-storage
[    0.776047] usbcore: registered new interface driver option
[    0.781715] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.789161] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    0.800697] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    0.806484] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    0.815470] hub 1-0:1.0: USB hub found
[    0.819338] hub 1-0:1.0: 1 port detected
[    0.825618] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.834858] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.839942] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.844745] i2c /dev entries driver
[    0.849461] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.858145] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.894663] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.901976] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    0.936710] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    0.944758] usbcore: registered new interface driver usbhid
[    0.950438] usbhid: USB HID core driver
[    0.956298] NET: Registered protocol family 17
[    0.960923] can: controller area network core (rev 20170425 abi 9)
[    0.967217] NET: Registered protocol family 29
[    0.971716] can: raw protocol (rev 20170425)
[    0.975993] can: broadcast manager protocol (rev 20170425 t)
[    0.981683] can: netlink gateway (rev 20170425) max_hops=1
[    0.987495] Key type dns_resolver registered
[    0.991960] Registering SWP/SWPB emulation handler
[    1.003703] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T01:57:52 UTC (7072)
[    1.012334] ALSA device list:
[    1.015329]   No soundcards found.
[    1.019150] Waiting for root device /dev/mmcblk0p2...
[    1.029394] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.039240] mmc0: Problem switching card into high-speed mode!
[    1.045297] mmc0: new SDHC card at address 0001
[    1.051760] mmcblk0: mmc0:0001 SD16G 3.74 GiB 
[    1.058288]  mmcblk0: p1 p2
[    1.096642] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.105005] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.112595] devtmpfs: mounted
[    1.117087] Freeing unused kernel memory: 1024K
[    1.122052] Run /sbin/init as init process
[    1.357173] random: fast init done
[    1.369982] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    1.617928] random: dd: uninitialized urandom read (512 bytes read)

Welcome to Buildroot for the LicheePi Zero
licheepi-zero login:

#8 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2022-03-18 23:49:06

感谢分享,付费5元很值得
我用的是Licheepi Zero,启动后烧录SD卡,更改一下 etc/init.d/S90***文件,重新运行一下这个文件,就可以成功挂载U盘了

页脚

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

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