[RESOLVED] New kernel update for BPI-P2 Pro

I used this linux version for my BPI-P2 Pro that was loaded into eMMc memory. armsom-p2pro-debian-bullseye-base-arm64-20240524.img

this github is behind it:

After removing unnecessary directory as oem and userdirectory and increasing root directory to full eMMc size I updated Debian from 11 → 12 version.

Except updating of kernel. That is currently $ uname -a Linux linaro-alip 5.10.110 #13 SMP PREEMPT Thu May 23 09:10:29 CST 2024 aarch64 GNU/Linux

That project was build as linaro kernal image, I suppose: git clone CodeLinaro / qcomlt / kernel · GitLab

I try to build new kernel version for BPI-P2 Pro because I need to work with swap, i2c interfaces. Now the current kernel is hidden in raw partitions of eMMc memory. So they are hidden. “.config” file of current kernel version is also hidden. New kernal is not accessible and also building it without knowing of previous .config will produce dangerous update of kernel with possible destruction of booting process. Please could you deliver here at least “.config” file from previous kernel?

Regards Marian

1 Like

Here is solution how to update kernel 6.6 into chip RK3308B. Same is at BPI-P2 PRO. rockchip-rk3308-current: sakura pi rk3308b adds kernel 6.6 and 6.8 support by ssp97 · Pull Request #6565 · armbian/build · GitHub Please update your documents at your official pages.

Nobody in BPI care about support of this board. I don’t recommend to buy it.

Great example. Since Armbian lacks the capacity to cover all boards that are present on the market, this part is up to users who want to integrate with our ecosystem. Which will provide more recent kernels and regular updates. Beware that perhaps not all functions were ported to more recent kernel.

Without this way, job would be in the category “near to impossible” / “too expensive”.

The current kernel on the board is hidden. So the kernel update is locked. Your decision. I understand that there is no support for this board. Try to be inspired by the Orange PI competitor. I wanted to find a competitive product, but I didn’t succeed. It’s up to you whether you will only produce hardware without support and expect someone to develop software, as it is in this case. You ordered not very well developer of operating system for this product. I see no other way than to fix it with the responsible manufacturer. Ask Debian, Armbian or Ubuntu group. If it is bound without their initiative, then pay for it.

And the same (worse) is with Orangepi. Most of those boards are the same - so if one provides too good software, others will steal from … and they do.

We had successful cooperation with Bananapi with several boards: M7, M5, M4 zero, F3, … but like said, impossible to cover all of them. There are too many of them and sales success determines budget that is available for software.

I suggest you to try adding the board to the Armbian system on your own. Task is as easy as it can be.

Task with BPI-P2 Pro was not easy. I used armsom-p2pro-bsp source for tailoring kernel5.10.110, debian Bullseye to open functionality for I2C, PWM ports. Wify, BT, Leds on/off, thermal_zone. Also swap file, used sdcard as external file system. I changed the logic of /boot file system which is now visible.

I compiled update.img file for loading RKDevTool image into eMMC

root@linaro-alip:~# ls -l /sys/class/pwm/
# hľadaj ff180020.pwm
ls /sys/devices/platform/ff180020.pwm/pwm/

CHIP=/sys/devices/platform/ff180020.pwm/pwm/pwmchip*
echo 0 > $CHIP/export
# 1 kHz, 50 %  (period v ns)
echo 1000000 > $CHIP/pwm0/period
echo  500000 > $CHIP/pwm0/duty_cycle
echo normal  > $CHIP/pwm0/polarity
echo 1       > $CHIP/pwm0/enable

cat $CHIP/pwm0/period $CHIP/pwm0/duty_cycle $CHIP/pwm0/enable
total 0
lrwxrwxrwx 1 root root 0 May 27  2024 pwmchip0 -> ../../devices/platform/ff180000.pwm/pwm/pwmchip0
lrwxrwxrwx 1 root root 0 May 27  2024 pwmchip1 -> ../../devices/platform/ff180010.pwm/pwm/pwmchip1
lrwxrwxrwx 1 root root 0 May 27  2024 pwmchip2 -> ../../devices/platform/ff180020.pwm/pwm/pwmchip2
lrwxrwxrwx 1 root root 0 May 27  2024 pwmchip3 -> ../../devices/platform/ff180030.pwm/pwm/pwmchip3
pwmchip2
1000000
500000
1
root@linaro-alip:~# uname -a
Linux linaro-alip 5.10.110+ #3 SMP PREEMPT Tue Sep 8 00:27:10 CEST 2026 aarch64 GNU/Linux

root@linaro-alip:~# tree /boot
/boot
├── extlinux
│   └── extlinux.conf
├── Image
├── README.txt
└── rk3308-bpi-p2_pro.dtb

1 directory, 4 files

root@linaro-alip:~# free -m
               total        used        free      shared  buff/cache   available
Mem:             236          46          83           0         106         182
Swap:           2047          10        2037

root@linaro-alip:~# df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/root        2036736 1534704    390544  80% /
devtmpfs          120460       0    120460   0% /dev
tmpfs             121132       0    121132   0% /dev/shm
tmpfs              48456     360     48096   1% /run
tmpfs               5120       4      5116   1% /run/lock
tmpfs             121132       8    121124   1% /tmp
/dev/mmcblk0p8      3832      24      3604   1% /oem
/dev/mmcblk0p9      3832      24      3604   1% /userdata
/dev/mmcblk0p7     64511   13017     51495  21% /boot
tmpfs              24224       4     24220   1% /run/user/0
tmpfs              24224       4     24220   1% /run/user/1001

root@linaro-alip:~# awk '{printf "SoC: %.1f °C\n", $1/1000}' /sys/class/thermal/thermal_zone0/temp
SoC: 36.6 °C

root@linaro-alip:/sys/class/thermal/thermal_zone1# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd042]
[    0.000000] Linux version 5.10.110+ (comet@ecomet-ntbk2) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #3 SMP PREEMPT Tue Sep 8 00:27:10 CEST 2026
[    0.000000] Machine model: bpi-p2pro
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff0c0000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000000fffffff]
[    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-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65024
[    0.000000]   DMA zone: 1016 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 65024 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 21 pages/cpu s49048 r8192 d28776 u86016
[    0.000000] pcpu-alloc: s49048 r8192 d28776 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: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64008
[    0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.serialno=c3d9b8674f4b94f6  rootwait earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 snd_aloop.index=7 snd_aloop.use_raw_jiffies=1
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 240920K/260096K available (7742K kernel code, 1380K rwdata, 2416K rodata, 1344K init, 440K bss, 19176K reserved, 0K 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]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    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+0x370/0x5b8 with crng_init=0
[    0.000000] rockchip_clk_register_branches: failed to register clock dclk_vop_frac: -17
[    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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001931] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002912] pid_max: default: 32768 minimum: 301
[    0.003551] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.004241] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.007316] rcu: Hierarchical SRCU implementation.
[    0.008955] smp: Bringing up secondary CPUs ...
[    0.010322] Detected VIPT I-cache on CPU1
[    0.010443] CPU1: Booted secondary processor 0x0000000001 [0x410fd042]
[    0.011455] Detected VIPT I-cache on CPU2
[    0.011553] CPU2: Booted secondary processor 0x0000000002 [0x410fd042]
[    0.012559] Detected VIPT I-cache on CPU3
[    0.012654] CPU3: Booted secondary processor 0x0000000003 [0x410fd042]
[    0.012821] smp: Brought up 1 node, 4 CPUs
[    0.016139] SMP: Total of 4 processors activated.
[    0.016633] CPU features: detected: 32-bit EL0 Support
[    0.017118] CPU features: detected: CRC32 instructions
[    0.018828] CPU: All CPU(s) started at EL2
[    0.019249] alternatives: patching kernel code
[    0.020789] devtmpfs: initialized
[    0.041387] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.042347] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.043171] pinctrl core: initialized pinctrl subsystem
[    0.045166] NET: Registered protocol family 16
[    0.046860] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.047566] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.049518] thermal_sys: Registered thermal governor 'fair_share'
[    0.049530] thermal_sys: Registered thermal governor 'step_wise'
[    0.050096] thermal_sys: Registered thermal governor 'user_space'
[    0.051646] cpuidle: using governor menu
[    0.052630] Registered FIQ tty driver
[    0.053468] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.054249] ASID allocator initialised with 65536 entries
[    0.056091] ramoops ramoops: failed to locate DT /reserved-memory resource
[    0.056778] ramoops: probe of ramoops failed with error -22
[    0.092168] rockchip-gpio ff220000.gpio0: probed /pinctrl/gpio0@ff220000
[    0.093914] rockchip-gpio ff230000.gpio1: probed /pinctrl/gpio1@ff230000
[    0.095578] rockchip-gpio ff240000.gpio2: probed /pinctrl/gpio2@ff240000
[    0.097276] rockchip-gpio ff250000.gpio3: probed /pinctrl/gpio3@ff250000
[    0.098939] rockchip-gpio ff260000.gpio4: probed /pinctrl/gpio4@ff260000
[    0.099826] rockchip-pinctrl pinctrl: probed pinctrl
[    0.129325] fiq_debugger fiq_debugger.0: IRQ fiq not found
[    0.129927] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    0.130472] fiq_debugger_probe: could not install nmi irq handler
[    0.131207] printk: console [ttyFIQ0] enabled
[    0.131630] printk: bootconsole [uart8250] disabled
[    0.132474] Registered fiq debugger ttyFIQ0
[    0.139497] SCSI subsystem initialized
[    0.139861] usbcore: registered new interface driver usbfs
[    0.139946] usbcore: registered new interface driver hub
[    0.140026] usbcore: registered new device driver usb
[    0.140139] mc: Linux media interface: v0.10
[    0.140214] videodev: Linux video capture interface: v2.00
[    0.140326] pps_core: LinuxPPS API ver. 1 registered
[    0.140343] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.140379] PTP clock support registered
[    0.142045] Advanced Linux Sound Architecture Driver Initialized.
[    0.142979] Bluetooth: Core ver 2.22
[    0.143067] NET: Registered protocol family 31
[    0.143082] Bluetooth: HCI device and connection manager initialized
[    0.143107] Bluetooth: HCI socket layer initialized
[    0.143128] Bluetooth: L2CAP socket layer initialized
[    0.143162] Bluetooth: SCO socket layer initialized
[    0.143915] rockchip-cpuinfo cpuinfo: SoC            : 33080002
[    0.143938] rockchip-cpuinfo cpuinfo: Serial         : 53815a656fa12e3a
[    0.145062] clocksource: Switched to clocksource arch_sys_counter
[    0.148171] NET: Registered protocol family 2
[    0.148389] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.149512] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.149626] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.149672] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.149725] TCP: Hash tables configured (established 2048 bind 2048)
[    0.149924] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.149964] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.150233] NET: Registered protocol family 1
[    0.153716] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counters available
[    0.161537] Initialise system trusted keyrings
[    0.161830] workingset: timestamp_bits=62 max_order=16 bucket_order=0
[    0.170512] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.170962] ntfs: driver 2.1.32 [Flags: R/O].
[    0.171371] fuse: init (API version 7.32)
[    0.240802] Key type asymmetric registered
[    0.240839] Asymmetric key parser 'x509' registered
[    0.240872] io scheduler mq-deadline registered
[    0.240887] io scheduler kyber registered
[    0.241703] rockchip-usb2phy ff008000.syscon:usb2-phy@100: IRQ index 0 not found
[    0.252083] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.252137] dma-pl330 ff2c0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.255143] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.255194] dma-pl330 ff2d0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.256846] vdd_core: supplied by regulator-dummy
[    0.258096] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.259244] ff0c0000.serial: ttyS2 at MMIO 0xff0c0000 (irq = 24, base_baud = 1500000) is a 16550A
[    0.260813] ff0e0000.serial: ttyS4 at MMIO 0xff0e0000 (irq = 25, base_baud = 5078125) is a 16550A
[    0.264089] no ATF memory for init
[    0.270232] SCSI Media Changer driver v0.25
[    0.273177] clk: failed to reparent clk_mac to ext_gmac: -22
[    0.273292] rk_gmac-dwmac ff4e0000.ethernet: IRQ eth_wake_irq not found
[    0.273311] rk_gmac-dwmac ff4e0000.ethernet: IRQ eth_lpi not found
[    0.273511] rk_gmac-dwmac ff4e0000.ethernet: PTP uses main clock
[    0.273816] rk_gmac-dwmac ff4e0000.ethernet: clock input or output? (input).
[    0.273839] rk_gmac-dwmac ff4e0000.ethernet: TX delay(0x0).
[    0.273858] rk_gmac-dwmac ff4e0000.ethernet: RX delay(0x0).
[    0.273890] rk_gmac-dwmac ff4e0000.ethernet: integrated PHY? (no).
[    0.273998] rk_gmac-dwmac ff4e0000.ethernet: clock input from PHY
[    0.274321] rk_gmac-dwmac ff4e0000.ethernet: init for RMII
[    0.274707] rk_gmac-dwmac ff4e0000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    0.274733] rk_gmac-dwmac ff4e0000.ethernet:         DWMAC1000
[    0.274751] rk_gmac-dwmac ff4e0000.ethernet: DMA HW capability register supported
[    0.274767] rk_gmac-dwmac ff4e0000.ethernet: RX Checksum Offload Engine supported
[    0.274784] rk_gmac-dwmac ff4e0000.ethernet: COE Type 2
[    0.274799] rk_gmac-dwmac ff4e0000.ethernet: TX Checksum insertion supported
[    0.274815] rk_gmac-dwmac ff4e0000.ethernet: Wake-Up On Lan supported
[    0.274949] rk_gmac-dwmac ff4e0000.ethernet: Normal descriptors
[    0.274968] rk_gmac-dwmac ff4e0000.ethernet: Ring mode enabled
[    0.274986] rk_gmac-dwmac ff4e0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.388625] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    0.388674] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    0.391661] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator
[    0.391945] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator
[    0.394414] dwc2 ff400000.usb: Configuration mismatch. dr_mode forced to device
[    0.394501] dwc2 ff400000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[    0.394521] dwc2 ff400000.usb: dwc2_check_params: Invalid parameter besl=1
[    0.394541] dwc2 ff400000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[    0.394587] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    0.396308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.396344] ehci-platform: EHCI generic platform driver
[    0.400464] ehci-platform ff440000.usb: EHCI Host Controller
[    0.400834] ehci-platform ff440000.usb: new USB bus registered, assigned bus number 1
[    0.401091] ehci-platform ff440000.usb: irq 34, io mem 0xff440000
[    0.408095] ehci-platform ff440000.usb: USB 2.0 started, EHCI 1.00
[    0.408425] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    0.408456] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.408475] usb usb1: Product: EHCI Host Controller
[    0.408491] usb usb1: Manufacturer: Linux 5.10.110+ ehci_hcd
[    0.408509] usb usb1: SerialNumber: ff440000.usb
[    0.409462] hub 1-0:1.0: USB hub found
[    0.409534] hub 1-0:1.0: 1 port detected
[    0.410614] usbcore: registered new interface driver cdc_acm
[    0.410650] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.410776] usbcore: registered new interface driver usb-storage
[    0.411647] i2c /dev entries driver
[    0.419556] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[    0.420364] dw_wdt ff080000.watchdog: No valid TOPs array specified
[    0.421335] Bluetooth: HCI UART driver ver 2.3
[    0.421373] Bluetooth: HCI UART protocol H4 registered
[    0.421562] Failed to initialize dvfs info cpu0
[    0.422667] Synopsys Designware Multimedia Card Interface Driver
[    0.424158] dwmmc_rockchip ff490000.mmc: IDMAC supports 32-bit address mode.
[    0.424271] dwmmc_rockchip ff490000.mmc: Using internal DMA controller.
[    0.424299] dwmmc_rockchip ff490000.mmc: Version ID is 270a
[    0.424408] dwmmc_rockchip ff490000.mmc: DW MMC controller at irq 37,32 bit host data width,256 deep fifo
[    0.424459] dwmmc_rockchip ff480000.mmc: IDMAC supports 32-bit address mode.
[    0.424510] dwmmc_rockchip ff480000.mmc: Using internal DMA controller.
[    0.424535] dwmmc_rockchip ff480000.mmc: Version ID is 270a
[    0.424615] dwmmc_rockchip ff480000.mmc: DW MMC controller at irq 36,32 bit host data width,256 deep fifo
[    0.424764] mmc_host mmc0: card is non-removable.
[    0.424899] hid: raw HID events driver (C) Jiri Kosina
[    0.425466] usbcore: registered new interface driver usbhid
[    0.425492] usbhid: USB HID core driver
[    0.426909] rknandc_base v1.1 2017-01-11
[    0.427221] rksfc_base v1.1 2016-01-08
[    0.432948] The acodec version is: c
[    0.433379] rk3308-acodec ff560000.acodec: Don't need spk-ctl gpio
[    0.433448] rk3308-acodec ff560000.acodec: Don't need pa-drv gpio
[    0.433466] rk3308-acodec ff560000.acodec: De-pop as much as possible
[    0.433590] rk3308-acodec ff560000.acodec: Don't need micbias-en gpio
[    0.433641] rk3308-acodec ff560000.acodec: no vmicbias regulator found
[    0.433659] rk3308-acodec ff560000.acodec: Check ext_micbias: 0
[    0.437727] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.438190] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.438982] rk-multicodecs acodec-sound: Failed to get ADC channel
[    0.439383] rk-multicodecs acodec-sound: ASoC: Property 'rockchip,audio-routing' does not exist or its length is not even
[    0.439413] rk-multicodecs acodec-sound: Audio routing invalid/unspecified
[    0.488978] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    0.489112] mmc1: new high speed SDHC card at address 1234
[    0.490534] mmcblk1: mmc1:1234 SA08G 7.43 GiB
[    0.494143] mmc_host mmc0: Bus speed (slot 0) = 147456000Hz (slot req 150000000Hz, actual 147456000HZ div = 0)
[    0.497984] random: fast init done
[    0.508598]  mmcblk1: p1 p2 p3
[    0.512625] rk3308-acodec ff560000.acodec: rk3308_codec_set_jack: Request detect hp jack once
[    0.514768] input: rockchip,rk3308-acodec Headset as /devices/platform/acodec-sound/sound/card0/input0
[    0.516623] NET: Registered protocol family 10
[    0.518293] Segment Routing with IPv6
[    0.518432] NET: Registered protocol family 17
[    0.518479] NET: Registered protocol family 15
[    0.518744] Bluetooth: RFCOMM TTY layer initialized
[    0.518774] Bluetooth: RFCOMM socket layer initialized
[    0.518834] Bluetooth: RFCOMM ver 1.11
[    0.518863] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.518887] Bluetooth: HIDP socket layer initialized
[    0.518903] [BT_RFKILL]: Enter rfkill_rk_init
[    0.518916] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    0.519598] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    0.519693] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6255
[    0.519710] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    0.519726] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    0.519817] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 0, flags = 0.
[    0.519870] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    0.519889] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[    0.519907] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    0.520770] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 135.
[    0.520825] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 139.
[    0.520890] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 140.
[    0.521075] [BT_RFKILL]: Request irq for bt wakeup host
[    0.521267] [BT_RFKILL]: ** disable irq
[    0.521607] [BT_RFKILL]: bt_default device registered.
[    0.522058] flash vendor_init_thread!
[    0.522079] flash vendor storage:20170308 ret = -1
[    0.522856] Loading compiled-in X.509 certificates

