Jump to content

ALIGMSTEN

Members
  • Posts

    171
  • Joined

  • Last visited

Other groups

Contributor/Maintainer

Profile Information

  • Location
    Vermont Western Cape South Africa

Contact Methods

  • Github
    https://github.com/AGM1968

Recent Profile Visitors

2284 profile views
  1. @fever_wits raise your concerns and potential contributions here and hopefully someone like minded will have a conversation, other than that look at past support for the board, and ping their attention here...
  2. I don't know these boards at all, please take as an idea of experimentation, ordinarily you would have to look for differences in both the kernel (drivers) and dtb/dtsi (nodes), and where the opp tables are located. Best of luck!
  3. Hello all, in that context it possible to extend the opp points up to 1800 Mhz in the table. The original idea was to incorporate "turbo mode" so that the changes can be made in user space by choice. I don't know how stable that might be overall, perhaps its now time to introduce those options for h616/8 boards. EDIT: If remembered correctly the GPU tables were available as patch, recently removed, perhaps I'm wrong, haven't as of now checked.
  4. Oh well it was open source, would have liked to have had some discussions at the time to optimise though!
  5. Hello All, Good to see all the progress. I wrote and tested the dvfs code for zero2, however did not have enough time spare to optimize as would have liked. Was a bit surprised that it was also adopted by others including the Vendor. There are two ways to incorporate dvfs, the xlate method which I decided to eventually adapt, and v2 opp points. xlate is as example. v2 you can use in tri-state, which avoids the driver patching. I haven't had interest to examine the h618 soc, however am assuming that variants should be addressed as it is supposed to be h616 similar.
  6. Hello, Yes indeed all have found the same as @Gunjan Gupta. Particularly zero2 display engine, sun4i merge conflicts with megous patches were frustrating and had to work around that. Haven't been able to follow much lately, as probably already noted here, zero3 would be more attractive for today's applications. Although the soc is similar between boards, there are fundamental differences between board layouts, pmic etc wifi chip, I think. Haven't really paid much attention - so stand to be corrected .. more clarity at linux-sunxi. Guess, there would be some catches just copying over from zero2. Good luck!
  7. Hello All, hope someone is fairing better with this. No real success in trying incremental steps. Adjusting regulators does not improve the situation at this point, was also entertaining the remote possibility of a floating pin. Am still trying a few ideas when have a moment. Driver issue or because of missing node (Bluetooth not included in this iteration)? [ 7.726690] WCN_ERR: dts node for bt_wake not found [ 7.851065] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 wifi@orangepizero2:~$ dmesg --level=err,crit,alert,emerg,warn [ 0.000000] The swapaccount= commandline option is deprecated. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 0.003562] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 2.290558] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.303381] sun50i-h616-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator [ 2.308407] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 2.332685] sun6i-spi 5010000.spi: Failed to request TX DMA channel [ 2.332722] sun6i-spi 5010000.spi: Failed to request RX DMA channel [ 2.333895] spi-nor spi0.0: supply vdd not found, using dummy regulator [ 2.391118] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests [ 2.444911] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.539599] dwmac-sun8i 5020000.ethernet: supply phy-io not found, using dummy regulator [ 3.540154] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 51fe6 (expect 0) [ 5.808023] (sd-execut[164]: /usr/lib/systemd/system-generators/netplan failed with exit status 1. [ 7.497417] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. [ 7.726690] WCN_ERR: dts node for bt_wake not found [ 7.851065] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 10.061599] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned. [ 26.659450] systemd[1150]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set wifi@orangepizero2:~$ dmesg | grep mmc* [ 0.000000] Kernel command line: root=UUID=297049c4-c91b-4a71-b5cb-307c6d169e2a rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 consoleblank=0 loglevel=1 ubootpart=bd833452-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u modules_load=uwe5622_bsp_sdio,sprdbt_tty,sprdwl_ng cgroup_enable=memory swapaccount=1 [ 0.000000] The swapaccount= commandline option is deprecated. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=bd833452-01 modules_load=uwe5622_bsp_sdio,sprdbt_tty,sprdwl_ng cgroup_enable=memory", will be passed to user space. [ 0.000929] Console: colour dummy device 80x25 [ 0.061320] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.061343] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.061364] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.061385] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.678756] iommu: Default domain type: Translated [ 0.678779] iommu: DMA domain TLB invalidation policy: strict mode [ 0.817414] xor: automatically using best checksumming function 32regs [ 0.817457] Key type asymmetric registered [ 0.817466] Asymmetric key parser 'x509' registered [ 0.862546] mousedev: PS/2 mouse device common for all mice [ 2.303381] sun50i-h616-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator [ 2.333895] spi-nor spi0.0: supply vdd not found, using dummy regulator [ 2.383164] sunxi-mmc 4020000.mmc: Got CD GPIO [ 2.384697] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq [ 2.391118] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests [ 2.409349] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 2.444911] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.446835] mmc0: new high speed SDHC card at address 59b4 [ 2.448328] mmcblk0: mmc0:59b4 SD 29.6 GiB [ 2.451946] mmcblk0: p1 [ 2.617847] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 2.636734] mmc1: new high speed SDIO card at address 8800 [ 3.539599] dwmac-sun8i 5020000.ethernet: supply phy-io not found, using dummy regulator [ 4.148366] EXT4-fs (mmcblk0p1): mounted filesystem 297049c4-c91b-4a71-b5cb-307c6d169e2a ro with writeback data mode. Quota mode: none. [ 7.050867] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. [ 7.751463] EXT4-fs (mmcblk0p1): re-mounted 297049c4-c91b-4a71-b5cb-307c6d169e2a r/w. Quota mode: none. [ 9.259283] systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 16.981325] dwmac-sun8i 5020000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL) wifi@orangepizero2:~$ ali@orangepizero2:~$ lsmod Module Size Used by sunxi_cedrus 49152 0 polyval_ce 12288 0 v4l2_mem2mem 28672 1 sunxi_cedrus polyval_generic 12288 1 polyval_ce videobuf2_dma_contig 20480 1 sunxi_cedrus videobuf2_memops 16384 1 videobuf2_dma_contig videobuf2_v4l2 20480 2 sunxi_cedrus,v4l2_mem2mem lz4hc 12288 0 videodev 217088 3 sunxi_cedrus,videobuf2_v4l2,v4l2_mem2mem panfrost 69632 0 lz4 12288 0 videobuf2_common 45056 5 sunxi_cedrus,videobuf2_dma_contig,videobuf2_v4l2,v4l2_mem2mem,videobuf2_memops gpu_sched 32768 1 panfrost mc 57344 5 sunxi_cedrus,videodev,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem drm_shmem_helper 16384 1 panfrost cpufreq_dt 16384 0 zram 28672 3 binfmt_misc 20480 1 cfg80211 380928 0 sprdbt_tty 36864 0 rfkill 24576 3 sprdbt_tty,cfg80211 uwe5622_bsp_sdio 204800 1 sprdbt_tty fuse 126976 1 dm_mod 131072 0 realtek 32768 1 dwmac_sun8i 24576 0 mdio_mux 12288 1 dwmac_sun8i ali@orangepizero2:~$ could the platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 be package related?
  8. Interesting - - - ran out of time, will have a look again tomorrow. https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-6.1-sun50iw9/drivers/net/wireless/uwe5622 Orange OS uses a "-DOTT_UWE" https://github.com/orangepi-xunlong/linux-orangepi/blob/3495b5ee0594566c9fed930b96b1cae90600412e/drivers/net/wireless/uwe5622/tty-sdio/Makefile#L4C1-L4C23
  9. My initial thoughts were power issue, as alluded above, and had noted comparing orangepi-linux, mmc1 aliases present in dts. Both the dcdca (vdd-cpu) and dcdcc (vdd-sys-gpu) regulators are set higher than the manual recommends (orangpi-linux). Busy testing the above, as for the driver very much not an expert there. [ OK ] Mounted 8.953564] WCN: marlin_init entry! 1;39mdev-hugepag[ 8.958571] WCN: wcn config bt wake host es.mount - H[ 8.963450] WCN_ERR: dts node for bt_wake not found uge Pages File S[ 8.963471] WCN: marlin2 parse_dt some para not config ystem. [ 8.976028] sdiohal:sdiohal_parse_dt adma_tx:1, adma_rx:1, pwrseq:0, irq type:data, gpio_num:0, blksize:840 [ 8.976418] EXT4-fs (mmcblk0p1): re-mounted a12cf8fe-9336-471a-8617-212c48a86e16 r/w. Quota mode: none. [ 8.993748] sdiohal:sdiohal_init ok [ 9.003207] WCN: marlin_probe ok! [ 9.006066] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ OK ] Mounted dev-mqueue.mount▒▒- POSIX Message Queue File System. [ 9.035365] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ OK ] Mounted sys-kernel-debug.m…nt - Kernel Debug File System. [ 9.062017] mtty_probe init device addr: 0x(____ptrval____) [ 9.068122] -->rfkill_bluetooth_init [ 9.071173] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock. [ 9.072127] bluetooth_set_power: start_block=1 [ 9.084475] WCN: marlin power state:0, subsys: [MARLIN_BLUETOOTH] power 0 [ 9.084502] bluetooth_set_power: end_block=1 [ 9.084529] <--rfkill_bluetooth_init
  10. Right thanks, @mantouboji appreciated, checking possible issues with cpufreq and ths. will dig in a bit over weekend to help.
  11. @mantouboji could you please let me know if sun50i_cpufreq_nvmem is loading? dmesg | grep cpu*
  12. Hello all, @Gunjan Gupta thank you for your tireless work on all things Armbian. I know we had brief discussion about 'trying wifi' for zero2, the main issues before were modules not compiling. Has any device tree specific work been done for the modern kernels? (Not that I last seen). The latest WIP Sunxi PR might be the time to start testing this, I will try to set some time aside this coming weekend, when going through the PR to test. I do have other pr's in staging for zero2, but cant promise any result. Best, Alistair
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines