Sergioclr Posted 3 hours ago Author Posted 3 hours ago (edited) Activity: 1) 159-add-x96-q-lpddr3-v1.3-defconfig.patch has been tested both ways: with original parameters and with suggested (above) parameters; 2) The box boots but I am unable to set IP addresses, even in wlan0, via Armbian-config (errors reported); 3) So far the best result is from ~/build/patch/u-boot/u-boot-sunxi/board_x96q/arm64-sun50i-h313-add-x96q-lpddr3-defconfig.patch with the appropriate +CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y and secure-boot.patch. Armbian-config works as designed and IP addresses can be set. Ideas: describes a similar problem (eth0) Suggested action plan: https://github.com/armbian/build/pull/6617/files [Fix issue #6528 opi-zero2w, ethernet PHY not powered #6617] Problem: I don't know how to implement it and/or if that proposed corrections will tamper with ~/build/patch/u-boot/u-boot-sunxi/board_x96q/sunsi-add-h616-internal-eth-phy-support.patch As usual, suggestions will be welcome 🙂 Edited 3 hours ago by Sergioclr link 0 Quote
Nick A Posted 1 hour ago Posted 1 hour ago (edited) @Sergioclr You don't need patches to edit the kernel config: config/kernel/linux-sunxi64-legacy.config sicxnull already has this patch, but with a different name: drv-pwm-sun50i-h616-enhance-pwm.patch drivers-pwm-Add-pwm-sunxi-enhance-driver-for-h616.patch To add Zero2W Ethernet settings to your DTS, you can create your own patch using git commands: Run ./compile.sh Press Ctrl+C in the middle of the kernel compilation. Navigate to the directory: cd cache/sources/linux-kernel-worktree/6.6*/ Use the following commands: sudo git status sudo git add . sudo git commit -m "dummypatch" sudo pico arch/arm64/boot/dts/allwinner/sun50i-h313-x96q-lpddr3.dts sudo git add . sudo git commit -m "Fix Ethernet" sudo git format-patch -1 1 for the first commit (0001-Fix-Ethernet.patch)... 2 for the first and second commit (0002-dummypatch.patch) ) The first "add" and "commit" cleans the kernel of previous patches, leaving you with a clean, patched kernel. The format-patch command will create a patch in the root directory of the kernel. Copy it to your patch directory. For original Armbian kernel patches, you must add them to series.armbian and series.conf. Edited 1 hour ago by Nick A 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.