[    0.523017] ********************************************************************
[    0.523030] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    0.523103] **                                                                **
[    0.523116] **  WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
[    0.523132] rk3308-acodec ff560000.acodec: Don't need to change dac_output: 0
[    0.523143] **                                                                **
[    0.523155] ** This means that this kernel is built to expose clk operations  **
[    0.523166] ** such as parent or rate setting, enabling, disabling, etc.      **
[    0.523177] ** to userspace, which may compromise security on your system.    **
[    0.523189] **                                                                **
[    0.523201] ** If you see this message and you are not debugging the          **
[    0.523213] ** kernel, report this immediately to your vendor!                **
[    0.523226] **                                                                **
[    0.523238] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    0.523249] ********************************************************************
[    0.561397] vcc_1v8: supplied by vcc_io
[    0.562322] vcc_1v8_codec: supplied by vcc_io
[    0.566839] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.567102] dwmmc_rockchip ff4a0000.mmc: IDMAC supports 32-bit address mode.
[    0.567172] dwmmc_rockchip ff4a0000.mmc: Using internal DMA controller.
[    0.567198] dwmmc_rockchip ff4a0000.mmc: Version ID is 270a
[    0.567310] dwmmc_rockchip ff4a0000.mmc: DW MMC controller at irq 38,32 bit host data width,256 deep fifo
[    0.568465] dwmmc_rockchip ff4a0000.mmc: allocated mmc-pwrseq
[    0.568513] mmc_host mmc2: card is non-removable.
[    0.570481] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.570719] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.570742] cfg80211: failed to load regulatory.db
[    0.572942] ALSA device list:
[    0.572983]   #0: rockchip,rk3308-acodec
[    0.573000]   #7: Loopback 1
[    0.790245] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.803277] Waiting for root device PARTUUID=614e0000-0000...
[    0.818691] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.820341] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.821976] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.824864] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.828390] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    0.880969] mmc_host mmc2: Bus speed (slot 0) = 1000000Hz (slot req 1000000Hz, actual 1000000HZ div = 0)
[    0.907443] mmc2: new high speed SDIO card at address 0001
[    1.272004] dwmmc_rockchip ff490000.mmc: Successfully tuned phase to 360
[    1.272226] mmc0: new HS200 MMC card at address 0001
[    1.273570] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    1.274198] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    1.274771] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    1.275148] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (244:0)
[    1.280173]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    1.299246] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    1.299403] VFS: Mounted root (ext4 filesystem) readonly on device 179:38.
[    1.300259] devtmpfs: mounted
[    1.301509] Freeing unused kernel memory: 1344K
[    1.301648] Run /sbin/init as init process
[    1.301663]   with arguments:
[    1.301670]     /sbin/init
[    1.301677]   with environment:
[    1.301685]     HOME=/
[    1.301693]     TERM=linux
[    1.301700]     storagemedia=emmc
[    1.500103] systemd[1]: System time before build time, advancing clock.
[    1.507797] systemd[1]: Failed to look up module alias 'autofs4': Function not implemented
[    1.681786] systemd-fstab-generator[131]: Ignoring "noauto" for root device
[    2.680424] random: systemd: uninitialized urandom read (16 bytes read)
[    2.683638] random: systemd: uninitialized urandom read (16 bytes read)
[    2.685342] random: systemd: uninitialized urandom read (16 bytes read)
[    3.161599] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[    3.447630] systemd-journald[157]: Received client request to flush runtime journal.
[    3.458981] systemd-journald[157]: File /var/log/journal/26918d2e2ba0e41443f2e34b6a9f0a2e/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    4.627135] random: crng init done
[    4.627196] random: 7 urandom warning(s) missed due to ratelimiting
[    4.815193] Adding 2097148k swap on /dev/mmcblk1p1.  Priority:-2 extents:1 across:2097148k SS
[    4.910394] [BT_RFKILL]: bt shut off power
[    4.991897] ext2 filesystem being mounted at /oem supports timestamps until 2038 (0x7fffffff)
[    5.053536] ext2 filesystem being mounted at /userdata supports timestamps until 2038 (0x7fffffff)
[    6.301155] EXT4-fs (mmcblk1p3): recovery complete
[    6.311246] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
[    7.504388] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[    8.851924] file system registered
[    9.137893] read descriptors
[    9.138241] read strings
[    9.843217] rk_gmac-dwmac ff4e0000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL)
[    9.848009] rk_gmac-dwmac ff4e0000.ethernet eth0: No Safety Features support found
[    9.848162] rk_gmac-dwmac ff4e0000.ethernet eth0: PTP not supported by HW
[    9.876376] rk_gmac-dwmac ff4e0000.ethernet eth0: configuring for phy/rmii link mode
[   12.967245] rk_gmac-dwmac ff4e0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   12.967442] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.161844] dwc2 ff400000.usb: bound driver configfs-gadget
[   13.297726] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2
[   29.402009] systemd-journald[157]: File /var/log/journal/26918d2e2ba0e41443f2e34b6a9f0a2e/user-1001.journal corrupted or uncleanly shut down, renaming and replacing.
[   29.427776] systemd-journald[157]: Failed to set ACL on /var/log/journal/26918d2e2ba0e41443f2e34b6a9f0a2e/user-1001.journal, ignoring: Operation not supported
[   87.086640] systemd-journald[157]: Failed to set ACL on /var/log/journal/26918d2e2ba0e41443f2e34b6a9f0a2e/user-1001.journal, ignoring: Operation not supported

Who wants to continue with improvements at the compilation or just using my version of debian linux let me know at my email: [email protected]