Search the Community
Showing results for 'gpio'.
-
Efforts to develop firmware for Lemfo HK1 RBOX K8S 4G/64G
Panda posted a topic in Rockchip CPU Boxes
Hello People, I Bring to you the Lemfo HK1 RBOX K8S 4G/64G. This box came with Android 13 and can be rooted easy, follow some specs of the box: Processor: Rockchip RK3528 GPU: Mali 450 Memory: 4Gb (micron) Storage: 64Gb (eMMC 5.1 Samsung) Network: PHY Integrated stmmac-0:02 Driver RK630 100Mbps Wireless: 5G driver: rtl8822cs on gpio Bluetooth: 5.1 USB 3.0: 01 5Gbps USB 2.0: 01 HDMI: 01 TV-Out: 01 Power: 5v 2A Aliexpress link: Lemfo HK1 Rbox K8S What is Working: HDMI: partial (read bellow) Network: partial (read bellow) Bluetooth: no Wifi: no USB 3.0: yes Sound: yes over HDMI Obs: You need to use hinlink-ht2 image, but no wireless, nor ethernet, only HDMI work, and you need to turn on monitor around 15 seconds after turn on the TVBox I get the FDT from Android, and this FDT with hilink-ht2 images boot without HDMI, but with network, if you boot with hinlink-ht2 make the initial configs and start the desktop you can replace the rk-3528-hinlink-ht2.dtb with the android FDT and the box will boot, wait around 30 seconds and turn on the monitor and you have the HDMI and network working. I have build the image with xfce and include some drivers (mail450, RK630, rtl8822cs) and enable some DRM options (under test yet) I Have the Andoid boot partition dump, and other partions, I will share the files later (need some dropbox os gdrive to share) I have attached the Android.DTB and dmesg from android and armbian, if someone want take a look. Any help and sugestion will be great! Some pictures of the board: Lemfo-hk1rbox-k8s.dtb android_dmesg.log linux_dmesg.log linux-syslog -
Driving the ili9488 LCD (4.0 inch cheap chinese clone)
forumtrekker replied to robertoj's topic in Allwinner sunxi
I went out and bought a waveshare clone 3.5 inch display, to try and confirm I haven't spent the last few weeks trying to do the impossible with broken GPIO pins or something - and got a partial success eventually, using fbtft, displaying basic console and plymouth boot logs. It has poor fps like you said - which I expected, its the reason I tried to use the tiny DRM driver from the beginning, but now I know the rockpi and DTS is functional. The same DTS also shows a broken, purple / blue output of bars on my red ili9488 display only if I adjust the bus width to 16 instead of 8 (0x10, instead of 0x08), otherwise it remains a blank white screen. A bus width of 18 and 24 also only gave me a white screen, so 16 might be correct. I've been unable to confirm touch works, since I only have a basic console and I can't figure out how to start LXDE on a framebuffer device, but I do see messages insinuating it initializes under dmesg | grep spi. I could probably just query the GPIO interrupt to find out if touch is working. Not that important right now. I did realize that the big "fixups" section at the bottom is clearly used to replace the empty 0xfffffff targets throughout. I'm unsure why the DTS was written this way, but it works so I am not going to touch it (changing the targets and switching from hex to decimal values broke the DTS for some reason.) Unfortunately, a simple drop in replacement of fb_ili9486 with panel_mipi_dbi did not make either display work, even with the added arguments you use in your latest DTS. Clearly I have much more work to do. BUT I've finally confirmed the DTS works, and all GPIO is claimed and SPI is initialized for both displays (even if the red LCD is showing gibberish), so now I need to nail down the subtle differences with the displays like the bus and reg width and find the right combo of spi clock speed, reg bus widths, and buffer length to get it all to work with fbtft (if only aliexpress sellers put up datasheets or example code!). Then I can follow the second half of your journey to hopefully translate a working fbtft setup to a panel_mipi_dbi setup. Maybe get backlight PWM working. All this still on edge kernel 6.18, on a rockpi 4b plus. -
Driving the ili9488 LCD (4.0 inch cheap chinese clone)
robertoj replied to robertoj's topic in Allwinner sunxi
I am glad that you have the first 15% done: get your kernel module in the OS, and the uboot accepting the DTBO Now you are stuck in correcting the DTS, so that it configures the SPI pins correctly. My last advice for you (through this stage) is: make sure you don't have anything else using SPI pins. Deactivate "spi_dev" in armbian-config. Since I only had experience with H3 and H618 CPUs, I can't help with confidence. Post your question in the appropriate Rockchip forum section for up-to-date reliable advice. I can say that Radxa/Waveshare DTS is very out of date: it uses the fb_ili9486, which is "framebuffer" (poor fps), instead of the modern "DRM" display driver (high fps, will allow wayland). You should stay with that DTS with fb_ili9486, because it is still the closest starting point for you, and when you have it working, claiming all the GPIO pins needed, I can help again to use the DRM driver panel-mipi-dbi. Regarding MISO and MOSI, I only meant to change that nomenclature in the graphic that you show in the forum. I did't mean to change it in the DTS, if that's how other people make it work. Maybe you need to have the full linux source, so you can decompile the DTBO correctly, showing the gpio pin addresses or symbols. Is it possible that you get the Radxa/Waveshare original DTS? -
Driving the ili9488 LCD (4.0 inch cheap chinese clone)
forumtrekker replied to robertoj's topic in Allwinner sunxi
Thanks for the reply! I'll address everything one by one: I am using the generic red ili9488 3.5inch TFT available everywhere, in this case at this link. I also have a generic red ili9341 2.4 inch TFT I purchased years ago to also test with. Neither seem to work with the DTS. It is definitely not the blue 3.5 inch waveshare screen which looks significantly different. Yes, uboot messages through serial console confirm my dtbo is found and applied without errors. No FDT errors. Applying user provided DT overlay spi1-correctedgpio.dtbo panel-mipi-dbi.ko exists in /lib/modules on the custom compiled armbian running kernel 6.18, but not on the unmodified armbian provided image running kernel 6.12. When building armbian for panel-mipi I confirmed it was selected and it was marked "M" according to the github instructions. Here's the interesting one - basically every GPIO is unclaimed including the ones I have hooked up for the display when doing Here's the link to the rock3c DTS I'm referencing. The Rock 3 pins are named very differently so I translated as best as I could to my rock 4, but I believe they are correct as I found that Radxa distributes a waveshare clone DTS for the rock pi 4 and the pins are named as I have named them. I've pasted the waveshare clone DTS distributed by Radxa below for reference. Using MOSI and MISO do not work, and according to the waveshare DTS I should be using spi_tx and spi_rx. Will continue trying MISO and MOSI in future edits though as it doesn't hurt. You mentioning the waveshare display made me look into the DTBO distributed by radxa OS, I copied it to armbian and tried using it with the red display, and while it expectedly does not work, the pins I expect show up EXCEPT for touch IRQ, which is still unclaimed. I labelled touch, DC/RS, and reset pins for ease of reading in parenthesis. This makes me think I might have success formatting your ili9486 DTS to be similar with the waveshare DTS to get panel-mipi-dbi working on my red LCD. I get dmesg messages so its definitely closer. Here's the full waveshare DTS, note because I decompiled the DTBO with the dtc command, it looks like it lost the target pointers so I'm unsure (but can guess) what they point to. The GPIO pins are also lost but I know what pins they refer to as their pin number is in hex and I can narrow them down to the only pins available according to the pinout diagram. This doesn't affect the DTBO function as I paste the DTBO directly without decompiling, so in theory that should be unchanged and fully functional. At the very least, it claims the GPIO correctly. -
Im trying to flash armbian into the eMMC but its not detected, only the SD card. What should i do? Useful info: CPU/Chip/Idk: sun8iw7p1 PCB Model(?): H3 Q44 V4.0 Uname -a: Linux orangepipcplus 6.12.58-current-sunxi #1 SMP Thu Nov 13 20:34:41 UTC 2025 armv7l GNU/Linux dmesg | grep -i mmc [ 0.000000] Kernel command line: root=UUID=cf60c629-17b3-4fb8-91bb-24bd021f8c6b rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=def8ba6d-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory [ 0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=def8ba6d-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory", will be passed to user space. [ 4.995824] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 5.019105] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 5.031030] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB [ 5.048053] mmc2: Failed to initialize a non-removable card [ 5.063249] mmc0: host does not support reading read-only switch, assuming write-enable [ 5.067129] mmc0: new high speed SDXC card at address aaaa [ 5.071189] mmcblk0: mmc0:aaaa SC64G 59.5 GiB [ 5.080563] mmcblk0: p1 [ 5.316321] ubootsource=mmc [ 7.603641] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 7.635175] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB [ 7.687081] mmc1: new high speed SDIO card at address 0001 [ 8.364751] EXT4-fs (mmcblk0p1): mounted filesystem cf60c629-17b3-4fb8-91bb-24bd021f8c6b ro with writeback data mode. Quota mode: none. [ 14.091111] EXT4-fs (mmcblk0p1): re-mounted cf60c629-17b3-4fb8-91bb-24bd021f8c6b r/w. dmesg | grep -i mmc2 [ 5.048053] mmc2: Failed to initialize a non-removable card I also extracted a DTB file and DTS file from the android of the TV box, if that is useful (I used AI for that, and dont really know if they are useful) Thanks. dts.txt
-
Hi, posting a solution I have found how to boot Armbian on S905x device Scishion V88 Pro My device: * works, boots into an Android (has working u-boot) * has no reset button * contains thirdparty Android ROM that does not allow to enter aml burn mode * cannot use Android update app * does not respond to eMMC pin short (like in this post) The only way to boot Armbian in this case is to solder serial console, interrupt u-boot and run recover from sd card command: 1. solder serial console 2. connect usb-serial adapter 3. insert Armbian prepared SD card for your amlogic CPU version 4. plug power and immediately press and hold Enter 5. you should see interrupted u-boot prompt (ex, gxl_p212_v1#) 6. type command run recovery_from_sdcard and hit Enter 7. the box should now boot in Armbian An example session: gxl_p212_v1#help ? - alias for 'help' aml_sysrecovery- Burning with amlogic format package from partition sysrecovery amlmmc - AMLMMC sub system amlnf - aml nand sub-system amlnf_test- AMLPHYNAND sub-system autoscr - run script from memory base - print or set address offset bmp - manipulate BMP image data booti - boot arm64 Linux Image image from memory bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol cbusreg - cbus register read/write clkmsr - measure PLL clock cmp - memory compare cp - memory copy crc32 - checksum calculation cvbs - CVBS sub-system dcache - enable or disable data cache defenv_reserv- reserve some specified envs after defaulting env dhcp - boot image via network using DHCP/TFTP protocol echo - echo args to console efuse - efuse read/write data commands efuse_user- efuse user space read write ops emmc - EMMC sub system env - environment handling commands exit - exit script false - do nothing, unsuccessfully fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fatsize - determine a file's size fdt - flattened device tree utility commands forceupdate- forceupdate get_rebootmode- get reboot mode go - start application at address 'addr' gpio - query and control gpio pins hdmitx - HDMITX sub-system help - print command description/usage i2c - I2C sub-system icache - enable or disable instruction cache imgread - Read the image from internal flash with actual size irkey - irkey key_value1 key_value2 time_value itest - return true/false on integer compare jtagoff - disable jtag jtagon - enable jtag keyman - Unify key ops interfaces based dts cfg keyunify- key unify sub-system loop - infinite loop on address range macreg - ethernet mac register read/write/dump md - memory display mm - memory modify (auto-incrementing address) mmc - MMC sub system mmcinfo - display MMC info mw - memory write (fill) mwm - mw mask function nm - memory modify (constant address) open_scp_log- print SCP messgage osd - osd sub-system phyreg - ethernet phy register read/write/dump ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables rarpboot- boot image via network using RARP/TFTP protocol read_temp- cpu temp-system reboot - set reboot mode and reboot system reset - Perform RESET of the CPU rsvmem - reserve memory run - run commands in an environment variable saradc - saradc sub-system saradc_12bit- saradc sub-system saveenv - save environment variables to persistent storage sdc_burn- Burning with amlogic format package in sdmmc sdc_update- Burning a partition with image file in sdmmc card set_trim_base- cpu temp-system set_usb_boot- set usb boot mode setenv - set environment variables showvar - print local hushshell variables silent - silent sleep - delay execution for some time store - STORE sub-system systemoff- system off temp_triming- cpu temp-system test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol true - do nothing, successfully unpackimg- un pack logo image into pictures update - Enter v2 usbburning mode usb - USB sub-system usb_burn- Burning with amlogic format package in usb usb_update- Burning a partition with image file in usb host usbboot - boot from USB device version - print monitor, compiler and linker version vout - VOUT sub-system vpu - vpu sub-system wipeisb - wipeisb write_trim- cpu temp-system write_version- cpu temp-system gxl_p212_v1#printenv EnableSelinux=enforcing aml_dt=gxl_p212_1g baudrate=115200 bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 jtag=apee androidboot.hardware=amlogic bootcmd=run storeboot bootdelay=1 bootup_offset=0x1080240 bootup_size=0x3f4c8 cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;if keyman read mac ${loadaddr} str; then setenv bootargs ${bootargs} mac=${mac} androidboot.mac=${mac};fi;if keyman read deviceid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};fi;fi; cvbs_drv=0 cvbsmode=576cvbs display_bpp=16 display_color_bg=0 display_color_fg=0xffff display_color_index=16 display_height=1080 display_layer=osd1 display_width=1920 dtb_mem_addr=0x1000000 ethact=dwmac.c9410000 ethaddr=00:15:18:01:81:31 factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; fb_addr=0x3d800000 fb_height=1080 fb_width=1920 fdt_high=0x20000000 firstboot=0 gatewayip=10.18.9.1 hdmimode=1080p60hz hostname=arm_gxbb init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive ipaddr=10.18.9.97 jtag=apee loadaddr=1080000 maxcpus=4 netmask=255.255.255.0 outputmode=1080p60hz preboot=run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run upgrade_key;run upgrade_sadckey;run switch_bootmode; reboot_mode=normal recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi recovery_from_sdcard=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload mmc 0 ${loadaddr} recovery.img; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then echo sd dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi; recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi; recovery_offset=0 recovery_part=recovery sdc_burning=sdc_burn ${sdcburncfg} sdcburncfg=aml_sdc_burn.ini serverip=10.18.9.113 stderr=serial stdin=serial stdout=serial storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys; storeboot=echo Booting...; if unifykey get usid; then setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;if unifykey get mac; then setenv bootargs ${bootargs} mac=${ethaddr};fi;if imgread kernel boot ${loadaddr}; then bootm ${loadaddr}; fi;run update; switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then fi;fi;fi; try_auto_burn=update 700 750; update=run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash; upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi; upgrade_key=if gpio input GPIOAO_2; then echo detect upgrade key; sleep 3;if gpio input GPIOAO_2; then run update; fi;fi; upgrade_sadckey=saradc open 0; echo detect sadckey ....;if saradc get_in_range 0 0x50; then sleep 1; if saradc get_in_range 0 0x50; then echo update by key...; run update; fi;fi; upgrade_step=2 usb_burning=update 1000 wipe_cache=successful wipe_data=successful Environment size: 5164/65532 bytes gxl_p212_v1#run recovery_from_sdcard card in [mmc_init] mmc init success reading aml_autoscript 800 bytes read in 4 ms (195.3 KiB/s) ## Executing script at 01080000 ## Error: "bootfromsd" not defined Saving Environment to aml-storage... mmc env offset: 0x27400000 Writing to MMC(1)... done reboot use default mode: normal INFO: PSCI Affinity Map: INFO: AffInst: Level 0, MPID 0x0, State ON INFO: AffInst: Level 0, MPID 0x1, State OFF INFO: AffInst: Level 0, MPID 0x2, State OFF INFO: AffInst: Level 0, MPID 0x3, State OFF bl31 reboot reason: 0xd bl31 reboot reason: 0x1 system cmd 1. ERROR: gxbb System RGXL:BL1:9ac50e:a1974b;FEAT:ADFC318C;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 94201 BL2 Built : 19:41:49, Jun 20 2016. gxl ge299011 - xiaobo.gu@droid05 set vcck to 1120 mv set vddee to 1000 mv Board ID = 2 CPU clk: 1200MHz DDR3 chl: Rank0+1 @ 528MHz - FAIL DDR3 chl: Rank0 @ 528MHz - PASS DQS-corr enabled DDR scramble enabled Rank0: 1024MB(auto)-2T-7 DataBus test pass! AddrBus test pass! -s Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00014400 Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x000a8000 NOTICE: BL3-1: v1.0(debug):c813a61 NOTICE: BL3-1: Built : 14:39:44, Jun 16 2016 aml log : bl31 normal boot ! [Image: gxl_v1.1.3137-2517a7a 2016-06-24 11:31:11 xing.xu@droid05] OPS=0x82 49 fa cb 46 f4 e1 33 33 f1 68 a2 be [0.441838 Inits done] secure task start! high task start! low task start! INFO: BL3-1: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader ERROR: Error initializing runtime service opteed_fast INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x1000000 INFO: BL3-1: Next image spsr = 0x3c9 U-Boot 2015.01 (Aug 11 2016 - 17:47:33) DRAM: 1 GiB Relocation Offset is: 36ecb000 register usb cfg[0][1] = 0000000037f5faf0 vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters vpu: clk_level = 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpp: vpp_init boot_device_flag : 1 Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc. init bus_cycle=6, bus_timing=7, system=5.0ns reset failed get_chip_type and ret:fffffffe get_chip_type and ret:fffffffe chip detect failed and ret:fffffffe nandphy_init failed and ret=0xfffffff1 MMC: aml_priv->desc_buf = 0x0000000033ecb6b0 aml_priv->desc_buf = 0x0000000033ecd9d0 SDIO Port B: 0, SDIO Port 😄 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 [mmc_startup] mmc refix success [mmc_init] mmc init success mmc read lba=0x14000, blocks=0x400 Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p212 variant: 1g dtb 0 soc: gxl plat: p212 vari: 1g dtb 1 soc: gxl plat: p212 vari: 2g Find match dtb: 0 start dts,buffer=0000000033ed0270,dt_addr=0000000033ed0a70 parts: 11 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: instaboot 0000000020000000 1 07: boot 0000000002000000 1 08: system 0000000040000000 1 09: cache 0000000020000000 2 10: data ffffffffffffffff 4 get_dtb_struct: Get emmc dtb OK! overide_emmc_partition_table: overide cache [mmc_get_partition_table] skip partition cache. Partition table get from SPL is : name offset size flag =================================================================================== 0: bootloader 0 400000 0 1: reserved 2400000 4000000 0 2: cache 6c00000 20000000 2 3: env 27400000 800000 0 4: logo 28400000 2000000 1 5: recovery 2ac00000 2000000 1 6: rsv 2d400000 800000 1 7: tee 2e400000 800000 1 8: crypt 2f400000 2000000 1 9: misc 31c00000 2000000 1 10: instaboot 34400000 20000000 1 11: boot 54c00000 2000000 1 12: system 57400000 40000000 1 13: data 97c00000 130400000 4 mmc read lba=0x12000, blocks=0x2 mmc read lba=0x12002, blocks=0x2 mmc_read_partition_tbl: mmc read partition OK! eMMC/TSD partition table have been checked OK! mmc env offset: 0x27400000 In: serial Out: serial Err: serial reboot_mode=normal hpd_state=1 [1080p60hz] is invalid for cvbs. set hdmitx VIC = 16 config HPLL = 2970 HPLL: 0xc000027b config HPLL done j = 4 vid_clk_div = 1 hdmitx phy setting done hdmitx: set enc for VIC: 16 enc_vpu_bridge_reset[1183] rx version is 2.0 div=10 [store]To run cmd[emmc dtb_read 0x1000000 0x40000] read emmc dtb Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p212 variant: 1g dtb 0 soc: gxl plat: p212 vari: 1g dtb 1 soc: gxl plat: p212 vari: 2g Find match dtb: 0 Net: dwmac.c9410000 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]failed to get fb addr for logo [OSD]use default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [OSD]load fb addr from dts [OSD]failed to get fb addr for logo [OSD]use default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [CANVAS]addr=0x3d800000 width=3840, height=2160 amlkey_init() enter! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet gpio: pin GPIOAO_2 (gpio 102) value is 1 get_cpu_id flag_12bit=1 detect sadckey .... saradc - saradc sub-system Usage: saradc saradc open <channel> - open a SARADC channel saradc close - close the SARADC saradc getval - get the value in current channel saradc get_in_range <min> <max> - return 0 if current value in the range of current channel Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 card in [mmc_init] mmc init success Device: SDIO Port B Manufacturer ID: 74 OEM: 4a45 Name: SDC Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 15 GiB mmc clock: 40000000 Bus Width: 4-bit reading s905_autoscript 537 bytes read in 4 ms (130.9 KiB/s) ## Executing script at 01020000 start amlogic old u-boot ## Error: "bootfromsd" not defined reading boot_android ** Unable to read file boot_android ** ** Bad device usb 0 ** reading u-boot.ext 646455 bytes read in 48 ms (12.8 MiB/s) ## Starting application at 0x01000000 ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.6.53-current-meson64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Mon Sep 30 14:25:15 UTC 2024 [ 0.000000] Machine model: Amlogic Meson GXL (S905X) P212 Development Board [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x000000002a800000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x000000002a800000..0x000000003a7fffff (262144 KiB) map reusable linux,cma [ 0.000000] OF: reserved mem: 0x0000000000000000..0x0000000000ffffff (16384 KiB) nomap non-reusable hwrom@0 [ 0.000000] OF: reserved mem: 0x0000000005000000..0x00000000052fffff (3072 KiB) nomap non-reusable secmon@5000000 [ 0.000000] OF: reserved mem: 0x0000000005300000..0x00000000072fffff (32768 KiB) nomap non-reusable secmon@5300000 [ 0.000000] OF: reserved mem: 0x0000000010000000..0x00000000101fffff (2048 KiB) nomap non-reusable secmon@10000000 [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000003f806fff] [ 0.000000] NUMA: NODE_DATA [mem 0x3f5e7940-0x3f5e9fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000003f806fff] [ 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 0x0000000000000000-0x0000000000ffffff] [ 0.000000] node 0: [mem 0x0000000001000000-0x0000000004ffffff] [ 0.000000] node 0: [mem 0x0000000005000000-0x00000000072fffff] [ 0.000000] node 0: [mem 0x0000000007300000-0x000000000fffffff] [ 0.000000] node 0: [mem 0x0000000010000000-0x00000000101fffff] [ 0.000000] node 0: [mem 0x0000000010200000-0x000000003f806fff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003f806fff] [ 0.000000] On node 0, zone DMA: 2041 pages in unavailable ranges [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv0.2 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] percpu: Embedded 22 pages/cpu s51304 r8192 d30616 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=UUID=bb7643a4-cf60-4444-9fc3-c565842689c1 rootflags=data=writeback console=ttyAML0,115200n8 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles [ 0.000000] Unknown kernel command line parameters "splash", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 256038 [ 0.000000] Policy zone: DMA [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x000000003e280000-0x000000003e380000] (1MB) [ 0.000000] Memory: 653368K/1040412K available (16192K kernel code, 1700K rwdata, 4964K rodata, 3776K init, 606K bss, 124900K reserved, 262144K 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 25 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] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000329] Console: colour dummy device 80x25 [ 0.000344] printk: console [tty0] enabled [ 0.000943] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000969] pid_max: default: 32768 minimum: 301 [ 0.001063] LSM: initializing lsm=capability,yama,apparmor,integrity [ 0.001102] Yama: becoming mindful. [ 0.001209] AppArmor: AppArmor initialized [ 0.001325] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.001349] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.003465] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.003582] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.003836] rcu: Hierarchical SRCU implementation. [ 0.003852] rcu: Max phase no-delay instances is 1000. [ 0.005705] EFI services will not be available. [ 0.006241] smp: Bringing up secondary CPUs ... [ 0.006969] Detected VIPT I-cache on CPU1 [ 0.007096] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.007958] Detected VIPT I-cache on CPU2 [ 0.008080] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.008931] Detected VIPT I-cache on CPU3 [ 0.009047] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.009176] smp: Brought up 1 node, 4 CPUs [ 0.009247] SMP: Total of 4 processors activated. [ 0.009259] CPU features: detected: 32-bit EL0 Support [ 0.009269] CPU features: detected: 32-bit EL1 Support [ 0.009282] CPU features: detected: CRC32 instructions [ 0.009375] CPU: All CPU(s) started at EL2 [ 0.009396] alternatives: applying system-wide alternatives [ 0.011402] devtmpfs: initialized [ 0.018489] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.018564] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.026914] pinctrl core: initialized pinctrl subsystem [ 0.027526] DMI not present or invalid. [ 0.028305] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.030314] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.030515] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.030690] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.030776] audit: initializing netlink subsys (disabled) [ 0.031078] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1 [ 0.031633] thermal_sys: Registered thermal governor 'fair_share' [ 0.031643] thermal_sys: Registered thermal governor 'bang_bang' [ 0.031659] thermal_sys: Registered thermal governor 'step_wise' [ 0.031671] thermal_sys: Registered thermal governor 'user_space' [ 0.031752] cpuidle: using governor menu [ 0.032151] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.032289] ASID allocator initialised with 65536 entries [ 0.033246] Serial: AMBA PL011 UART driver [ 0.044590] platform d0100000.vpu: Fixed dependency cycle(s) with /soc/hdmi-tx@c883a000 [ 0.044823] platform d0100000.vpu: Fixed dependency cycle(s) with /soc/hdmi-tx@c883a000 [ 0.044896] platform c883a000.hdmi-tx: Fixed dependency cycle(s) with /soc/vpu@d0100000 [ 0.047373] platform d0100000.vpu: Fixed dependency cycle(s) with /cvbs-connector [ 0.047478] platform cvbs-connector: Fixed dependency cycle(s) with /soc/vpu@d0100000 [ 0.047645] platform c883a000.hdmi-tx: Fixed dependency cycle(s) with /hdmi-connector [ 0.047723] platform hdmi-connector: Fixed dependency cycle(s) with /soc/hdmi-tx@c883a000 [ 0.048609] Modules: 25904 pages in range for non-PLT usage [ 0.048621] Modules: 517424 pages in range for PLT usage [ 0.049590] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.049635] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.049649] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.049660] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.049673] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.049685] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.049698] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.049710] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.050757] cryptd: max_cpu_qlen set to 1000 [ 0.116394] raid6: neonx8 gen() 2145 MB/s [ 0.184466] raid6: neonx4 gen() 2193 MB/s [ 0.252548] raid6: neonx2 gen() 2087 MB/s [ 0.320636] raid6: neonx1 gen() 1783 MB/s [ 0.388713] raid6: int64x8 gen() 1366 MB/s [ 0.456793] raid6: int64x4 gen() 1606 MB/s [ 0.524879] raid6: int64x2 gen() 1401 MB/s [ 0.592977] raid6: int64x1 gen() 1036 MB/s [ 0.592989] raid6: using algorithm neonx4 gen() 2193 MB/s [ 0.661030] raid6: .... xor() 1556 MB/s, rmw enabled [ 0.661043] raid6: using neon recovery algorithm [ 0.661698] ACPI: Interpreter disabled. [ 0.662702] iommu: Default domain type: Translated [ 0.662748] iommu: DMA domain TLB invalidation policy: strict mode [ 0.663591] SCSI subsystem initialized [ 0.663886] usbcore: registered new interface driver usbfs [ 0.663932] usbcore: registered new interface driver hub [ 0.663988] usbcore: registered new device driver usb [ 0.664389] pps_core: LinuxPPS API ver. 1 registered [ 0.664403] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.664430] PTP clock support registered [ 0.664717] EDAC MC: Ver: 3.0.0 [ 0.665431] scmi_core: SCMI protocol bus registered [ 0.666858] NetLabel: Initializing [ 0.666895] NetLabel: domain hash size = 128 [ 0.666905] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.666978] NetLabel: unlabeled traffic allowed by default [ 0.666990] mctp: management component transport protocol core [ 0.667002] NET: Registered PF_MCTP protocol family [ 0.667338] vgaarb: loaded [ 0.667944] clocksource: Switched to clocksource arch_sys_counter [ 0.668331] VFS: Disk quotas dquot_6.6.0 [ 0.668386] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.669039] AppArmor: AppArmor Filesystem Enabled [ 0.669231] pnp: PnP ACPI: disabled [ 0.676553] NET: Registered PF_INET protocol family [ 0.676760] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.677912] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.678131] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.678187] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.678341] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 0.678571] TCP: Hash tables configured (established 8192 bind 8192) [ 0.678890] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear) [ 0.678989] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.679031] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.679256] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.679324] PCI: CLS 0 bytes, default 64 [ 0.679655] Trying to unpack rootfs image as initramfs... [ 0.684152] kvm [1]: IPA Size Limit: 40 bits [ 0.685347] kvm [1]: vgic interrupt IRQ9 [ 0.685423] kvm [1]: Hyp mode initialized successfully [ 0.688098] Initialise system trusted keyrings [ 0.688210] Key type blacklist registered [ 0.688445] workingset: timestamp_bits=44 max_order=18 bucket_order=0 [ 0.688527] zbud: loaded [ 0.689160] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.689832] fuse: init (API version 7.39) [ 0.691883] integrity: Platform Keyring initialized [ 0.724112] xor: measuring software checksum speed [ 0.728102] 8regs : 2524 MB/sec [ 0.732077] 32regs : 2523 MB/sec [ 0.736355] arm64_neon : 2335 MB/sec [ 0.736385] xor: using function: 8regs (2524 MB/sec) [ 0.736411] Key type asymmetric registered [ 0.736425] Asymmetric key parser 'x509' registered [ 0.736614] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.736926] io scheduler mq-deadline registered [ 0.736971] io scheduler kyber registered [ 0.737060] io scheduler bfq registered [ 0.737682] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized [ 0.750690] EINJ: ACPI disabled. [ 0.760568] soc soc0: Amlogic Meson GXL (S905X) Revision 21:a (82:2) Detected [ 0.763380] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.771317] Serial: AMBA driver [ 0.772506] c11084c0.serial: ttyAML6 at MMIO 0xc11084c0 (irq = 14, base_baud = 1500000) is a meson_uart [ 0.772995] serial serial0: tty port ttyAML6 registered [ 0.774230] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 15, base_baud = 1500000) is a meson_uart [ 0.774301] printk: console [ttyAML0] enabled [ 1.739205] Freeing initrd memory: 21632K [ 1.998474] loop: module loaded [ 2.006175] tun: Universal TUN/TAP device driver, 1.6 [ 2.007623] thunder_xcv, ver 1.0 [ 2.009026] thunder_bgx, ver 1.0 [ 2.012164] nicpf, ver 1.0 [ 2.015761] e1000e: Intel(R) PRO/1000 Network Driver [ 2.019700] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 2.026670] igb: Intel(R) Gigabit Ethernet Network Driver [ 2.030848] igb: Copyright (c) 2007-2014 Intel Corporation. [ 2.036442] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 2.042562] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 2.048795] sky2: driver version 1.30 [ 2.053285] VFIO - User Level meta-driver version: 0.3 [ 2.060720] usbcore: registered new interface driver usb-storage [ 2.066261] mousedev: PS/2 mouse device common for all mice [ 2.069980] i2c_dev: i2c /dev entries driver [ 2.078109] sdhci: Secure Digital Host Controller Interface driver [ 2.078938] sdhci: Copyright(c) Pierre Ossman [ 2.083836] Synopsys Designware Multimedia Card Interface Driver [ 2.090821] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.091457] meson-gx-mmc d0072000.mmc: Got CD GPIO [ 2.093524] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq [ 2.105155] ledtrig-cpu: registered to indicate activity on CPUs [ 2.112906] meson-sm: secure-monitor enabled [ 2.116872] gxl-crypto c883e000.crypto: will run requests pump with realtime priority [ 2.123234] gxl-crypto c883e000.crypto: will run requests pump with realtime priority [ 2.131222] hid: raw HID events driver (C) Jiri Kosina [ 2.135974] gpio irq setup: hwirq: 0x3A irqfirst: 0x34 irqlast: 0x3A pin[48] [ 2.136066] usbcore: registered new interface driver usbhid [ 2.143432] genirq: Setting trigger mode 3 for irq 20 failed (meson_gpio_irq_set_type+0x0/0x60) [ 2.148374] usbhid: USB HID core driver [ 2.161508] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered [ 2.169300] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 2.178827] NET: Registered PF_INET6 protocol family [ 2.182401] Segment Routing with IPv6 [ 2.184386] In-situ OAM (IOAM) with IPv6 [ 2.187909] mmc0: new high speed SDHC card at address b368 [ 2.188255] NET: Registered PF_PACKET protocol family [ 2.195141] mmcblk0: mmc0:b368 SDC 15.0 GiB [ 2.198860] 8021q: 802.1Q VLAN Support v1.8 [ 2.206533] mmcblk0: p1 p2 [ 2.207428] Key type dns_resolver registered [ 2.234401] registered taskstats version 1 [ 2.234750] Loading compiled-in X.509 certificates [ 2.248234] mmc1: new HS200 MMC card at address 0001 [ 2.252487] mmcblk1: mmc1:0001 T22708 7.13 GiB [ 2.257845] mmcblk1boot0: mmc1:0001 T22708 4.00 MiB [ 2.261435] mmcblk1boot1: mmc1:0001 T22708 4.00 MiB [ 2.265759] mmcblk1rpmb: mmc1:0001 T22708 4.00 MiB, chardev (241:0) [ 2.267623] zswap: loaded using pool zstd/z3fold [ 2.284689] Key type .fscrypt registered [ 2.284746] Key type fscrypt-provisioning registered [ 2.291055] Btrfs loaded, zoned=yes, fsverity=yes [ 2.292881] Key type encrypted registered [ 2.296606] AppArmor: AppArmor sha1 policy hashing enabled [ 2.319775] meson-drm d0100000.vpu: Queued 2 outputs on vpu [ 2.348035] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) [ 2.353046] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver [ 2.360422] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops 0xffff80008110a290) [ 2.368601] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0 [ 3.012446] Console: switching to colour frame buffer device 160x45 [ 3.046669] meson-drm d0100000.vpu: [drm] fb0: mesondrmfb frame buffer device [ 3.056943] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware [ 3.057606] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq [ 3.071375] dwc3-meson-g12a d0078080.usb: USB2 ports: 2 [ 3.071701] dwc3-meson-g12a d0078080.usb: USB3 ports: 0 [ 3.114943] mmc2: new high speed SDIO card at address 0001 [ 3.593479] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator [ 3.595571] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator [ 3.604268] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM [ 3.611804] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 3.614923] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 3.622631] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports [ 3.628685] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000008002000010 [ 3.637759] xhci-hcd xhci-hcd.1.auto: irq 32, io mem 0xc9000000 [ 3.643950] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06 [ 3.651811] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.659266] usb usb1: Product: xHCI Host Controller [ 3.663792] usb usb1: Manufacturer: Linux 6.6.53-current-meson64 xhci-hcd [ 3.670499] usb usb1: SerialNumber: xhci-hcd.1.auto [ 3.676191] hub 1-0:1.0: USB hub found [ 3.684178] hub 1-0:1.0: 2 ports detected [ 3.694794] clk: Disabling unused clocks [ 3.704673] Freeing unused kernel memory: 3776K [ 3.712598] Run /init as init process [ 3.952047] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 4.109784] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36 [ 4.122655] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 4.133996] usb 1-1: Product: USB2.0 Hub [ 4.188471] hub 1-1:1.0: USB hub found [ 4.197352] hub 1-1:1.0: 4 ports detected [ 4.378076] meson-vrtc c81000a8.rtc: registered as rtc0 [ 4.386658] meson-vrtc c81000a8.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4) [ 4.408800] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found [ 4.418343] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found [ 4.428065] meson8b-dwmac c9410000.ethernet: PTP uses main clock [ 4.430124] random: crng init done [ 4.437457] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37 [ 4.463473] meson8b-dwmac c9410000.ethernet: DWMAC1000 [ 4.471552] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported [ 4.481659] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported [ 4.492058] meson8b-dwmac c9410000.ethernet: COE Type 2 [ 4.496064] usb 1-1.2: new low-speed USB device number 3 using xhci-hcd [ 4.499990] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported [ 4.500002] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported [ 4.500241] meson8b-dwmac c9410000.ethernet: Normal descriptors [ 4.546035] meson8b-dwmac c9410000.ethernet: Ring mode enabled [ 4.553913] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 4.612079] usb 1-1.2: New USB device found, idVendor=0e8f, idProduct=2517, bcdDevice= 1.00 [ 4.622732] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 4.711090] input: HID 0e8f:2517 as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:0E8F:2517.0001/input/input0 [ 4.872910] hid-generic 0003:0E8F:2517.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 0e8f:2517] on usb-xhci-hcd.1.auto-1.2/input0 [ 4.889832] input: HID 0e8f:2517 Consumer Control as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:0E8F:2517.0002/input/input1 [ 4.960497] input: HID 0e8f:2517 as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:0E8F:2517.0002/input/input2 [ 4.969600] input: HID 0e8f:2517 Mouse as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:0E8F:2517.0002/input/input3 [ 4.984451] hid-generic 0003:0E8F:2517.0002: input,hidraw1: USB HID v1.10 Mouse [HID 0e8f:2517] on usb-xhci-hcd.1.auto-1.2/input1 [ 7.325871] EXT4-fs (mmcblk0p2): mounted filesystem bb7643a4-cf60-4444-9fc3-c565842689c1 r/w with writeback data mode. Quota mode: none. [ 8.608652] systemd[1]: System time before build time, advancing clock. [ 8.646756] systemd[1]: Inserted module 'autofs4' [ 8.747816] systemd[1]: systemd 255.4-1ubuntu8.4 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 8.774826] systemd[1]: Detected architecture arm64. [ 8.788407] systemd[1]: Hostname set to <aml-s9xx-box>. [ 8.798036] systemd[1]: Initializing machine ID from random generator. [ 13.117643] systemd[1]: Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway. [ 13.813360] systemd[1]: Queued start job for default target graphical.target. [ 13.879198] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 13.885686] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty. [ 13.893115] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck. [ 13.900979] systemd[1]: Created slice user.slice - User and Session Slice. [ 13.906566] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 13.917664] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 13.928909] systemd[1]: Expecting device dev-disk-by\x2duuid-B1CE\x2d0046.device - /dev/disk/by-uuid/B1CE-0046... [ 13.939010] systemd[1]: Expecting device dev-ttyAML0.device - /dev/ttyAML0... [ 13.946174] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. [ 13.955024] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups. [ 13.963405] systemd[1]: Reached target slices.target - Slice Units. [ 13.969502] systemd[1]: Reached target snapd.mounts-pre.target - Mounting snaps. [ 13.976827] systemd[1]: Reached target snapd.mounts.target - Mounted snaps. [ 13.983770] systemd[1]: Reached target swap.target - Swaps. [ 13.989227] systemd[1]: Reached target time-set.target - System Time Set. [ 13.996178] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. [ 14.065501] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket. [ 14.069429] systemd[1]: Listening on syslog.socket - Syslog Socket. [ 14.075405] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. [ 14.083705] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 14.092756] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 14.101587] systemd[1]: Listening on systemd-journald.socket - Journal Socket. [ 14.107987] systemd[1]: systemd-pcrextend.socket - TPM2 PCR Extension (Varlink) was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 14.127390] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 14.131110] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 14.176427] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System... [ 14.185060] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 14.194982] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 14.198296] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing). [ 14.214047] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab). [ 14.238221] systemd[1]: Starting fake-hwclock-load.service - Restore the current clock... [ 14.249699] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 14.262157] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 14.274003] (-hwclock)[1174]: fake-hwclock-load.service: Referenced but unset environment variable evaluates to an empty string: FORCE [ 14.278165] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 14.305340] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... [ 14.326511] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 14.345426] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 14.365374] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 14.385715] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... [ 14.391807] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root). [ 14.408189] device-mapper: uevent: version 1.0.3 [ 14.409094] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 14.421548] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 14.425225] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 14.448657] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... [ 14.453238] systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 14.474641] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 14.493280] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System. [ 14.496550] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 14.505204] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 14.513869] systemd[1]: fake-hwclock-load.service: Deactivated successfully. [ 14.518816] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock. [ 14.530682] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 14.541007] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 14.543620] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 14.554554] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 14.558823] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod. [ 14.567334] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 14.573773] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 14.581623] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 14.587319] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. Welcome to Armbian_community! Documentation: https://docs.armbian.com | Community support: https://community.armbian.com/ IP address: Network connection timeout! Create root password:
-
Driving the ili9488 LCD (4.0 inch cheap chinese clone)
robertoj replied to robertoj's topic in Allwinner sunxi
If you already checked "dmesg|grep panel-mipi" and "dmesg|grep spi", check this: * share which LCD you are using. Half of those LCDs are waveshare clones, which need a different driver. My DTS works in the RED LCDs. * Look at the uboot messages in the serial port output. Does it confirm it is finding your dtbo and using it? * verify that panel-mipi-dbi.ko exists in the modules folder. I know it is not preselected by default within the linux configuration menu * Search the word "pinctrl" in this thread https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/#comment-204741 To confirm that the kernel driver is using the gpio and spi pins * send link of the rock3c DTS you are referencing, to see an example of how GPIOs are configured * correct the gpio pin map you shared. Instead of tx/rx, use MOSI, MISO. Highlight and label clearly the CS0, CS1, RESET, DC, IRQ * explain how those gpio numbers gpioX,XX transform into the DTS gpioX XX 1/0 If you at least get noise in the LCD, you are 50% done (and maybe you will get lucky in the last 50%) -
haha , I have read a lot on PSU, I am currently powering through a USB-C connected to a Anker Block www.amazon.co.uk/dp/B0D59JNQ9F?ref=ppx_yo2ov_dt_b_fed_asin_title This should be overkill, but I am here to learn I was going to start another post as currently this board will run on an Automotive rig which is supplied 13.8V from a fairly good but dumb Bench PSU, which I know i cant feed into it, but I was tempted to ask what the arangement with the USB-C was as could i wire a basic step-down circuit for a stable 5V 5A to connect to the GPIO pins and solve this once and for all. I was tempted to get one of these ordered foor today to eliminate issues, but was looking for somewhere with a list of known good supplies. https://www.amazon.co.uk/iRasptek-Raspberry-Supply-Adapter-(White)-White/dp/B0D12H1N4L?crid=2DR00330ACZG4&dib=eyJ2IjoiMSJ9.yy8NlNRV8fvukOA7JVjC9ng_XPbmDtZarii93lgqL_-ToxBeH4T6raTFYwrTkmXGbv-_trvnbv0rCVrjDbhnz3JY-mW3NRzGmgg9gN_fiEasz3_8Qc6GkhIQJG3FacIhxJIy3WGUyuvKu_5iDOxOj5hveO_RctLLAn33KRTnWT1EwvHQUVfvUzfXO8fi3Y8X0CAK1pjSJNdDU86EaeE1maJK2KtMkd32uxYpUs0TDLE.wLLZXeiEdInd_jsKhSdZfBR7IoK18dfWVdL6iph7Wvs&dib_tag=se&keywords=5v+5a&qid=1763810843&sprefix=5v+5a%2Caps%2C92&sr=8-5
-
Driving the ili9488 LCD (4.0 inch cheap chinese clone)
forumtrekker replied to robertoj's topic in Allwinner sunxi
Hello! First of all, thank you robertoj for this treasure trove of information - truly, I searched so much of the internet before finding this, because seemingly nobody is sharing DTS files for tft screens at all that aren't on a raspberry pi (which uses a different system afaik). I am using a rockpi 4bplus, trying to get an ili9488/86 tft screen to work, and struggling. I've used your latest DTS from page 1, using panel-mipi, verified it loads into initramfs using your other threads, compiled my own armbian edge on kernel 6.18 (and tried on kernel 6.12), corrected all FDT err not found errors on the DTS for my use case (my gpio numbers were out of scope)... still, all I get on my display is a blank white screen with no dmesg errors or comments about spi, panel etc... ;-; Not sure what else to try at this point. I'll post my files below, along with translated gpio pin numbers: /dts-v1/; /plugin/; /{ compatible = "radxa,rockpi4b-plus", "radxa,rockpi4", "rockchip,rk3399"; fragment@0 { target = <&spi1>; __overlay__ { #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; /* new for linux 6.13 */ pinctrl-0 = <&spi1_clk &spi1_cs0 &spi1_rx &spi1_tx>; /* new for linux 6.13 */ cs-gpios = <&spi1_cs0>, <&gpio4 26 0>; /* lcd, touch chip select */ panel: panel@0 { compatible = "panel-mipi-dbi-spi"; status = "okay"; reg = <0>; spi-max-frequency = <40000000>; width-mm=<84>; height-mm=<56>; reset-gpios = <&gpio4 29 1>; /* taken from rock3c setup, then modified for armbian */ dc-gpios = <&gpio4 28 0>; /* 1 is low, 0 is high */ write-only; format = "b6x2g6x2r6x2"; panel-timing { hactive = <480>; vactive = <320>; hback-porch = <0>; vback-porch = <0>; clock-frequency = <0>; hfront-porch = <0>; hsync-len = <0>; vfront-porch = <0>; vsync-len = <0>; }; }; ads7846: ads7846@1 { compatible = "ti,ads7846"; reg = <1>; pinctrl-names = "default"; spi-max-frequency = <1000000>; interrupt-parent = <&gpio4>; interrupts = <21 2>; /* 2 is IRQ_TYPE_EDGE_FALLING pendown-gpio = <&gpio4 21 0>; /* same as interrupt, pulled high */ vcc-supply = <&vcc5v0_sys>; /* Fill in the voltage according to the actual power supply c> /* OPTIONS */ ti,x-min = /bits/ 16 <0>; ti,y-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <0XFFF>; ti,y-max = /bits/ 16 <0XFFF>; ti,pressure-min = /bits/ 16 <0>; ti,pressure-max = /bits/ 16 <0XFFF>; ti,x-plate-ohms = /bits/ 16 <400>; ti,swap-xy = <1>; }; }; }; }; -
Hi @djurny Just to inform you that, after cleaning out some mess I made, your overlay and armbianEnv.txt update to make the external RTC ds3231 to work, did the job. For my SBC's I use the Banana Pi M2 Zero and v25.5 rolling for Banana Pi M2 Zero running Armbian Linux 6.6.75-current-sunxi My application needs to work in the field as an Access Point with an RTC, the right date and time is important info in the diagnostics of my applications. A remark on the mentioned Armbian release: For using the GPIO pins of the SBC, python3-libgpiod works great. I use USB camera's (V4L2 camera). After any update or upgrade, my USB camera's won't work anymore. Not really a problem for me, because I'm happy as it works right now, no updates or upgrades needed. Thanks again for your great help. Met vriendelijke groet, Ed
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
王类 replied to Hqnicolas's topic in Rockchip CPU Boxes
root@h96-tvbox-3566:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 6.12.57-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Sun Nov 2 13:15:23 UTC 2025 [ 0.000000] KASLR enabled [ 0.000000] Machine model: h96 TVbox 3566 [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x1ff7650c0-0x1ff76783f] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x00000000efffffff] [ 0.000000] node 0: [mem 0x00000001f0000000-0x00000001ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] cma: Reserved 128 MiB at 0x00000000e3a00000 on node -1 [ 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 34 pages/cpu s99416 r8192 d31656 u139264 [ 0.000000] pcpu-alloc: s99416 r8192 d31656 u139264 alloc=34*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: GIC system register CPU interface [ 0.000000] CPU features: detected: Virtualization Host Extensions [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009 [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=UUID=02d6f139-439e-4f03-b522-ea8c640bdf2c rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=981ba9e7-9a6c-4e13-8b12-c3374087ba24 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u dwmac-rk.phy_addr=1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory [ 0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=981ba9e7-9a6c-4e13-8b12-c3374087ba24 cgroup_enable=memory cgroup_memory=1", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1048064 [ 0.000000] Policy zone: Normal [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x00000000dfa00000-0x00000000e3a00000] (64MB) [ 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 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 320 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: MBI range [296:319] [ 0.000000] GICv3: Using MBI frame 0x00000000fd410000 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=1 [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001281] Console: colour dummy device 80x25 [ 0.001303] printk: legacy console [tty1] enabled [ 0.001519] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.001546] pid_max: default: 32768 minimum: 301 [ 0.001667] LSM: initializing lsm=capability,yama,apparmor [ 0.001762] Yama: becoming mindful. [ 0.002092] AppArmor: AppArmor initialized [ 0.002255] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002291] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.006553] rcu: Hierarchical SRCU implementation. [ 0.006578] rcu: Max phase no-delay instances is 1000. [ 0.007050] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.008342] EFI services will not be available. [ 0.008880] smp: Bringing up secondary CPUs ... [ 0.009999] Detected VIPT I-cache on CPU1 [ 0.010105] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [ 0.010168] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 0.011420] Detected VIPT I-cache on CPU2 [ 0.011515] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [ 0.011570] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 0.012992] Detected VIPT I-cache on CPU3 [ 0.013094] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [ 0.013149] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 0.013348] smp: Brought up 1 node, 4 CPUs [ 0.013378] SMP: Total of 4 processors activated. [ 0.013387] CPU: All CPU(s) started at EL2 [ 0.013396] CPU features: detected: 32-bit EL0 Support [ 0.013403] CPU features: detected: 32-bit EL1 Support [ 0.013414] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.013423] CPU features: detected: Common not Private translations [ 0.013431] CPU features: detected: CRC32 instructions [ 0.013447] CPU features: detected: RCpc load-acquire (LDAPR) [ 0.013454] CPU features: detected: LSE atomic instructions [ 0.013462] CPU features: detected: Privileged Access Never [ 0.013468] CPU features: detected: RAS Extension Support [ 0.013479] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 0.013568] alternatives: applying system-wide alternatives [ 0.018533] Memory: 3851236K/4192256K available (16832K kernel code, 2934K rwdata, 11432K rodata, 5248K init, 790K bss, 205556K reserved, 131072K cma-reserved) [ 0.020380] devtmpfs: initialized [ 0.045281] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.045339] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.049748] 23408 pages in range for non-PLT usage [ 0.049777] 514928 pages in range for PLT usage [ 0.050149] pinctrl core: initialized pinctrl subsystem [ 0.051202] DMI not present or invalid. [ 0.055961] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.058258] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.059446] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.060691] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.060779] audit: initializing netlink subsys (disabled) [ 0.061164] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1 [ 0.062444] thermal_sys: Registered thermal governor 'fair_share' [ 0.062457] thermal_sys: Registered thermal governor 'bang_bang' [ 0.062467] thermal_sys: Registered thermal governor 'step_wise' [ 0.062474] thermal_sys: Registered thermal governor 'user_space' [ 0.062575] cpuidle: using governor menu [ 0.063005] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.063244] ASID allocator initialised with 32768 entries [ 0.063588] Serial: AMBA PL011 UART driver [ 0.079115] /vop@fe040000: Fixed dependency cycle(s) with /hdmi@fe0a0000 [ 0.079248] /hdmi@fe0a0000: Fixed dependency cycle(s) with /vop@fe040000 [ 0.104599] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.105237] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000 [ 0.105729] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.106137] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000 [ 0.106815] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.107233] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000 [ 0.107690] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.108077] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000 [ 0.108521] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.108914] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000 [ 0.111037] /hdmi@fe0a0000: Fixed dependency cycle(s) with /hdmi-con [ 0.111179] /hdmi-con: Fixed dependency cycle(s) with /hdmi@fe0a0000 [ 0.118988] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.119013] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.119024] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.119032] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.119042] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.119049] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.119060] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.119067] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.121318] cryptd: max_cpu_qlen set to 1000 [ 0.187082] raid6: neonx8 gen() 1406 MB/s [ 0.255225] raid6: neonx4 gen() 1436 MB/s [ 0.323369] raid6: neonx2 gen() 1319 MB/s [ 0.391507] raid6: neonx1 gen() 1073 MB/s [ 0.459650] raid6: int64x8 gen() 912 MB/s [ 0.527787] raid6: int64x4 gen() 1045 MB/s [ 0.595931] raid6: int64x2 gen() 936 MB/s [ 0.664082] raid6: int64x1 gen() 691 MB/s [ 0.664097] raid6: using algorithm neonx4 gen() 1436 MB/s [ 0.732214] raid6: .... xor() 1100 MB/s, rmw enabled [ 0.732228] raid6: using neon recovery algorithm [ 0.733556] iommu: Default domain type: Translated [ 0.733576] iommu: DMA domain TLB invalidation policy: strict mode [ 0.734901] SCSI subsystem initialized [ 0.735254] libata version 3.00 loaded. [ 0.735625] usbcore: registered new interface driver usbfs [ 0.735699] usbcore: registered new interface driver hub [ 0.735755] usbcore: registered new device driver usb [ 0.736511] pps_core: LinuxPPS API ver. 1 registered [ 0.736525] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.736551] PTP clock support registered [ 0.736611] EDAC MC: Ver: 3.0.0 [ 0.737162] scmi_core: SCMI protocol bus registered [ 0.738840] NetLabel: Initializing [ 0.738854] NetLabel: domain hash size = 128 [ 0.738864] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.738962] NetLabel: unlabeled traffic allowed by default [ 0.739240] vgaarb: loaded [ 0.740044] clocksource: Switched to clocksource arch_sys_counter [ 0.745226] VFS: Disk quotas dquot_6.6.0 [ 0.745299] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.746518] AppArmor: AppArmor Filesystem Enabled [ 0.762179] NET: Registered PF_INET protocol family [ 0.762589] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.836463] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.836699] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.836818] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.837411] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.838375] TCP: Hash tables configured (established 32768 bind 32768) [ 0.838600] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.838728] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.839096] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.839150] NET: Registered PF_XDP protocol family [ 0.839175] PCI: CLS 0 bytes, default 64 [ 0.839616] Trying to unpack rootfs image as initramfs... [ 0.849450] kvm [1]: nv: 554 coarse grained trap handlers [ 0.850093] kvm [1]: IPA Size Limit: 40 bits [ 0.850147] kvm [1]: GICv3: no GICV resource entry [ 0.850160] kvm [1]: disabling GICv2 emulation [ 0.850210] kvm [1]: GIC system register CPU interface enabled [ 0.850255] kvm [1]: vgic interrupt IRQ9 [ 0.850315] kvm [1]: VHE mode initialized successfully [ 0.853418] Initialise system trusted keyrings [ 0.853509] Key type blacklist registered [ 0.853934] workingset: timestamp_bits=44 max_order=20 bucket_order=0 [ 0.854016] zbud: loaded [ 0.854816] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.855484] fuse: init (API version 7.41) [ 0.858338] integrity: Platform Keyring initialized [ 0.932593] xor: measuring software checksum speed [ 0.934529] 8regs : 1719 MB/sec [ 0.936661] 32regs : 1553 MB/sec [ 0.938577] arm64_neon : 1726 MB/sec [ 0.938588] xor: using function: arm64_neon (1726 MB/sec) [ 0.938609] Key type asymmetric registered [ 0.938621] Asymmetric key parser 'x509' registered [ 0.938818] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.939252] io scheduler mq-deadline registered [ 0.939271] io scheduler kyber registered [ 0.939348] io scheduler bfq registered [ 2.140739] Freeing initrd memory: 20564K [ 2.152225] ledtrig-cpu: registered to indicate activity on CPUs [ 2.162563] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 2.162593] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 2.165930] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 2.165958] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 2.169241] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 2.175501] fe650000.serial: ttyS1 at MMIO 0xfe650000 (irq = 25, base_baud = 1500000) is a 16550A [ 2.176112] serial serial0: tty port ttyS1 registered [ 2.177966] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 26, base_baud = 1500000) is a 16550A [ 2.178226] printk: legacy console [ttyS2] enabled [ 2.179993] Serial: AMBA driver [ 2.193516] loop: module loaded [ 2.195458] Key type psk registered [ 2.201340] thunder_xcv, ver 1.0 [ 2.201425] thunder_bgx, ver 1.0 [ 2.201493] nicpf, ver 1.0 [ 2.212937] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.212991] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.213204] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports [ 2.213222] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010 [ 2.213303] xhci-hcd xhci-hcd.0.auto: irq 30, io mem 0xfcc00000 [ 2.213819] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.213843] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.213858] usb usb1: Product: xHCI Host Controller [ 2.213870] usb usb1: Manufacturer: Linux 6.12.57-current-rockchip64 xhci-hcd [ 2.213882] usb usb1: SerialNumber: xhci-hcd.0.auto [ 2.214743] hub 1-0:1.0: USB hub found [ 2.214812] hub 1-0:1.0: 1 port detected [ 2.215548] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.215587] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 2.215779] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010 [ 2.215851] xhci-hcd xhci-hcd.1.auto: irq 31, io mem 0xfd000000 [ 2.216153] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.216182] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3 [ 2.216206] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 2.216505] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 2.216528] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.216543] usb usb2: Product: xHCI Host Controller [ 2.216555] usb usb2: Manufacturer: Linux 6.12.57-current-rockchip64 xhci-hcd [ 2.216567] usb usb2: SerialNumber: xhci-hcd.1.auto [ 2.217325] hub 2-0:1.0: USB hub found [ 2.217394] hub 2-0:1.0: 1 port detected [ 2.218015] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.218264] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12 [ 2.218287] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.218302] usb usb3: Product: xHCI Host Controller [ 2.218314] usb usb3: Manufacturer: Linux 6.12.57-current-rockchip64 xhci-hcd [ 2.218326] usb usb3: SerialNumber: xhci-hcd.1.auto [ 2.219048] hub 3-0:1.0: USB hub found [ 2.219130] hub 3-0:1.0: 1 port detected [ 2.219836] usbcore: registered new interface driver usb-storage [ 2.222714] mousedev: PS/2 mouse device common for all mice [ 2.223443] i2c_dev: i2c /dev entries driver [ 2.229358] rockchip-thermal fe710000.tsadc: Missing tshut mode property, using default (gpio) [ 2.229390] rockchip-thermal fe710000.tsadc: Missing tshut-polarity property, using default (low) [ 2.233395] sdhci: Secure Digital Host Controller Interface driver [ 2.233419] sdhci: Copyright(c) Pierre Ossman [ 2.233468] Synopsys Designware Multimedia Card Interface Driver [ 2.234545] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.237311] arm-scmi arm-scmi.2.auto: Using scmi_smc_transport [ 2.237337] arm-scmi arm-scmi.2.auto: SCMI max-rx-timeout: 30ms [ 2.237556] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 [ 2.237954] arm-scmi arm-scmi.2.auto: SCMI Notifications - Core Enabled. [ 2.238043] arm-scmi arm-scmi.2.auto: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 2.239622] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 2.239958] hid: raw HID events driver (C) Jiri Kosina [ 2.240590] usbcore: registered new interface driver usbhid [ 2.240605] usbhid: USB HID core driver [ 2.242290] rockchip-dfi fe230000.dfi: dfi initialized, dram type: 0x8, channels: 1 [ 2.244433] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 (0,8000003f) counters available [ 2.246189] NET: Registered PF_INET6 protocol family [ 2.307474] Segment Routing with IPv6 [ 2.307622] In-situ OAM (IOAM) with IPv6 [ 2.307751] NET: Registered PF_PACKET protocol family [ 2.307832] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.308191] Key type dns_resolver registered [ 2.322627] registered taskstats version 1 [ 2.323107] Loading compiled-in X.509 certificates [ 2.342427] zswap: loaded using pool zstd/zbud [ 2.342962] Demotion targets for Node 0: null [ 2.343508] Key type .fscrypt registered [ 2.343523] Key type fscrypt-provisioning registered [ 2.348171] Btrfs loaded, zoned=yes, fsverity=yes [ 2.348460] Key type encrypted registered [ 2.348484] AppArmor: AppArmor sha256 policy hashing enabled [ 2.391112] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected! [ 2.505752] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode. [ 2.505841] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller. [ 2.505859] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a [ 2.505923] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo [ 2.506096] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode. [ 2.506167] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller. [ 2.506186] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a [ 2.506263] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 65,32 bit host data width,256 deep fifo [ 2.508493] dwmmc_rockchip fe2b0000.mmc: Got CD GPIO [ 2.509670] dwmmc_rockchip fe2c0000.mmc: allocated mmc-pwrseq [ 2.509699] mmc_host mmc2: card is non-removable. [ 2.520556] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 2.524818] WCN: marlin_init entry! [ 2.525509] of_cfs_init [ 2.525576] of_cfs_init: OK [ 2.544299] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA [ 2.576559] clk: Disabling unused clocks [ 2.577449] PM: genpd: Disabling unused power domains [ 2.626663] mmc1: new HS200 MMC card at address 0001 [ 2.627719] mmcblk1: mmc1:0001 032G74 29.1 GiB [ 2.632265] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 2.633175] mmcblk1: p1 [ 2.634102] mmcblk1boot0: mmc1:0001 032G74 4.00 MiB [ 2.636494] mmcblk1boot1: mmc1:0001 032G74 4.00 MiB [ 2.638579] mmcblk1rpmb: mmc1:0001 032G74 4.00 MiB, chardev (243:0) [ 2.647995] Freeing unused kernel memory: 5248K [ 2.648340] Run /init as init process [ 2.648354] with arguments: [ 2.648364] /init [ 2.648374] with environment: [ 2.648382] HOME=/ [ 2.648391] TERM=linux [ 2.648399] splash=verbose [ 2.648407] ubootpart=981ba9e7-9a6c-4e13-8b12-c3374087ba24 [ 2.648417] cgroup_enable=memory [ 2.648426] cgroup_memory=1 [ 2.665863] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 100000000Hz, actual 50000000HZ div = 0) [ 2.840151] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 173 [ 2.843621] mmc2: new ultra high speed SDR50 SDIO card at address 390b [ 3.208313] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd [ 3.225766] usb 3-1: New USB device found, idVendor=0bda, idProduct=8156, bcdDevice=31.04 [ 3.225806] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ 3.225821] usb 3-1: Product: USB 10/100/1G/2.5G LAN [ 3.225833] usb 3-1: Manufacturer: Realtek [ 3.225844] usb 3-1: SerialNumber: 4013000001 [ 3.386799] usbcore: registered new device driver r8152-cfgselector [ 3.592883] r8152-cfgselector 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 3.720274] r8152 3-1:1.0 eth0: v1.12.13 [ 3.720479] usbcore: registered new interface driver r8152 [ 3.724881] usbcore: registered new interface driver cdc_ether [ 3.727119] usbcore: registered new interface driver cdc_ncm [ 3.814188] rockchip-vop2 fe040000.vop: Adding to iommu group 0 [ 3.830334] rockchip-drm display-subsystem: bound fe040000.vop (ops vop2_component_ops [rockchipdrm]) [ 3.837545] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) [ 3.845616] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver [ 3.846347] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm]) [ 3.847804] rk808-rtc rk808-rtc.6.auto: registered as rtc0 [ 3.849294] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 0 [ 3.849556] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 3.849713] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 3.851651] rk808-rtc rk808-rtc.6.auto: setting system clock to 2025-11-11T14:23:04 UTC (1762870984) [ 3.914828] dwmac_rk: unknown parameter 'phy_addr' ignored [ 3.916833] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found [ 3.916867] rk_gmac-dwmac fe010000.ethernet: IRQ sfty not found [ 3.926725] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input). [ 3.926762] rk_gmac-dwmac fe010000.ethernet: TX delay(0x41). [ 3.926780] rk_gmac-dwmac fe010000.ethernet: RX delay(0x2e). [ 3.926807] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no). [ 3.926882] rk_gmac-dwmac fe010000.ethernet: clock input from PHY [ 3.932126] rk_gmac-dwmac fe010000.ethernet: init for RGMII [ 3.932639] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 3.932676] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5 [ 3.932692] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported [ 3.932704] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported [ 3.932715] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported [ 3.932724] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported [ 3.932884] rk_gmac-dwmac fe010000.ethernet: TSO supported [ 3.932903] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 3.932918] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10) [ 3.932931] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled [ 3.932943] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width [ 4.004256] i2c i2c-7: Not I2C compliant: can't read SDA [ 4.004288] i2c i2c-7: Not I2C compliant: can't read SCL [ 4.004299] i2c i2c-7: Bus may be unreliable [ 4.004314] i2c-gpio i2c-aux-display: using lines 12 (SDA) and 11 (SCL, no clock stretching) [ 4.044582] r8152 3-1:1.0 enx00e04c1800a5: renamed from eth0 [ 4.258180] rk_gmac-dwmac fe010000.ethernet end0: renamed from eth0 [ 4.424695] r8152-cfgselector 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 4.540302] r8152 3-1:1.0 eth0: v1.12.13 [ 4.634763] r8152 3-1:1.0 enx00e04c1800a5: renamed from eth0 [ 4.790481] EXT4-fs (mmcblk1p1): mounted filesystem 02d6f139-439e-4f03-b522-ea8c640bdf2c ro with writeback data mode. Quota mode: none. [ 5.297007] systemd[1]: Inserted module 'autofs4' [ 5.355293] systemd[1]: systemd 257.8-1~deb13u2 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE) [ 5.355403] systemd[1]: Detected architecture arm64. [ 5.364981] systemd[1]: Hostname set to <h96-tvbox-3566>. [ 5.876905] systemd[1]: bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported. [ 5.991722] dw-apb-uart fe660000.serial: forbid DMA for kernel console [ 6.773136] systemd[1]: Queued start job for default target graphical.target. [ 6.826887] systemd[1]: Created slice system-getty.slice - Slice /system/getty. [ 6.831223] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 6.835310] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty. [ 6.838382] systemd[1]: Created slice user.slice - User and Session Slice. [ 6.839385] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch. [ 6.840277] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 6.841981] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 6.842539] systemd[1]: Expecting device dev-ttyS2.device - /dev/ttyS2... [ 6.843079] systemd[1]: Reached target paths.target - Path Units. [ 6.843532] systemd[1]: Reached target remote-fs.target - Remote File Systems. [ 6.843941] systemd[1]: Reached target slices.target - Slice Units. [ 6.844476] systemd[1]: Reached target swap.target - Swaps. [ 6.845734] systemd[1]: Listening on syslog.socket - Syslog Socket. [ 6.853290] systemd[1]: Listening on systemd-creds.socket - Credential Encryption/Decryption. [ 6.854452] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 6.855496] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 6.856831] systemd[1]: Listening on systemd-journald.socket - Journal Sockets. [ 6.858261] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket. [ 6.858829] systemd[1]: systemd-pcrextend.socket - TPM PCR Measurements was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 6.858989] systemd[1]: systemd-pcrlock.socket - Make TPM PCR Policy was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 6.859788] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 6.860809] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 6.868820] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System... [ 6.875789] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 6.883809] systemd[1]: Mounting run-lock.mount - Legacy Locks Directory /run/lock... [ 6.891566] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 6.909632] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System... [ 6.925815] systemd[1]: Starting fake-hwclock-load.service - Restore the current clock... [ 6.970432] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 6.989909] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 6.999439] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 7.016730] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 7.037942] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 7.059514] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 7.060409] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl). [ 7.060997] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67). [ 7.113475] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 7.129285] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line... [ 7.132663] systemd[1]: systemd-pcrmachine.service - TPM PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 7.133330] systemd[1]: systemd-tpm2-setup-early.service - Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 7.153188] systemd[1]: Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials... [ 7.164339] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 7.208461] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System. [ 7.209936] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 7.211358] systemd[1]: Mounted run-lock.mount - Legacy Locks Directory /run/lock. [ 7.221176] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 7.222703] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System. [ 7.228820] systemd[1]: fake-hwclock-load.service: Deactivated successfully. [ 7.246829] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock. [ 7.250903] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 7.253861] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 7.255423] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 7.270398] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 7.272244] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 7.275573] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 7.277399] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 7.280512] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 7.282574] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse. [ 7.293411] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System... [ 7.320774] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System... [ 7.321188] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root). [ 7.345629] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... [ 7.361655] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully... [ 7.373739] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules. [ 7.388633] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line. [ 7.412625] systemd[1]: Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials. [ 7.425447] systemd[1]: Reached target network-pre.target - Preparation for Network. [ 7.455126] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables... [ 7.477400] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ 7.523185] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ 7.563259] EXT4-fs (mmcblk1p1): re-mounted 02d6f139-439e-4f03-b522-ea8c640bdf2c r/w. [ 7.572446] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems. [ 7.575034] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc). [ 7.575497] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 7.586713] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed... [ 7.587098] systemd[1]: systemd-tpm2-setup.service - TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 7.619384] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully. [ 7.621241] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met. [ 7.638610] systemd[1]: Starting systemd-timesyncd.service - Network Time Synchronization... [ 7.646668] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... [ 7.651899] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout. [ 7.688863] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables. [ 7.716572] systemd[1]: Starting systemd-resolved.service - Network Name Resolution... [ 7.791053] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev. [ 7.794063] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems. [ 7.845106] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files... [ 8.169507] systemd[1]: Started systemd-timesyncd.service - Network Time Synchronization. [ 8.170957] systemd[1]: Reached target time-set.target - System Time Set. [ 8.225270] systemd[1]: Mounting tmp.mount - /tmp... [ 8.387879] systemd[1]: Mounted tmp.mount - /tmp. [ 8.389334] systemd[1]: Reached target local-fs.target - Local File Systems. [ 8.398427] systemd[1]: Listening on systemd-sysext.socket - System Extension Image Management. [ 8.406047] systemd[1]: Starting armbian-zram-config.service - Armbian ZRAM config... [ 8.421472] systemd[1]: Starting console-setup.service - Set console font and keymap... [ 8.454177] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats... [ 8.529036] systemd[1]: Started systemd-udevd.service - Rule-based Manager for Device Events and Files. [ 8.597230] systemd[1]: Starting systemd-networkd.service - Network Configuration... [ 8.673984] systemd[1]: Finished console-setup.service - Set console font and keymap. [ 8.677763] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices. [ 8.718705] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 263 (systemd-binfmt) [ 8.728692] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System... [ 8.871880] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System. [ 8.894538] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats. [ 9.541067] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9.590243] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9.591405] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 9.628819] systemd[1]: Found device dev-ttyS2.device - /dev/ttyS2. [ 9.946399] systemd[1]: Started systemd-networkd.service - Network Configuration. [ 9.972186] systemd[1]: Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd... [ 9.983471] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 10.008535] rk_gmac-dwmac fe010000.ethernet end0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL) [ 10.030686] zram: Added device: zram0 [ 10.033372] zram: Added device: zram1 [ 10.155162] zram: Added device: zram2 [ 10.158668] r8152 3-1:1.0 enx00e04c1800a5: carrier on [ 10.292232] r8152 3-1:1.0 enx00e04c1800a5: Stop submitting intr, status -108 [ 10.331582] zram0: detected capacity change from 0 to 4012512 [ 10.393579] mc: Linux media interface: v0.10 [ 10.470481] panfrost fde60000.gpu: clock rate = 594000000 [ 10.470515] panfrost fde60000.gpu: bus_clock rate = 500000000 [ 10.489544] panfrost fde60000.gpu: mali-g52 id 0x7402 major 0x1 minor 0x0 status 0x0 [ 10.489565] panfrost fde60000.gpu: features: 00000000,00000cf7, issues: 00000000,00000400 [ 10.489574] panfrost fde60000.gpu: Features: L2:0x07110206 Shader:0x00000002 Tiler:0x00000209 Mem:0x1 MMU:0x00002823 AS:0xff JS:0x7 [ 10.489582] panfrost fde60000.gpu: shader_present=0x1 l2_present=0x1 [ 10.490260] videodev: Linux video capture interface: v2.00 [ 10.577203] [drm] Initialized panfrost 1.2.0 for fde60000.gpu on minor 1 [ 10.591955] rockchip-rga fdeb0000.rga: HW Version: 0x03.02 [ 10.596084] random: crng init done [ 10.601538] rockchip-rga fdeb0000.rga: Registered rockchip-rga as /dev/video0 [ 10.618482] systemd[1]: Finished systemd-random-seed.service - Load/Save OS Random Seed. [ 10.619483] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 10.619710] systemd[1]: systemd-machine-id-commit.service - Save Transient machine-id to Disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 10.640697] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey.5.auto/input/input0 [ 10.652485] rockchip_vdec2: module is from the staging directory, the quality is unknown, you have been warned. [ 10.694123] hantro-vpu fdea0000.video-codec: Adding to iommu group 1 [ 10.696776] hantro-vpu fdea0000.video-codec: registered rockchip,rk3328-vpu-dec as /dev/video2 [ 10.714076] rk2-crypto fe380000.crypto: will run requests pump with realtime priority [ 10.714157] rk2-crypto fe380000.crypto: Registers crypto algos [ 10.714166] rk2-crypto fe380000.crypto: Register ecb(aes) as ecb-aes-rk2 [ 10.714231] rk2-crypto fe380000.crypto: Register cbc(aes) as cbc-aes-rk2 [ 10.714252] rk2-crypto fe380000.crypto: Register xts(aes) as xts-aes-rk2 [ 10.714267] rk2-crypto fe380000.crypto: Register md5 as rk2-md5 3 [ 10.714284] rk2-crypto fe380000.crypto: Register sha1 as rk2-sha1 4 [ 10.714302] rk2-crypto fe380000.crypto: Register sha256 as rk2-sha256 5 [ 10.714318] rk2-crypto fe380000.crypto: Register sha384 as rk2-sha384 6 [ 10.714333] rk2-crypto fe380000.crypto: Register sha512 as rk2-sha512 7 [ 10.714535] rk2-crypto fe380000.crypto: Register sm3 as rk2-sm3 8 [ 10.751177] Adding 2006252k swap on /dev/zram0. Priority:5 extents:1 across:2006252k SS [ 10.808239] hantro-vpu fdee0000.video-codec: Adding to iommu group 2 [ 10.810297] hantro-vpu fdee0000.video-codec: registered rockchip,rk3568-vepu-enc as /dev/video3 [ 10.810421] zram1: detected capacity change from 0 to 102400 [ 10.820225] tm16xx 7-0024: Failed to count 'tm16xx,digits' property: -22 [ 10.820248] tm16xx 7-0024: Failed to parse device tree: -22 [ 10.820259] tm16xx 7-0024: probe with driver tm16xx failed with error -22 [ 10.846289] rc_core: IR keymap rc-h96-max-v56 not found [ 10.846313] Registered IR keymap rc-empty [ 10.851168] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0 [ 10.851434] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter [ 10.855121] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input1 [ 10.926103] systemd[1]: Finished armbian-zram-config.service - Armbian ZRAM config. [ 10.936262] systemd[1]: Starting armbian-ramlog.service - Armbian memory supported logging... [ 10.954672] systemd[1]: Listening on systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 10.968325] Bluetooth: Core ver 2.22 [ 10.968448] NET: Registered PF_BLUETOOTH protocol family [ 10.968456] Bluetooth: HCI device and connection manager initialized [ 10.968474] Bluetooth: HCI socket layer initialized [ 10.968484] Bluetooth: L2CAP socket layer initialized [ 10.968503] Bluetooth: SCO socket layer initialized [ 11.012098] rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma [ 11.012123] rk_gmac-dwmac fe010000.ethernet end0: stmmac_hw_setup: DMA engine initialization failed [ 11.012131] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Hw setup failed [ 11.044607] Bluetooth: HCI UART driver ver 2.3 [ 11.044633] Bluetooth: HCI UART protocol H4 registered [ 11.044639] Bluetooth: HCI UART protocol BCSP registered [ 11.044779] Bluetooth: HCI UART protocol LL registered [ 11.044790] Bluetooth: HCI UART protocol ATH3K registered [ 11.044838] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 11.045063] Bluetooth: HCI UART protocol Intel registered [ 11.045309] Bluetooth: HCI UART protocol Broadcom registered [ 11.045367] Bluetooth: HCI UART protocol QCA registered [ 11.045374] Bluetooth: HCI UART protocol AG6XX registered [ 11.045522] Bluetooth: HCI UART protocol Marvell registered [ 11.095556] systemd[1]: Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd. [ 11.100938] systemd[1]: Started systemd-resolved.service - Network Name Resolution. [ 11.101642] systemd[1]: Reached target nss-lookup.target - Host and Network Name Lookups. [ 11.105767] EXT4-fs (zram1): mounted filesystem d6c591d9-9d4c-4557-8ea0-5f3d92af56b4 r/w without journal. Quota mode: none. [ 11.171923] systemd[1]: Starting fake-hwclock-load.service - Restore the current clock... [ 11.180756] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 11.181195] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67). [ 11.181653] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc). [ 11.182018] systemd[1]: systemd-machine-id-commit.service - Save Transient machine-id to Disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 11.182142] systemd[1]: systemd-pcrmachine.service - TPM PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 11.182577] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met. [ 11.182735] systemd[1]: systemd-tpm2-setup-early.service - Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 11.182793] systemd[1]: systemd-tpm2-setup.service - TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 11.244673] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 11.245782] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 11.247146] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 11.251701] systemd[1]: fake-hwclock-load.service: Deactivated successfully. [ 11.252756] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock. [ 11.290376] systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status... [ 11.305084] systemd[1]: Reached target bluetooth.target - Bluetooth Support. [ 11.336641] r8152-cfgselector 3-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 11.375270] systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status. [ 11.409769] systemd[1]: Finished armbian-ramlog.service - Armbian memory supported logging. [ 11.419266] systemd[1]: Starting systemd-journald.service - Journal Service... [ 11.450982] r8152 3-1:1.0 eth0: v1.12.13 [ 11.548954] systemd-journald[421]: Collecting audit messages is disabled. [ 11.554558] r8152 3-1:1.0 enx00e04c1800a5: renamed from eth0 [ 11.704869] systemd[1]: Started systemd-journald.service - Journal Service. [ 11.801857] systemd-journald[421]: Received client request to flush runtime journal. [ 11.811394] systemd-journald[421]: /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6/system.journal: Realtime clock jumped backwards relative to last journal entry, rotating. [ 11.811453] systemd-journald[421]: Rotating system journal. [ 12.560089] systemd-journald[421]: Received client request to relinquish /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6 access. [ 13.316103] Bluetooth: hci0: command 0xfc18 tx timeout [ 13.316164] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 13.316174] Bluetooth: hci0: Failed to set baudrate [ 14.381288] r8152 3-1:1.0 enx00e04c1800a5: carrier on [ 15.332133] Bluetooth: hci0: command 0xfc18 tx timeout [ 15.332199] Bluetooth: hci0: BCM: Reset failed (-110) [ 21.222972] platform spdif-sound: deferred probe pending: asoc-simple-card: parse error [ 21.223026] platform rk809-sound: deferred probe pending: asoc-simple-card: parse error [ 1238.828322] systemd-journald[421]: Received client request to flush runtime journal. [ 1238.872397] systemd-journald[421]: Received client request to relinquish /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6 access. [36038.097713] systemd-journald[421]: Received client request to flush runtime journal. [36038.152376] systemd-journald[421]: Received client request to relinquish /var/log/journal/0e22646d717c4ecf971d5dab53ffb0a6 access. Could you please tell me what's wrong with my device? It has no network adapter and no Bluetooth functionality.Thank you! -
Stuck on jammy, can't upgrade to noble
Domas replied to Domas's topic in Software, Applications, Userspace
Okay I gave up on it and done a fresh install.. Took me 5 hours to get it back up and running, to reconfig x11vnc and samba stuff. Starting a freshly baked image proved to be a nightmare - for whoever is interested I share my story; For some reason it did not detect wireless dongle for keyboard. So I could see it over hdmi but no input was possible. Did not have a wired keyboard at hand. at first run it did not became accessible over ssh. but an ip address was assigned to it by dhcp router; I could see a new ip when I'd start it up. but it would not respond to ssh requests. But serial connection saved the day. Luckily I did have a serial adapter. Created username/password and then it was accessible over ssh and I could ditch the crappy tv screen I was using Selected wrong locale on setup, was unable to get rid of it without commenting wrong locale lines in ~/.bashrc Then I spent some few hours to get vnc up and running with lightdm and crapload of other dependencies, packages. Thanks AI for assistance. When asking quality questions and sharing messages/outputs it was super useful (I dont keep anything confidential there) Manually created /home/domas/startxfve_headless.sh script, made it executable, the whole orderal Not to mention xfce was not installed by default on this debian/minimal image. It was fun one too. https://docs.armbian.com/User-Guide_Armbian-Software/Desktops/ - armbian-config --cmd XFCE01 just ran the script and nothing happened without any error Had to do it manually but I think it worked the first or second time. And the most fun one since it included multimeter and soldering iron: then it did not detect my disk over sata no matter what I do. Apparently measured 0v at hdd power connector. Not sure how I killed it. After some fiddling around I connected jst connector's for hard drive 5V power to one of gpio pins that supply 5v. HDD spins up - YAAAY. It was short-lived. Disk Still undetected. Probably usb to sata controller is not powered on since 5v regulator fried. (thanks AI for ideas) So then I jumped a wire from said gpio 5v pin to the back of what used to be 5V connector for hard drive so it both feeds the disk and backfeeds the boards 5v regulator with the needed usb to sata controller. I don't use gpio. ITS ALIVE. No, I did not believe it would work. But at this point I had nothing to lose. Sketchy? Yes. Have I ever pulled worse? Sure. Proud of myself? You bet. -
@NOBL You can select text of someones post and then a small popup appears; If you click that, a reply/edit field is provided. It also took me some time before I discovered, maybe it was a browser issue or webblocker before I don't know. Related to it, I also don't know how to create 'hidden' text files so no endless logs or so. Anyway, on the topic: I see indeed VM is only x86-64 focused and also no Linux default build-in virtualizer, only external/commercial stuff like VMware and Windows/Mac. So for nextcloud, it is worse then for HAOS as I see it now. For HAOS, there is some Aarch64 VM image hidden somewhere on github, no documentation, but it works, does update well. It is same principle as for x86-64 VM images, so for me, having used standard Linux virt-manager (libvirtd/QEMU/KVM) for several years after VirtualBox and after VMware, it was easy to get running and as HA has a good backup-restore option, you get perfectly the same In a Aarch64 VM hosted on my ROCK5B for example as something running on old Intel Atom computer (also as VM by the way). So I would consider the easy 'nextcloudpi' and ready made images gone; You have to dig deeper and do more yourself, so looking at all the lower level components like PHP versions etc that fit a certain version. That is independent of which ARM SBC. Nextcloud is high-level software, there is no dependency on HW pins or GPIO or videocodecs etc. If there are Aarch64 images, you have to look at how they are created. I see from other post that there is ncp command, so what does that do? If you stick to 'images', you will indeed have a problem. The only relevant difference between Odroid and Raspberry or other Aarch64 SBC is the bootloader and kernel. Raspberry is the worst as they also do many changes to Debian userspace which for example from bookworm to trixie ruined my networking setup, so I blocked specific things (netplan stuff) and went back to Debian versions. Also RPi5 still cannot run standard Debian. If you want standards, make sure your HW supports UEFI, same as every PC/MAC does. See https://github.com/edk2-porting/edk2-rk3588?tab=readme-ov-file#supported-platforms I have this on ROCK5B and NanoPi-R6C and it is like a PC. You have to install it yourself of course, it is not pre-installed like is the case on a PC. But after installed, it is like a PC. Both those boards I have bought with metal case/heatsink, so no fans. Faster than a RPi5 and M.2 M-key slot on-board, so can use standard Samsung NVME or so. Also, the current/edge Armbian rockchip64 kernel runs in/as a VM, which makes it super flexible for tests but also for 24/7 doing real things. I installed grub-efi and then it boots as VM (assumuing 2 partition scheme). For Odroid (Amlogic SoC) I would expect the same. If not, install linux-image-arm64 in addition and use that kernel.
-
Hi, I have a board Orange Pi Zero with modified PAs for power of WiFi module from PA20 to PA02, by soldering a connection on board. This is done to allow connection of I2C DAC. I see that board definition in 'u-boot/configs/orangepi_zero_defconfig' It uses dts definition of: 'arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts' I need to modify one section of this dts file from: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 20 GPIO_ACTIVE_HIGH>; to: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 2 GPIO_ACTIVE_HIGH>; How can I do this and use armbian build script: compile.sh Thanks, Michal
-
Hello everyone! I was struggling to make wiring work on OrangePi 5 Plus armbian. Tried everything and came up with a solution that worked for me. I was constantly getting these errors: wiringPiSetup: mmap (PWM) failed: Operation not permitted wiringPiSetup: mmap (GPIO) failed: Operation not permitted I'm on 23.8.2. 1. Install armbian and update apt sudo apt update 2. As stated in OrangePi5Plus wiki page I got .deb installer for wiringPi on OrangePi Now here's the link to this file: https://github.com/orangepi-xunlong/orangepi-build/blob/next/external/cache/debs/arm64/wiringpi_2.51.deb 3. The most important step was described here: https://github.com/Joshua-Riek/ubuntu-rockchip/issues/273 echo "BOARD=orangepi5plus" | sudo tee /etc/orangepi-release Somehow this solves the issue. No idea how these things work tbh... 4. Check if pins are detected via gpio readall or add sudo sudo gpio readall You should get a table with all the pins and numbers like this: 5. Install wiringop-python just as stated in the manual: http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_5_Plus#How_to_install_wiringOP-Python # get the dependencies sudo apt-get update sudo apt-get -y install git swig python3-dev python3-setuptools # clone wiringOP-python repo, the branch should be "next" and NOT "main" or "master" git clone --recursive https://github.com/orangepi-xunlong/wiringOP-Python -b next cd wiringOP-Python git submodule update --init --remote python3 generate-bindings.py > bindings.i sudo python3 setup.py install The wiringOP-Python should be working now.
-
Simple GPIO toggling has been a long term issue and it is clear to me that it need continued attention. I only use pin toggle on RPi1 and NanoPi-NEO, so BCM2835 and AllwinnerH3. I use generic Linux gpiod, still a bit a workaround for really proper handling, but it is OK for non-critical tasks at home. I used original WiringPi on RPi before (from Gordon), but many forks now. See also: https://forums.raspberrypi.com/viewtopic.php?t=369361 'latest' seems to be here: https://github.com/WiringPi/WiringPi?tab=readme-ov-file Note what is written under Ports w.r.t. Python. I guess Werner's guess is correct. I am not good at Python so prepared a bit for own C-code implementation, also w.r.t. high speed PWM. On AllwinnerH3 running Armbian Trixie, using the lgpio examples was easy to toggle a pin. I currently have Domoticz doing it, so also easy MQTT messaging, but it is overkill and also Domoticz build for ARMv6 is not available anymore (needed for RPi0/1), so already replaced that.
-
I know I am bringing this back from the dead but i am having issued getting wiringop-python installed. with the fallowing i was able to do a gpio readall echo "BOARD=orangepi5plus" | sudo tee /etc/orangepi-release but when i get errors from the sudo python3 setup.py install. (wiringpi_warp.c:3901:29: error: implicit declaration of function 'getGpioNum' [-Wimplicit-function-declaration]) # get the dependencies sudo apt-get update sudo apt-get -y install git swig python3-dev python3-setuptools # clone wiringOP-python repo, the branch should be "next" and NOT "main" or "master" git clone --recursive https://github.com/orangepi-xunlong/wiringOP-Python -b next cd wiringOP-Python git submodule update --init --remote python3 generate-bindings.py > bindings.i sudo python3 setup.py install is there a fix for this?
-
Step-by-step Guide to Install ILI9486 Display on Orange Pi Lite: 1.Create the overlay source file: cd /boot sudo nano spi-display-overlay.dts Paste your custom overlay configuration for SPI, DC, and reset GPIOs. 2.Compile the overlay to a binary (.dtbo) sudo dtc -@ -I dts -O dtb -o spi-display-overlay.dtbo spi-display-overlay.dts 3.Move the compiled overlay to the system overlays directory sudo cp spi-display-overlay.dtbo /boot/overlay-user/ 4.Enable the overlay in Armbian environment sudo nano /boot/armbianEnv.txt Add the line: overlays=spi-display-overlay 5. Reboot the system 6. Verify the framebuffer device is created: ls /dev/fb* Output should include /dev/fb0 7.Redirect framebuffer output to the SPI display sudo cat /dev/fb0 > /dev/fb0 It's just a test, it's a static image 8.Modify /boot/armbianEnv.txt Edit the armbianEnv file and add the following lines to ensure the framebuffer continuously updates on your display: extraargs=console=tty1 fbcon=map:0 fbcon=font:VGA8x8 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u ( 9.Troubleshoot reset GPIO if needed ) If display stays white, try another GPIO pin for reset in the overlay and recompile. Step 10: Post it on the Armbian forum and Reddit. I haven’t worked with the touch sensor yet, but it’s already 5 AM 0.o I hope this helps, and good luck!
-
Orange Pi Zero 3 ili9486 TFT LCD (WaveShare 35a)
robertoj replied to goodfvh _YT_'s topic in Allwinner sunxi
Start with this DTS and change the GPIO for your OPIZ3 https://github.com/raspberrypi/linux/blob/rpi-6.12.y/arch/arm/boot/dts/overlays/piscreen-overlay.dts Or start with your DTS and change the "compatible" line to "compatible=waveshare,rpi-lcd-35" and copy the other parameters of piscreen-overlay.dts if needed Let us know if it works -
Help! I used your overlay, but nothing works for me. Orange pi zero 3 (Armbian Linux 6.12.35-current-sunxi64) overlay: /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; cs-gpios = <&pio 7 5 0>,<&pio 2 15 0>; /*PH5=CS0 for lcd, PC15=CS1 for touch*/ display: display@0 { compatible = "ilitek,ili9341"; reg = <0>; pinctrl-names = "default"; spi-max-frequency = <20000000>; rotate = <270>; bgr = <0>; fps = <30>; buswidth = <8>; regwidth = <16>; height = <480>; width = <320>; reset-gpios = <&pio 2 14 1>; /* PC14 */ dc-gpios = <&pio 2 6 0>; /* PC6 */ debug = <3>; init = <0x10000b0 0x00 // Interface Mode Control 0x1000011 // Sleep Out 0x20000ff // Delay (255ms) 0x10000C0 0x0D 0x0D // Power Control 1 0x10000C1 0x43 // Power Control 2 0x10000C5 0x00 0x48 0x80 // VCOM Control 1 0x10000C7 0x00 // VCOM Control 2 0x1000036 0x28 // Memory Access Control (Rotacao) 0x100003A 0x55 // Pixel Format Set (16bit) 0x10000B1 0xB0 0x11 // Frame Rate Control 0x10000F0 0x01 // Enable Extended Comand Set 0x10000F6 0x00 0x01 0x32 // SPI ilInterface Control 0x1000026 0x01 // Gamma Set 0x10000E0 0x0F 0x31 0x2B 0x0C 0x0E 0x08 0x4E 0xF1 0x37 0x07 0x10 0x03 0x0E 0x09 0x00 // Positive Gamma Correction 0x10000E1 0x00 0x0E 0x14 0x03 0x11 0x07 0x31 0xC1 0x48 0x08 0x0F 0x0C 0x31 0x36 0x0F // Negative Gamma Correction 0x10000B6 0x02 0x02 0x3B // Display Function Control 0x1000011 // Sleep Out 0x20000ff // Delay (255ms) 0x1000029>; // Display ON }; ads7846: ads7846@1 { compatible = "ti,ads7846"; reg = <1>; pinctrl-names = "default"; spi-max-frequency = <1000000>; interrupt-parent = <&pio>; interrupts = <2 10 2>; /* PC10 - IRQ */ pendown-gpio = <&pio 2 10 1>; /* PC10 */ /* OPTIONS */ ti,x-min = /bits/ 16 <0>; ti,y-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <0xFFF>; ti,y-max = /bits/ 16 <0xFFF>; ti,pressure-min = /bits/ 16 <0>; ti,pressure-max = /bits/ 16 <0xFFF>; ti,x-plate-ohms = /bits/ 16 <400>; ti,swap-xy = <1>; }; }; }; }; Here's what I got in the console: root@orangepizero3:~# dmesg | grep -i "spi\|ili9486\|fb_" [ 1.496981] sun6i-spi 5010000.spi: Error applying setting, reverse things back [ 1.497500] sun6i-spi 5011000.spi: cannot register SPI host [ 1.504082] sun6i-spi 5010000.spi: Error applying setting, reverse things back [ 1.504504] sun6i-spi 5011000.spi: cannot register SPI host [ 1.512160] spi-nor spi0.0: supply vdd not found, using dummy regulator [ 6.677433] fb_ili9341: module is from the staging directory, the quality is unknown, you have been warned. [ 6.677997] fb_ili9341 spi1.0: fbtft_property_value: width = 320 [ 6.678010] fb_ili9341 spi1.0: fbtft_property_value: height = 480 [ 6.678018] fb_ili9341 spi1.0: fbtft_property_value: regwidth = 16 [ 6.678025] fb_ili9341 spi1.0: fbtft_property_value: buswidth = 8 [ 6.678033] fb_ili9341 spi1.0: fbtft_property_value: debug = 3 [ 6.678041] fb_ili9341 spi1.0: fbtft_property_value: rotate = 270 [ 6.678049] fb_ili9341 spi1.0: fbtft_property_value: fps = 30 [ 6.678234] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'reset' GPIO [ 6.678260] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'dc' GPIO [ 6.678279] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'rd' GPIO [ 6.678294] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'wr' GPIO [ 6.678310] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'cs' GPIO [ 6.678325] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'latch' GPIO [ 6.678340] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678354] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678369] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678383] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678398] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678412] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678426] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678441] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678456] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678470] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678485] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678499] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678514] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678528] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678543] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678557] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678572] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678587] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678604] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678621] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678638] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678655] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678672] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678689] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678706] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678723] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678740] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678757] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678774] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678791] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678808] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678825] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678842] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678859] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678876] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678893] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678910] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678927] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678944] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.678961] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.678978] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.678995] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.679012] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.679029] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.679046] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.679063] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'db' GPIO [ 6.679080] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'led' GPIO [ 6.679098] fb_ili9341 spi1.0: fbtft_request_one_gpio: 'aux' GPIO [ 6.701957] ads7846 spi1.1: supply vcc not found, using dummy regulator [ 6.703555] ads7846 spi1.1: touchscreen, irq 77 [ 6.704030] input: ADS7846 Touchscreen as /devices/platform/soc/5011000.spi/spi_master/spi1/spi1.1/input/input0 [ 6.801201] fb_ili9341 spi1.0: init: write_register: [ 6.801229] fb_ili9341 spi1.0: buf[0] = B0 [ 6.801238] fb_ili9341 spi1.0: buf[1] = 00 [ 6.801397] fb_ili9341 spi1.0: init: write_register: [ 6.801406] fb_ili9341 spi1.0: buf[0] = 11 [ 6.801441] fb_ili9341 spi1.0: init: msleep(255) [ 7.073196] fb_ili9341 spi1.0: init: write_register: [ 7.073241] fb_ili9341 spi1.0: buf[0] = C0 [ 7.073265] fb_ili9341 spi1.0: buf[1] = 0D [ 7.073284] fb_ili9341 spi1.0: buf[2] = 0D [ 7.073489] fb_ili9341 spi1.0: init: write_register: [ 7.073510] fb_ili9341 spi1.0: buf[0] = C1 [ 7.073530] fb_ili9341 spi1.0: buf[1] = 43 [ 7.073701] fb_ili9341 spi1.0: init: write_register: [ 7.073721] fb_ili9341 spi1.0: buf[0] = C5 [ 7.073743] fb_ili9341 spi1.0: buf[1] = 00 [ 7.073762] fb_ili9341 spi1.0: buf[2] = 48 [ 7.073781] fb_ili9341 spi1.0: buf[3] = 80 [ 7.073952] fb_ili9341 spi1.0: init: write_register: [ 7.073973] fb_ili9341 spi1.0: buf[0] = C7 [ 7.073994] fb_ili9341 spi1.0: buf[1] = 00 [ 7.074163] fb_ili9341 spi1.0: init: write_register: [ 7.074183] fb_ili9341 spi1.0: buf[0] = 36 [ 7.074203] fb_ili9341 spi1.0: buf[1] = 28 [ 7.074372] fb_ili9341 spi1.0: init: write_register: [ 7.074392] fb_ili9341 spi1.0: buf[0] = 3A [ 7.074414] fb_ili9341 spi1.0: buf[1] = 55 [ 7.074581] fb_ili9341 spi1.0: init: write_register: [ 7.074601] fb_ili9341 spi1.0: buf[0] = B1 [ 7.074622] fb_ili9341 spi1.0: buf[1] = B0 [ 7.074641] fb_ili9341 spi1.0: buf[2] = 11 [ 7.074809] fb_ili9341 spi1.0: init: write_register: [ 7.074829] fb_ili9341 spi1.0: buf[0] = F0 [ 7.074850] fb_ili9341 spi1.0: buf[1] = 01 [ 7.075018] fb_ili9341 spi1.0: init: write_register: [ 7.075038] fb_ili9341 spi1.0: buf[0] = F6 [ 7.075058] fb_ili9341 spi1.0: buf[1] = 00 [ 7.075077] fb_ili9341 spi1.0: buf[2] = 01 [ 7.075096] fb_ili9341 spi1.0: buf[3] = 32 [ 7.075264] fb_ili9341 spi1.0: init: write_register: [ 7.075285] fb_ili9341 spi1.0: buf[0] = 26 [ 7.075306] fb_ili9341 spi1.0: buf[1] = 01 [ 7.075474] fb_ili9341 spi1.0: init: write_register: [ 7.075494] fb_ili9341 spi1.0: buf[0] = E0 [ 7.075515] fb_ili9341 spi1.0: buf[1] = 0F [ 7.075534] fb_ili9341 spi1.0: buf[2] = 31 [ 7.075553] fb_ili9341 spi1.0: buf[3] = 2B [ 7.075571] fb_ili9341 spi1.0: buf[4] = 0C [ 7.075590] fb_ili9341 spi1.0: buf[5] = 0E [ 7.075609] fb_ili9341 spi1.0: buf[6] = 08 [ 7.075628] fb_ili9341 spi1.0: buf[7] = 4E [ 7.075647] fb_ili9341 spi1.0: buf[8] = F1 [ 7.075665] fb_ili9341 spi1.0: buf[9] = 37 [ 7.075684] fb_ili9341 spi1.0: buf[10] = 07 [ 7.075703] fb_ili9341 spi1.0: buf[11] = 10 [ 7.075722] fb_ili9341 spi1.0: buf[12] = 03 [ 7.075742] fb_ili9341 spi1.0: buf[13] = 0E [ 7.075761] fb_ili9341 spi1.0: buf[14] = 09 [ 7.075780] fb_ili9341 spi1.0: buf[15] = 00 [ 7.075954] fb_ili9341 spi1.0: init: write_register: [ 7.075974] fb_ili9341 spi1.0: buf[0] = E1 [ 7.075995] fb_ili9341 spi1.0: buf[1] = 00 [ 7.076014] fb_ili9341 spi1.0: buf[2] = 0E [ 7.076034] fb_ili9341 spi1.0: buf[3] = 14 [ 7.076053] fb_ili9341 spi1.0: buf[4] = 03 [ 7.076071] fb_ili9341 spi1.0: buf[5] = 11 [ 7.076090] fb_ili9341 spi1.0: buf[6] = 07 [ 7.076109] fb_ili9341 spi1.0: buf[7] = 31 [ 7.076128] fb_ili9341 spi1.0: buf[8] = C1 [ 7.076147] fb_ili9341 spi1.0: buf[9] = 48 [ 7.076165] fb_ili9341 spi1.0: buf[10] = 08 [ 7.076184] fb_ili9341 spi1.0: buf[11] = 0F [ 7.076203] fb_ili9341 spi1.0: buf[12] = 0C [ 7.076222] fb_ili9341 spi1.0: buf[13] = 31 [ 7.076241] fb_ili9341 spi1.0: buf[14] = 36 [ 7.076260] fb_ili9341 spi1.0: buf[15] = 0F [ 7.076432] fb_ili9341 spi1.0: init: write_register: [ 7.076452] fb_ili9341 spi1.0: buf[0] = B6 [ 7.076473] fb_ili9341 spi1.0: buf[1] = 02 [ 7.076493] fb_ili9341 spi1.0: buf[2] = 02 [ 7.076511] fb_ili9341 spi1.0: buf[3] = 3B [ 7.076679] fb_ili9341 spi1.0: init: write_register: [ 7.076699] fb_ili9341 spi1.0: buf[0] = 11 [ 7.076797] fb_ili9341 spi1.0: init: msleep(255) [ 7.361180] fb_ili9341 spi1.0: init: write_register: [ 7.361202] fb_ili9341 spi1.0: buf[0] = 29 [ 7.490659] fb_ili9341 spi1.0: Display update: 2321 kB/s, fps=0 [ 7.491267] graphics fb0: fb_ili9341 frame buffer, 480x320, 300 KiB video memory, 16 KiB buffer memory, fps=31, spi1.0 at 20 MHz I'm connecting exactly according to this picture:
-
TV Box Status Information Template Version 1.0 TV Box Name (example: TX3 mini): T9 CPU (example: amlogic s905w): RK3328 Armbian build file name: Armbian_community_25.11.0-trunk.367_Rk3318-box_trixie_current_6.12.54_minimal.img DTB file used: rockchip/rk3318-box.dtb Kernel Version: 6.12.56-current-rockchip64 Distribution Installed (focal, buster, etc): trixie Working Ethernet (Yes/No):Yes Max Ethernet Speed that works (100/1000): 100 Max Does wifi work (Yes/No): Yes 2/5 Does bluetooth work (Yes/No): Yes Does HDMI audio work (Yes/No): Yes - after last update , (also analog and spdif ports are available - not tested). Additional Comments (provide any additional information you feel is important): IR Receiver yes 5 Digit display working: yes MASKROM PINS for recovery flashing available on the back side. SOC RK3328 RAM 4Gx4 D9PQL VFD DRIVER FD6551 WLAN CHIP SP6330 32 GB EMMc KLMBG2JENB VT RT9045 vfd.conf rk3318-t9.dtso Log android gpio T9.txt
-
Hi I've made a new kernel Auxiliary Display Driver for TM16XX and compatible LED controllers. This driver supports various LED controller chips, including TM16XX family, FD6XX family, PT6964, and HBS658. It provides support for both I2C and SPI interfaces. I wanted it to manage the hardware on the kernel space while having an easy sysfs user space interface. It also aims to reduce the code to maintain by relaying on existing kernel features instead of recoding them. Plus, you can switch to hardware i2c/spi (instead of software gpio) depending on the pins used. You can use "vfdconf-convert" to convert your existing vfd.conf to its device-tree version. Or you can use the already converted vfd.conf of https://github.com/arthur-liberman/vfd-configurations that are listed in the device table. You don't need to manually edit your device tree, the "make" command will apply the device tree source overlay to your dtb. It comes with a service written as a simple bash script. So it's easily customizable without having to write custom C code. Instructions and source code at https://github.com/jefflessard/tm16xx-display/ Could you please give it a try and report your feedback?
-
the two tv box are quite different.The rk3318-H50 of this post is quite cheap, so are the component inside. By the way for the rk3318-H50: the PMIC is a DF1517, not an usual one. The Board has three leds (one red is power on always on the other two are both blu but I have never seen them on) and a 4 digit display plus (colon) usb, lan and wlan icons. Wifi works with the base configuration 2 and 5 ghz (although some warnings in the log). Bluetooth is recognized as well. I do not see any message related to the IR receiver. By the way it seems to be quite stable. This is the gpio list: android_tv_box_32:/ $ cat /sys/kernel/debug/gpio gpiochip0: GPIOs 0-31, parent: platform/pinctrl, gpio0: gpio-2 ( |vcc_otg_vbus ) out hi gpio-30 ( |vcc_sd ) out hi gpiochip1: GPIOs 32-63, parent: platform/pinctrl, gpio1: gpio-42 ( |bt_default_rts ) out lo gpio-50 ( |reset ) out hi gpio-53 ( |bt_default_poweron ) out hi gpio-56 ( |fd650_scl ) out hi gpio-57 ( |fd650_sda ) out hi gpio-58 ( |bt_default_wake_host) in hi gpiochip2: GPIOs 64-95, parent: platform/pinctrl, gpio2: gpio-81 ( |vcc_host_vbus ) out hi gpio-82 ( |power-led-ir ) out lo gpio-90 ( |power-led-normal ) out lo gpiochip3: GPIOs 96-127, parent: platform/pinctrl, gpio3: The T9 is an old and quite different TVBOX (cames in two flavours rk3318 and rk3328 from Sunwell) and everything is working "out of the box" - wifi, bluetooh, lan, hdmi, ir receiver. It has no leds but a 5 digit display + 6 icons but if you think it would be useful I can open it and peraphs describe it in a different post to avoid confusion. It seems to me that is more widespread as there are configuration files all around. Let me know if it is of ant interest.
-
@CyberHaZard Thanks for the feedback. Yes, the internal eMMC is untouched. You can mount these Android partitions in your file system if you want to access them. Thank you for the offer. I already have access to the Android OS, but tests are apriciated Usb3 is not fully implemented yet . It might just be a Linux configuration issue. I still need to investigate. Maybe it's also acting as a device. there could be a switch via GPIO. The front LED display uses the HT1628 chip. There's a driver available at https://github.com/venkatesh4009/TM1628_LED_Driver It's worth a try.
-
@GmP oook, so now I understand the differences between the two dtso files provided here and in the other thread. Do you spot other differences or peculiarities? Things that are useful are: * the gpio led (do the separate red/blue/green led blinks on both boards?) * wifi reset gpio (do wifi get detected in both boards with base configuration?) * is there a separate PMIC like rk805/rk808 on any of the boards? Things like these go into the dtso for full board support. The PMIC is very important since missing that could cause stability issues.
