-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
rk3328: add Pine64 Rock64 board #2945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Patches directory needs some love, both filenames and descriptions (backports, hacks etc). |
|
still don't know how to build u-boot without python-dev and swig, I'll ask on pine64 or u-boot |
1d4c3e4 to
872b5b3
Compare
|
added the proper patch for u-boot without libfdt |
5ccd7e0 to
7705684
Compare
|
I've added lzma compression to the kernel but unable to understand how should I pass it to the uboot script so I used the lzmadec function in uboot to uncompress it first in memory then boot normally |
|
@lucize Regarding this patch (you already have it in your patches-folder): |
|
@Manawyrm please try this update, I want to test something with the boot script or maybe you could give me the from what I read about TX it seems that it exhibits only on Rock64, but without it I have like 200-500mb/s vs 940mb/s |
|
Unless someone wants to rebuild atf for final release Update: I'm a bit fast, 2.3 is queued up :-) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
The upstream master has r2s patch merged, and conflicting with this one :( |
|
I'll update with also the u-boot patches |
|
@lucize I updated the rock64 u boot, if you don't have any problems with it you can add it here.mj22226@99d193f |
|
What's the status here? |
@lucize Don't have any idea. I just found that this is still open and could not deduce the status from recent comments. So, it's still "work in progress", as it appears ... |
|
|
Whats the status? |
|
Hi all, I guess I'll close this and let anyone who wants to pick up this work, I'm quite busy at the moment and I use the device as it is with this PR |
also remove swig exclude as now swig is available in core arm-trusted-firmware-rockchip is always needed Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
ROCK64 is a credit card sized Single Board Computer powered by Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor and support up to 4GB 1600MHz LPDDR3 memory. It provides an eMMC module socket, MicroSD Card slot, Pi-2 Bus, Pi-P5+ Bus, USB 3.0 and many others peripheral devices interface for makers to integrate with sensors and devices. To install OpenWrt write the resulting image to the sdcard, an image for the onboard spi flash is out of this scope for now. Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
|
@lucize I ordered the device so I can test it soon, thanks for your work and patience! |
|
I guess switching to 5.10 should be a desired change also |
|
Yes that would be great. Will you work on that? |
|
Please rebase this. |
|
@hauke I don't see swig being part of core, can you comment on this? |
|
I rebased this and compiled it (requiring host swig installation). It works fine, bootlog below U-Boot TPL 2021.07 (Oct 21 2021 - 02:34:25)
LPDDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2021.07 (Oct 21 2021 - 02:34:25 +0000)
Trying to boot from MMC1
NOTICE: BL31: v2.3():v2.3
NOTICE: BL31: Built : 15:56:43, Apr 20 2020
NOTICE: BL31:Rockchip release version: v1.2
U-Boot 2021.07 (Oct 21 2021 - 02:34:25 +0000) OpenWrt
Model: Pine64 Rock64
DRAM: 2 GiB
PMIC: RK8050 (on=0x40, off=0x00)
MMC: mmc@ff500000: 1, mmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@ff130000
Out: serial@ff130000
Err: serial@ff130000
Model: Pine64 Rock64
Net: eth0: ethernet@ff540000
Hit any key to stop autoboot: 0
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
714 bytes read in 2 ms (348.6 KiB/s)
## Executing script at 00500000
36135 bytes read in 5 ms (6.9 MiB/s)
3907514 bytes read in 172 ms (21.7 MiB/s)
Uncompress lzma kernel into memmory..
Uncompressed size: 14727176 = 0XE0B808
Moving Image from 0x2439fba to 0x2600000, end=34d0000
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Loading Device Tree to 000000007df23000, end 000000007df2ed26 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.75 (user@debian) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r17755+39-0eed96ca5d) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP PREEMPT Thu Oct 21 02:34:25 2021
[ 0.000000] Machine model: Pine64 Rock64
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x000000007fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000200000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
[ 0.000000] On node 0 totalpages: 523776
[ 0.000000] DMA zone: 8184 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 523776 pages, LIFO batch:63
[ 0.000000] cma: Reserved 8 MiB at 0x000000007f000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 21 pages/cpu s46168 r8192 d31656 u86016
[ 0.000000] pcpu-alloc: s46168 r8192 d31656 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515592
[ 0.000000] Kernel command line: console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32,0xff130000 swiotlb=1 root=PARTUUID=5452574f-02 rw rootwait loglevel=9
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 2031224K/2095104K available (8062K kernel code, 2350K rwdata, 2280K rodata, 1664K init, 714K bss, 55688K reserved, 8192K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 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: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x288/0x3c0 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.001287] Console: colour dummy device 80x25
[ 0.001698] printk: console [tty1] enabled
[ 0.002079] printk: bootconsole [uart8250] disabled
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.75 (user@debian) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r17755+39-0eed96ca5d) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP PREEMPT Thu Oct 21 02:34:25 2021
[ 0.000000] Machine model: Pine64 Rock64
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x000000007fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000200000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
[ 0.000000] On node 0 totalpages: 523776
[ 0.000000] DMA zone: 8184 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 523776 pages, LIFO batch:63
[ 0.000000] cma: Reserved 8 MiB at 0x000000007f000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 21 pages/cpu s46168 r8192 d31656 u86016
[ 0.000000] pcpu-alloc: s46168 r8192 d31656 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515592
[ 0.000000] Kernel command line: console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32,0xff130000 swiotlb=1 root=PARTUUID=5452574f-02 rw rootwait loglevel=9
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 2031224K/2095104K available (8062K kernel code, 2350K rwdata, 2280K rodata, 1664K init, 714K bss, 55688K reserved, 8192K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 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: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x288/0x3c0 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.001287] Console: colour dummy device 80x25
[ 0.001698] printk: console [tty1] enabled
[ 0.002079] printk: bootconsole [uart8250] disabled
[ 0.002566] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002603] pid_max: default: 32768 minimum: 301
[ 0.002820] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.002856] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.004735] rcu: Hierarchical SRCU implementation.
[ 0.004948] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.005664] smp: Bringing up secondary CPUs ...
[ 0.006230] Detected VIPT I-cache on CPU1
[ 0.006303] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.006939] Detected VIPT I-cache on CPU2
[ 0.006996] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.007759] Detected VIPT I-cache on CPU3
[ 0.007818] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.007930] smp: Brought up 1 node, 4 CPUs
[ 0.007974] SMP: Total of 4 processors activated.
[ 0.007994] CPU features: detected: 32-bit EL0 Support
[ 0.008013] CPU features: detected: CRC32 instructions
[ 0.008306] CPU: All CPU(s) started at EL2
[ 0.008344] alternatives: patching kernel code
[ 0.018610] KASLR disabled due to lack of seed
[ 0.018812] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.018855] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.019383] pinctrl core: initialized pinctrl subsystem
[ 0.020322] NET: Registered protocol family 16
[ 0.022965] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.023210] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.023534] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.024412] thermal_sys: Registered thermal governor 'step_wise'
[ 0.024420] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.024761] cpuidle: using governor menu
[ 0.024912] ASID allocator initialised with 65536 entries
[ 0.025063] Serial: AMBA PL011 UART driver
[ 0.057191] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.057231] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.057256] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.057280] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.060839] reg-fixed-voltage vcc-host-5v-regulator: Failed to register regulator: -517
[ 0.061086] reg-fixed-voltage vcc-host1-5v-regulator: Failed to register regulator: -517
[ 0.061641] iommu: Default domain type: Translated
[ 0.062977] SCSI subsystem initialized
[ 0.063241] usbcore: registered new interface driver usbfs
[ 0.063309] usbcore: registered new interface driver hub
[ 0.063372] usbcore: registered new device driver usb
[ 0.064822] clocksource: Switched to clocksource arch_sys_counter
[ 0.065071] VFS: Disk quotas dquot_6.6.0
[ 0.065160] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.070230] NET: Registered protocol family 2
[ 0.070431] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.072271] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.072356] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.072586] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 0.072975] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.073142] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.073245] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.073529] NET: Registered protocol family 1
[ 0.073583] PCI: CLS 0 bytes, default 64
[ 0.074941] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 0.083330] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.083369] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.085186] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.085414] io scheduler mq-deadline registered
[ 0.091198] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[ 0.091241] dma-pl330 ff1f0000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.093933] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.095534] printk: console [ttyS2] disabled
[ 0.095639] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 22, base_baud = 1500000) is a 16550A
[ 0.158030] printk: console [ttyS2] enabled
[ 0.166474] loop: module loaded
[ 0.166785] mtip32xx Version 1.3.1
[ 0.170729] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[ 0.176551] libphy: Fixed MDIO Bus: probed
[ 0.178375] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 0.178985] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 0.179656] rk_gmac-dwmac ff540000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 0.180555] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 0.181124] rk_gmac-dwmac ff540000.ethernet: phy regulator is not available yet, deferred probing
[ 0.182877] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.183471] ehci-pci: EHCI PCI platform driver
[ 0.183922] ehci-platform: EHCI generic platform driver
[ 0.186745] ehci-platform ff5c0000.usb: EHCI Host Controller
[ 0.187294] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 1
[ 0.188125] ehci-platform ff5c0000.usb: irq 44, io mem 0xff5c0000
[ 0.214844] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[ 0.215986] hub 1-0:1.0: USB hub found
[ 0.216367] hub 1-0:1.0: 1 port detected
[ 0.217317] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.217904] ohci-platform: OHCI generic platform driver
[ 0.218768] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[ 0.219393] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 2
[ 0.220219] ohci-platform ff5d0000.usb: irq 45, io mem 0xff5d0000
[ 0.289431] hub 2-0:1.0: USB hub found
[ 0.289815] hub 2-0:1.0: 1 port detected
[ 0.291292] usbcore: registered new interface driver usb-storage
[ 0.291960] i2c /dev entries driver
[ 0.295554] rk808 1-0018: chip id: 0x8050
[ 0.302727] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 0.303328] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 0.305698] vdd_logic: supplied by vcc_sys
[ 0.308167] vdd_arm: supplied by vcc_sys
[ 0.308786] vcc_ddr: supplied by vcc_sys
[ 0.310307] vcc_io: supplied by vcc_sys
[ 0.312671] vcc_18: supplied by vcc_io
[ 0.316795] vcc18_emmc: supplied by vcc_io
[ 0.320933] vdd_10: supplied by vcc_sys
[ 0.332249] rk808-rtc rk808-rtc: registered as rtc0
[ 0.334416] rk808-rtc rk808-rtc: setting system clock to 2016-01-21T08:50:10 UTC (1453366210)
[ 0.339035] cpu cpu0: EM: created perf domain
[ 0.341034] sdhci: Secure Digital Host Controller Interface driver
[ 0.341601] sdhci: Copyright(c) Pierre Ossman
[ 0.341991] Synopsys Designware Multimedia Card Interface Driver
[ 0.342799] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.343161] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[ 0.343326] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[ 0.343967] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[ 0.344586] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[ 0.345192] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[ 0.345775] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[ 0.346314] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
[ 0.346785] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 41,32 bit host data width,256 deep fifo
[ 0.347648] vcc_sd: supplied by vcc_io
[ 0.348831] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.349577] mmc_host mmc1: card is non-removable.
[ 0.349781] usbcore: registered new interface driver usbhid
[ 0.350502] usbhid: USB HID core driver
[ 0.352090] NET: Registered protocol family 10
[ 0.353520] Segment Routing with IPv6
[ 0.353915] NET: Registered protocol family 17
[ 0.354346] 8021q: 802.1Q VLAN Support v1.8
[ 0.362405] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 0.363908] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 0.367667] vcc_host_5v: supplied by vcc_sys
[ 0.368364] rockchip-pinctrl pinctrl: pin gpio0-2 already requested by vcc-host-5v-regulator; cannot claim for vcc-host1-5v-regulator
[ 0.369423] rockchip-pinctrl pinctrl: pin-2 (vcc-host1-5v-regulator) status -22
[ 0.370070] rockchip-pinctrl pinctrl: could not request pin 2 (gpio0-2) from group usb20-host-drv on device rockchip-pinctrl
[ 0.371062] reg-fixed-voltage vcc-host1-5v-regulator: Error applying setting, reverse things back
[ 0.371851] reg-fixed-voltage: probe of vcc-host1-5v-regulator failed with error -22
[ 0.374557] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 0.375205] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 0.375842] rk_gmac-dwmac ff540000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 0.376747] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 0.377442] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[ 0.378082] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[ 0.378594] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[ 0.379099] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[ 0.379687] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[ 0.380309] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[ 0.385250] random: fast init done
[ 0.385854] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[ 0.386679] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 0.387332] rk_gmac-dwmac ff540000.ethernet: DWMAC1000
[ 0.387797] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[ 0.388469] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[ 0.389130] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[ 0.389601] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[ 0.390170] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[ 0.390700] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[ 0.391217] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.405121] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 0.445805] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 0.446754] mmc0: new high speed SDHC card at address aaaa
[ 0.447888] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
[ 0.449851] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[ 0.450906] mmcblk0: p1 p2
[ 0.493506] libphy: stmmac: probed
[ 0.493837] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 0.494958] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 0.497555] debugfs: Directory 'power-domain' with parent 'pm_genpd' already present!
[ 0.498269] debugfs: Directory 'power-domain' with parent 'pm_genpd' already present!
[ 0.502481] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[ 0.509394] rockchip-pm-domain ff100000.syscon:power-controller: failed to get ack on domain 'power-domain', val=0x88220
[ 0.512710] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[ 0.514099] Freeing unused kernel memory: 1664K
[ 0.575035] Run /sbin/init as init process
[ 0.575440] with arguments:
[ 0.575720] /sbin/init
[ 0.575976] with environment:
[ 0.576272] HOME=/
[ 0.576497] TERM=linux
[ 0.809880] init: Console is alive
[ 1.108379] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 1.122968] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[ 1.123700] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[ 1.136784] dwc2 ff580000.usb: DWC OTG Controller
[ 1.137230] dwc2 ff580000.usb: new USB bus registered, assigned bus number 3
[ 1.137877] dwc2 ff580000.usb: irq 43, io mem 0xff580000
[ 1.138711] hub 3-0:1.0: USB hub found
[ 1.139064] hub 3-0:1.0: 1 port detected
[ 1.140911] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 1.143788] init: - preinit -
[ 1.597452] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.649343] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.659359] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.734950] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[ 1.744944] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 1.745656] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 1.746873] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 6.255530] F2FS-fs (loop0): Mounted with checkpoint version = d4b296c
[ 6.256993] mount_root: switching to f2fs overlay
[ 6.322407] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[ 6.329396] urandom-seed: Seeding with /etc/urandom.seed
[ 6.401851] procd: - early -
[ 6.991911] procd: - ubus -
[ 7.047942] urandom_read: 3 callbacks suppressed
[ 7.047947] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.049687] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.050466] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.052301] procd: - init -
[ 7.053248] dw-apb-uart ff130000.serial: forbid DMA for kernel console
Please press Enter to activate this console.
[ 7.306358] urngd: v1.0.2 started.
[ 7.328779] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.329962] random: crng init done
[ 7.330284] random: 1 urandom warning(s) missed due to ratelimiting
[ 7.382129] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35
[ 7.382813] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32
[ 7.393532] xt_time: kernel timezone is -0000
[ 7.422288] mac80211_hwsim: initializing netlink
[ 7.423248] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 7.425921] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 7.451873] PPP generic driver version 2.4.2
[ 7.453103] NET: Registered protocol family 24
[ 7.457792] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 10.064929] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[ 10.274863] rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma
[ 10.275477] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 10.276307] rk_gmac-dwmac ff540000.ethernet eth0: stmmac_open: Hw setup failed
[ 10.279073] br-lan: port 1(eth0) entered blocking state
[ 10.279578] br-lan: port 1(eth0) entered disabled state
[ 10.280500] device eth0 entered promiscuous mode
BusyBox v1.34.1 (2021-10-21 02:34:25 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r17776+42-a424dfd66b
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# |
|
Swig was added to build bots not long ago, for the 5v there is a patch 0.368364] rockchip-pinctrl pinctrl: pin gpio0-2 already requested by vcc-host-5v-regulator; cannot claim for vcc-host1-5v-regulator |
It seems there should be some better handling of missing
Where? Also please rebase this :) |
|
I've rebased his changes on top of master @ CanadianBaconBoi/openwrt#rock64 |
|
I have found someone with patches for a few issues with this pr @ https://forum.pine64.org/showthread.php?tid=11012. I'll get around to working these in soon. |
Signed-off-by: Lucian Cristian lucian.cristian@gmail.com
Thanks for your contribution to OpenWrt!
I'll sort the patches names after more tests, HDMI just displays a blank screeneverything is working
on mmc.boot script, don't know the proper way to pass earlycon address as a variable to the scripton rk3328, u-boot needs python-dev and swig ! I'll try so see if this can be bypassedsound and infrared is not workingsound is detected but no outputhdmi sound not working on my Harman Kardon AVR, is working on my hdmi stereo monitor speaker