XFer012

  • Posts

    36
  • Joined

  • Last visited

Everything posted by XFer012

  1. I failed to enable the USB port. Let's see: 1. I decompiled the DTB of the unstable image to a DTS 2. Examining jernej's DTS and DTSI files, I found all the nodes related to USB in the original DTS; none was missing, there was a good correspondence between the decompiled DTS and jernej's DT sources 3. The USB nodes: usb@5310000 usb@5311000 usb@5311400 had status = "disabled"; and I changed them to status = "okay"; 4. I also changed the model name to model = "OrangePi Zero2 USB v1"; in order to verify it was actually loaded. 5. I rebuilt the DTB (after having saved the original one as .bak) dtc -I dts -O dtb /boot/dtb/allwinner/sun50i-h616-orangepi-zero2_USB.dts -o /boot/dtb/allwinner/sun50i-h616-orangepi-zero2.dtb 6. Rebooted 7. Checked the new DTB was loaded: cat /proc/device-tree/model OrangePi Zero2 USB v1 8. Checked the status of the edited USB nodes (under /proc/device-tree/soc): now all USB nodes have status = okay Despite that, USB port does not work: inserting a pendrive does not trigger anything, no lines on "dmesg" Maybe enabling all the USB nodes is not enough... anyway, it was an interesting task, and I learned a few new things! sun50i-h616-orangepi-zero2_USB.dts
  2. (vs. kernel messages): Thank you! Since the cpufreq driver will be sorted out later, is there a way to fix the CPU frequency to a known working value via DTB? Just to perform a few tests with a fixed, known CPU clock.
  3. I used Putty (Windows) and a CP2104 USB-to-Serial adapter, at 115200. 32 GB Sandisk Ultra card, written with Balena Etcher
  4. I decided to have a bit of fun with the Unstable (Hirsute) from April, 3rd. Kernel is Linux orangepizero2 5.11.11-sunxi64 #trunk.69 SMP Thu Apr 1 21:56:55 My board has 512 MB of RAM. I'm running headless. OK: Well, it boots! That's nice!!! Ethernet works, with DHCP Debug UART (the 3-pins one) works, at 115200 MicroSD works. Looks quite fast too (hdparm clocks at 44.5 MB/s) Load average is 0 when doing nothing!! With original custom image from OrangePi, it shows about 1.00 Not OK yet: USB port does not work (tried with pendrive): inserted device not detected at all (like if USB port is not present) Reboot does not reboot: powers off the board Armbian-config: trying to set CPU speed and governor exits with this error: /usr/lib/armbian-config/jobs.sh: line 1115: Error: Expected at least 5 tokens for --menu, have 4. Use --help to list options. / 1000: syntax error in expression (error token is ": Expected at least 5 tokens for --menu, have 4. Use --help to list options. / 1000") Unable to detect (or change) CPU frequency/governor: cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. analyzing CPU 1: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. analyzing CPU 2: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. analyzing CPU 3: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. Some dmesg entries indicate the kernel is still alpha-stage, as expected: sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pi not found, using dummy regulator dwmac-sun8i 5020000.ethernet: supply phy-io not found, using dummy regulator dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 51fe6 (expect 0) usb1-vbus: disabling vcc3v3-ext: disabling vcc3v3-ext2: disabling cldo1: disabling Summary: To me, the current Unstable image (April, 3rd) looks quite nice already. Lots of stuff work! Great work Armbian! Thanks!! Any tests I may perform, to be of any help?
  5. Could you describe the steps you followed to build your experimental image? I've found generic steps to build Armbian, but it looks like you used a different kernel and custom configuration? What about DTB? I would like to play a little with my Orange Pi Zero2, even if most of the stuff does not work yet.
  6. Pardon my newbieness, is there a tutorial I can follow, to build a working Armbian bootable image based upon jernej's kernel? Thanks
  7. I have a working OrangePI Zero2 with stock Xunlong image; but I'm a total newbie vs. Armbian, DTB, Initramfs etc. If I can help someway, just let me know (unfortunately I need step-by-step instructions or a pointer to a tutorial).