Buildroot pro Orange-pi lite
Jaroslav Buchta
jaroslav.buchta na hascomp.cz
Neděle Červen 7 11:32:11 CEST 2020
Diky za nakopnuti, asi tam neni nejen tento ale zadny ovladac...
root na OrangePi_Lite:~$ lsmod
Module Size Used by Not tainted
root na OrangePi_Lite:~$ iwconfig
lo no wireless extensions.
root na OrangePi_Lite:~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
Vypis dmesg je v priloze, v buildrood jsem nastavil konfiguraci pro
orange-pi lite a zaskrtane to vypada celkem rozumne.
Taky nejde nic na HDMI, ve vypisu to zda se ale neco kolem HDMI
detekuje, cert aby se v tom vyznal...
No budu badat dal.
Dne 07.06.2020 v 10:01 Václav Ovsík napsal(a):
> On Sun, Jun 07, 2020 at 08:07:52AM +0200, Jaroslav Buchta wrote:
>> Tak zkusim obecnejsi poddotaz - je tam asi chip RTL8189, v nasteveni je
>> ovladac pro tento cip zaskrtnuty, jak zjistim, jestli je v jadru zaveden a v
>> jakem je stavu po nabootovani linuxu? Nebo je nejaka obecna utilita kterou
>> zjistim stav a treba jestli vidi nejake site?
> Jestli bude nějaký ovladač na realtek natažený, např:
> lsmod | fgrep -i rtl
>
> Ono by se dalo i něco kolem toho čipu vidět v dmesg. Tam můžete taky
> hledat řetězec rtl, case insensitive.
>
> Pokud se ovladač natahne, tak vznikne interface. Tedy musel by být vidět
> něco v
> ip link show
>
> Něco snad taky ukáže
> iwconfig
>
> Zkusit nascanovat sítě pomocí iwlist apod…
>
>> Dne 05.06.2020 v 19:34 Jaroslav Buchta napsal(a):
>>> [ 1.506424] cfg80211: failed to load regulatory.db
> To by snad nemuselo být fatální. To je nějaká databáze, definující pro
> danou zemi povolené kanály, vysílací výkony…
>
> U mě na Debianu:
>
> zito na bobek:~$ locate regulatory.db
> /etc/alternatives/regulatory.db
> /etc/alternatives/regulatory.db.p7s
> /lib/firmware/regulatory.db
> /lib/firmware/regulatory.db-debian
> /lib/firmware/regulatory.db-upstream
> /lib/firmware/regulatory.db.p7s
> /lib/firmware/regulatory.db.p7s-debian
> /lib/firmware/regulatory.db.p7s-upstream
> /usr/share/man/man5/regulatory.db.5.gz
> /var/lib/dpkg/alternatives/regulatory.db
>
> bobek:~# dmesg |fgrep regul
> [ 15.041584] cfg80211: Loading compiled-in X.509 certificates for regulatory database
> [ 15.046259] platform regulatory.0: firmware: direct-loading firmware regulatory.db
> [ 15.046791] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
>
> Balíček
>
> bobek:~# dpkg -S regulatory.db
> wireless-regdb: /lib/firmware/regulatory.db-debian
> wireless-regdb: /lib/firmware/regulatory.db.p7s-debian
> wireless-regdb: /lib/firmware/regulatory.db-upstream
> wireless-regdb: /usr/share/man/man5/regulatory.db.5.gz
> wireless-regdb: /lib/firmware/regulatory.db.p7s-upstream
>
------------- další část ---------------
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.3.8 (stm na stm-VirtualBox) (gcc version 8.4.0 (Buildroot 2020.08-git-00138-g7e64a05)) #1 SMP Sat Jun 6 16:08:33 CEST 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: Xunlong Orange Pi Lite
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x5f000000
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 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] pcpu-alloc: s30412 r8192 d22836 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 492084K/524288K available (7168K kernel code, 443K rwdata, 1752K rodata, 1024K init, 253K bss, 15820K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 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=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x2fc/0x488 with crng_init=0
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000016] Switching to timer-based delay loop, resolution 41ns
[ 0.000176] Console: colour dummy device 80x30
[ 0.000216] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000227] pid_max: default: 32768 minimum: 301
[ 0.000359] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000370] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000987] CPU: Testing write buffer coherency: ok
[ 0.001299] /cpus/cpu na 0 missing clock-frequency property
[ 0.001316] /cpus/cpu na 1 missing clock-frequency property
[ 0.001330] /cpus/cpu na 2 missing clock-frequency property
[ 0.001345] /cpus/cpu na 3 missing clock-frequency property
[ 0.001355] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001793] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.001893] rcu: Hierarchical SRCU implementation.
[ 0.002295] smp: Bringing up secondary CPUs ...
[ 0.012920] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.023626] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.034283] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.034364] smp: Brought up 1 node, 4 CPUs
[ 0.034382] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.034388] CPU: All CPU(s) started in HYP mode.
[ 0.034392] CPU: Virtualization extensions available.
[ 0.035107] devtmpfs: initialized
[ 0.039243] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.039414] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.039435] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.040143] pinctrl core: initialized pinctrl subsystem
[ 0.040955] NET: Registered protocol family 16
[ 0.042046] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.042951] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.042961] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.059552] SCSI subsystem initialized
[ 0.059744] libata version 3.00 loaded.
[ 0.059935] usbcore: registered new interface driver usbfs
[ 0.059977] usbcore: registered new interface driver hub
[ 0.060030] usbcore: registered new device driver usb
[ 0.060212] pps_core: LinuxPPS API ver. 1 registered
[ 0.060221] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti na linux.it>
[ 0.060239] PTP clock support registered
[ 0.060430] Advanced Linux Sound Architecture Driver Initialized.
[ 0.061203] clocksource: Switched to clocksource arch_sys_counter
[ 0.068075] thermal_sys: Registered thermal governor 'step_wise'
[ 0.068350] NET: Registered protocol family 2
[ 0.068807] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.068833] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.068876] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.068937] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.069025] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.069061] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.069222] NET: Registered protocol family 1
[ 0.069694] RPC: Registered named UNIX socket transport module.
[ 0.069703] RPC: Registered udp transport module.
[ 0.069708] RPC: Registered tcp transport module.
[ 0.069714] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.071524] Initialise system trusted keyrings
[ 0.071699] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.078182] NFS: Registering the id_resolver key type
[ 0.078214] Key type id_resolver registered
[ 0.078220] Key type id_legacy registered
[ 0.114610] Key type asymmetric registered
[ 0.114623] Asymmetric key parser 'x509' registered
[ 0.114676] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.114685] io scheduler mq-deadline registered
[ 0.114691] io scheduler kyber registered
[ 0.119468] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.120892] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 0.167556] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.169129] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[ 0.169857] printk: console [ttyS0] disabled
[ 0.190052] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[ 0.799818] printk: console [ttyS0] enabled
[ 0.817124] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc084de64)
[ 0.824269] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc084a730)
[ 0.831990] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[ 0.841687] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[ 0.851522] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 0.859222] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc084d450)
[ 0.866032] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.872647] [drm] No driver support for vblank timestamp query.
[ 0.878904] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 0.886725] [drm] Cannot find any crtc or sizes
[ 0.892028] [drm] Cannot find any crtc or sizes
[ 0.892820] libphy: Fixed MDIO Bus: probed
[ 0.900646] CAN device driver interface
[ 0.905099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.911629] ehci-platform: EHCI generic platform driver
[ 0.917040] ehci-platform 1c1b000.usb: EHCI Host Controller
[ 0.922642] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 1
[ 0.930789] ehci-platform 1c1b000.usb: irq 26, io mem 0x01c1b000
[ 0.961215] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[ 0.967996] hub 1-0:1.0: USB hub found
[ 0.971795] hub 1-0:1.0: 1 port detected
[ 0.976193] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 0.981792] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 0.989698] ehci-platform 1c1c000.usb: irq 28, io mem 0x01c1c000
[ 1.021214] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 1.027881] hub 2-0:1.0: USB hub found
[ 1.031673] hub 2-0:1.0: 1 port detected
[ 1.035982] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.042184] ohci-platform: OHCI generic platform driver
[ 1.047572] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[ 1.054211] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 3
[ 1.062139] ohci-platform 1c1b400.usb: irq 27, io mem 0x01c1b400
[ 1.135850] hub 3-0:1.0: USB hub found
[ 1.139628] hub 3-0:1.0: 1 port detected
[ 1.144141] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 1.150755] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 1.158660] ohci-platform 1c1c400.usb: irq 29, io mem 0x01c1c400
[ 1.235779] hub 4-0:1.0: USB hub found
[ 1.239555] hub 4-0:1.0: 1 port detected
[ 1.244776] sun6i-rtc 1f00000.rtc: registered as rtc0
[ 1.249824] sun6i-rtc 1f00000.rtc: RTC enabled
[ 1.254483] i2c /dev entries driver
[ 1.258540] sun8i-h3-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator
[ 1.268744] Registered IR keymap rc-empty
[ 1.272843] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[ 1.279569] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input0
[ 1.287041] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[ 1.293416] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.302526] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.313034] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 1.342752] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.349890] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.383894] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.392079] usbcore: registered new interface driver usbhid
[ 1.397644] usbhid: USB HID core driver
[ 1.404568] NET: Registered protocol family 17
[ 1.409037] can: controller area network core (rev 20170425 abi 9)
[ 1.415294] NET: Registered protocol family 29
[ 1.419734] can: raw protocol (rev 20170425)
[ 1.424011] can: broadcast manager protocol (rev 20170425 t)
[ 1.429666] can: netlink gateway (rev 20170425) max_hops=1
[ 1.435371] Key type dns_resolver registered
[ 1.439737] Registering SWP/SWPB emulation handler
[ 1.445031] Loading compiled-in X.509 certificates
[ 1.457235] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01T00:00:47 UTC (47)
[ 1.465483] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.476175] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.482869] ALSA device list:
[ 1.485836] No soundcards found.
[ 1.489638] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.497794] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.497850] Waiting for root device /dev/mmcblk0p2...
[ 1.506434] cfg80211: failed to load regulatory.db
[ 1.516472] mmc0: new high speed SDHC card at address b368
[ 1.523037] mmcblk0: mmc0:b368 NCard 7.40 GiB
[ 1.529578] mmcblk0: p1 p2
[ 1.540037] mmc1: new high speed SDIO card at address 0001
[ 1.563420] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.571588] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.579534] devtmpfs: mounted
[ 1.583606] Freeing unused kernel memory: 1024K
[ 1.621363] Run /sbin/init as init process
[ 1.961219] random: fast init done
[ 2.098423] random: crng init done
[ 2.173547] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 31.841220] vcc3v0: disabling
[ 31.844200] vcc5v0: disabling
Další informace o konferenci Hw-list