Jump to content

Werner

Administrators
  • Posts

    4463
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Werner reacted to Igor in Armbian 23.02 (Quoll) Testings   
    @Contributor/MaintainerTomorrow (Saturday 18th, we will start moving armbian-next into main). @rpardini and me will be around whole (our) day as there is some work and troubles are expected. We need to adjust and test CI and in case someone has no other plans for Saturday, welcome for assistance. Thanks.
  2. Like
    Werner reacted to KD5RKO in Build issue on RTL8821CU driver   
    That driver is built in already in the latest releases https://github.com/armbian/build/releases/ You should not have to build it. Is there an advantage to building from source instead of using what's there already? Just curious.
  3. Like
    Werner got a reaction from bi4wms in nanopi neo core boot from emmc   
    Try using code { font-family: Consolas,"courier new"; color: crimson; background-color: rgba(0, 0, 0, 0.2); padding: 2px; font-size: 105%; } armbian-install script.
  4. Like
    Werner reacted to mcerveny in Custom u-boot configuration howto?   
    I was successful to boot uBoot over SPI-FLASH and continue to boot over network (PXE+NFS), and my few comments:
    uboot (orangepi)
     - https://github.com/orangepi-xunlong/u-boot-orangepi.git (v2021.10-sunxi)
    does not support SPI-FLASH boot  upstream uboot hungs, but it has patch to support SPI boot (since v2023.01-rc1)
    - https://patchwork.ozlabs.org/project/uboot/list/?series=252044&state=*
    - https://github.com/u-boot/u-boot/commit/e50ee3a8d7328142eb24741305f751e5c0952380 so I extend 1. with 2. (attached) and rebuild uBoot flash uboot, in linux ` nandwrite /dev/mtd0 u-boot-sunxi-with-spl.bin ` (erase: ` flash_eraseall /dev/mtd0 `) install jumper between PC5 and GND (13-14 pinheader)
    ... and boot U-Boot SPL 2021.10-g0b91e222-dirty (Jan 09 2023 - 02:10:12 +0100) DRAM: 1024 MiB Trying to boot from sunxi SPI NOTICE: BL31: v2.8(debug):f4d8ed5 NOTICE: BL31: Built : 23:43:55, Jan 7 2023 NOTICE: BL31: Detected Allwinner H616 SoC (1823) NOTICE: BL31: Found U-Boot DTB at 0x4a087b80, model: OrangePi Zero2 INFO: ARM GICv2 driver initialized INFO: Configuring SPC Controller INFO: PMIC: Probing AXP305 on RSB INFO: PMIC: aldo1 voltage: 3.300V INFO: PMIC: aldo2 voltage: 3.300V INFO: PMIC: aldo3 voltage: 3.300V INFO: PMIC: bldo1 voltage: 1.800V INFO: PMIC: bldo2 voltage: 1.800V INFO: PMIC: dcdcd voltage: 1.500V INFO: PMIC: dcdce voltage: 3.300V INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: CPU workaround for 855873 was applied INFO: BL31: cortex_a53: CPU workaround for 1530924 was applied INFO: PSCI: Suspend is unavailable INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 INFO: Changed devicetree. U-Boot 2021.10-g0b91e222-dirty (Jan 09 2023 - 02:10:12 +0100) Allwinner Technology CPU: Allwinner H616 (SUN50I) Model: OrangePi Zero2 I2C: ready DRAM: 1 GiB MMC: mmc@4020000: 0 Loading Environment from SPIFlash... SF: Detected mx25l1606e with page size 256 Bytes, erase size 4 KiB, total 2 MiB OK In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: phy interface7 eth0: ethernet@5020000 Autoboot in 2 seconds, press <Space> to stop MMC: no card present ethernet@5020000 Waiting for PHY auto negotiation to complete.. done BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 2 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 4 *** Unhandled DHCP Option in OFFER/ACK: 252 *** Unhandled DHCP Option in OFFER/ACK: 2 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 4 *** Unhandled DHCP Option in OFFER/ACK: 252 DHCP client bound to address 192.168.1.242 (45 ms) *** Warning: no boot file name; using 'C0A801F2.img' Using ethernet@5020000 device TFTP from server 192.168.1.1; our IP address is 192.168.1.242 Filename 'C0A801F2.img'. Load address: 0x42000000 Loading: * TFTP error: 'Access violation' (2) Not retrying... missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/01-02-00-d2-c3-32-42 Using ethernet@5020000 device TFTP from server 192.168.1.1; our IP address is 192.168.1.242 Filename 'pxelinux.cfg/01-02-00-d2-c3-32-42'. Load address: 0x4fd00000 Loading: * TFTP error: 'Access violation' (2) Not retrying... missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0A801F2 Using ethernet@5020000 device TFTP from server 192.168.1.1; our IP address is 192.168.1.242 Filename 'pxelinux.cfg/C0A801F2'. Load address: 0x4fd00000 Loading: # 11.7 KiB/s done Bytes transferred = 126 (7e hex) Config file found 1: linux missing environment variable: bootfile Retrieving file: uInitrd Using ethernet@5020000 device TFTP from server 192.168.1.1; our IP address is 192.168.1.242 Filename 'uInitrd'. Load address: 0x4ff00000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################### 9.2 MiB/s done Bytes transferred = 15625901 (ee6ead hex) missing environment variable: bootfile Retrieving file: Image Using ethernet@5020000 device TFTP from server 192.168.1.1; our IP address is 192.168.1.242 Filename 'Image'. Load address: 0x40080000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###################### 9.8 MiB/s done Bytes transferred = 22259720 (153a808 hex) append: root=/dev/nfs nfsroot=192.168.1.1:/sunxi/ ip=dhcp rw missing environment variable: bootfile Retrieving file: dtb/allwinner/sun50i-h616-orangepi-zero2.dtb Using ethernet@5020000 device TFTP from server 192.168.1.1; our IP address is 192.168.1.242 Filename 'dtb/allwinner/sun50i-h616-orangepi-zero2.dtb'. Load address: 0x4fa00000 Loading: ### 706.1 KiB/s done Bytes transferred = 38323 (95b3 hex) Moving Image from 0x40080000 to 0x40200000, end=417a0000 ## Loading init Ramdisk from Legacy Image at 4ff00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 15625837 Bytes = 14.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 49119000, end 49fffe6d ... OK Loading Device Tree to 000000004910c000, end 00000000491185b2 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.16.17-sun50iw9 (martin@martin-v15) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #3 SMP Wed Jan 11 14:07:16 CET 2023 [ 0.000000] Machine model: OrangePi Zero2 [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x7fdca040-0x7fdcbfff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff] [ 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 0x0000000040000000-0x000000004007ffff] [ 0.000000] node 0: [mem 0x0000000040080000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] cma: Reserved 128 MiB at 0x0000000076c00000 [ 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  
    spiboot.patch
  5. Like
    Werner reacted to mcerveny in H616 mainlining effort   
    Hello.

    I see some progress in H616 (OPIZ2) support in mainline linux (now 6.2RC5 comes with USB) - https://linux-sunxi.org/Linux_mainlining_effort .
    I tried to setup/enable some other components and I am successful with upstream linux kernel 6.2RC5:
    - displayengine (drm, fb, mixer, tcon, hdmi) (seems to have some I2C/EDID problems)
    - videoengine (cedrus) (in testing now)
    - gpu (3d mali, panfrost)
    - dma, efuse, thermal ...
    but I am unsuccessful with
    - crypto (total different behavior in contrast to H616 manual)
    and untested
    - audio codecs and hdmi audio
    - opp power management (frequency + voltage) for CPU and GPU
    - SDIO wifi 

    I was also successful with uBoot (some patches from upstream uBoot) to boot sdcard-less from SPI flash and then from network PXE+NFS.

    Does anyone do some work in this direction ?
     

  6. Like
    Werner reacted to lurk101 in Armbian + EFI\grub + NVMe   
    Thanks, the critical part I'd missed is 'support for PD has been removed'. Not sure where I got the misinformation, but I thought PD negotiation was done early in the kernel, not the bootloader. Things make a lot more sense now.
  7. Like
    Werner reacted to balbes150 in Armbian + EFI\grub + NVMe   
    OK. I'll repeat it again with details. Armbian and Radxa images use essentially the same u-boot (in any case, this was the case at the time when I analyzed them). They are assembled from the same sources, so their behavior is the same. My u-boot is significantly different, it is a different source code and configuration, in which errors have been fixed and the configuration has been changed (UART is enabled, the startup order has been fixed, support for PD has been removed, etc.). Therefore, when using a power supply with PD, my version will not work. By the way, I recommend thinking about why radxa disabled the UART console in its u-boot. For the correct launch of my u-boot, you also need to completely erase the SPI, so that its "pieces" do not interfere with the correct launch of the new u-boot from the SD card. For reference, the primary loader (the first stage) is always launched in the strict order of SPI-eMMC-SD polling.
  8. Like
    Werner reacted to Efe Çetin in LIRC module on current OPI5 configuration   
    Hardware menu is not exists due to linuxfamily property. Today i'll make a pr to fix it.
  9. Like
    Werner reacted to specs in Armbian + EFI\grub + NVMe   
    I think the power supply might deserve it's own topic.
     
    Like balbes mentioned PD is meant for devices with internal battery. There it saves the battery during fast charging by preventing overcharging.
    The Rock 5B is further 'borked' since the negotiation starts after the system starts. The advantage is it can be open source (more or less), but the big disadvantage it is so slow most PD chargers stop negotiating during system start in the meantime.
     
    If you realise that the power supply in the Rock 5B (IP2315) is just a step-down converter with some logic and a PD car-adapter adds an step-up adapter to the equation you might realise it makes no sence to operate the power input at 20V. While the resistance in the cable might be minimized the power loss in the step-down and the step-up converters are maximized. Most power supplies can achieve 95% efficiency, but cheap step-up/step-down converters can only achieve that when V_in is almost equal to V_out. Normal PD-adapter should work more efficient than 12V car-adapters, but even then if they very efficiently produce 20V which the R5B very inefficiently transformes to 3.3-5V does that make sense?
     
    A 20W PD car-adapter adds roughly 0.5W to the power consumption. With a 65W/20V PD car-adapter the adapter might add more, but the step-down converter in the R5B will definitely work more inefficient than at 9V.
  10. Like
    Werner got a reaction from Myron in Slow speed withe external SSD   
    We could delete but it would be worth more if you would share your solution.
  11. Like
    Werner reacted to schwar3kat in Armbian don’t boot in orangePi r1 plus lts   
    Hi Namexx
     
    If you have anything plugged into the USB port, try it without.

    There are some home  routers that only do IPv4 some are known to cause issues if IPv6 is enabled.
    If you are on  network using IPv4 then you can try adding a line into /boot/armbianEnv.txt
    extraargs="ipv6.disable=1"

    I'm traveling at present, but when I get home, I will download an image and test on my board.  
    Which image are you using, and how are you flashing it to SD card?

    I tested the current build successfully when it was released, but it's always possible that something has gone wrong since then.

    Edit:  I was very lucky and got an earlier flight.  I should be back home about one or two hours.

    https://docs.armbian.com/User-Guide_Basic-Troubleshooting/
  12. Like
    Werner reacted to c0rnelius in Image does not want to boot on Raspi 3....   
    The boot partition is flagged ESP, which the PI3 does not support.
     
    Model: Generic MassStorageClass (scsi) Disk /dev/sdd: 32.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 273MB 268MB primary fat32 esp 2 273MB 4106MB 3834MB primary ext4  
    Removing the ESP flag from the boot partition should allow the image to boot on both the RPi3 and RPi4. This can be easily done using gparted.
     
    if you are comfortable using the command line:
    sudo parted /dev/XXX set 1 esp off   
  13. Like
    Werner got a reaction from stroess in Analyzing crashes   
    Serial console is still best chance to get at least something. Make sure to change verbosity to 7 in /boot/armbianEnv.txt and reboot before attempting this again.
  14. Like
    Werner reacted to atone in Armbian MXQ PRO 4K s905...no work!   
    WordPad is even worse. Use only Notepad++ or follow @SteeMan's advise (don't allow the sd card to touch a windows machine).
  15. Like
    Werner got a reaction from gounthar in NanoPi R5S Armbian Image   
    If you follow that way you could rip kernel package as well. That way the first working images for OPi Zero 2 were made. However Armbian does not want or like to do that since then you could basically directly use vendor provided images.https://docs.armbian.com/User-Guide_FAQ/#why-does-hardware-feature-xy-work-in-old-kernel-but-not-in-more-recent-one
     
    At the bottom line it all depends on the development for the SoC or family which in this case is rk35xx. If that grows adding support for different boards that are built around that SoC is easy in comparison but that also depends on having a person that knows how to do that and want to donate their precious time doing so. Both aren't easy to find .
     
  16. Like
    Werner got a reaction from gounthar in NanoPi R5S Armbian Image   
    Once somebody starts dealing with this hardware. No ETA though
     
  17. Like
    Werner got a reaction from gounthar in OrangePi Zero2 - Allwinner H616   
    Nobody wants to wait but also very few of those are a willing to do something to decrease waiting time. One year was a rough estimation. Mainline development of arm platform is very slow in comparison to x86.
    For example it took several years to bring RK3399 SoC to a well matured state and still not all functions are well supported yet. Now think about how long it might take for a mid-grade SoC like H616
  18. Like
    Werner reacted to Igor in Banana Pi M5: The last images don't boot anymore from SD card   
    Bulk is recommended 😎
     

     
  19. Like
    Werner reacted to jeanrhum in Initial support for Bananapi M2S   
    Hi,
     
    This is my first try to add a board to armbian build system.
    I got a BPI M2S since several months, but only had time recently to investigate on this promising SBC.
    I made a PR here, if somebody wants to try it: https://github.com/armbian/build/pull/4597
    The main improvements are to be done for the dts file, since I'm not an expert about such file definition. Only 1 ethernet of the Gbit ports is working, since I copy the config from vim3 that share the same hardware for it.
    I didn't try to customize u-boot and I use the one for radxa zero2 that works to launch armbian on the board.
    armbianmonitor -u is here: https://paste.armbian.com/piyuqajeye
     
  20. Like
    Werner got a reaction from Green_Penguin in Confused when trying to select first piece of Armbian hardware? (Primary use case pi-hole)   
    PCIe is fully broken by design on H6 SoC. There were some community efforts (mainly by Icenowy) to wrote some hacks that "translate" the broken part into usable data but not sure how successful that was. In conclusion if you want to rely on PCIe avoid Allwinner H6.
     
    Also I strongly recommend avoiding tvboxes. For once they are not officially supported (and most likely never will) and for the other these things are sold as cheap as possible and vendors tell you everything that is necessary (including lies like claiming H6 tvbox has 4G of memory which is technically impossible) to make you buy their crap. Also there is a chance that even tough buying the same product as somebody else that internal components change without telling you and breaking potential ways to install Armbian. Solving such issues is up to you. Check https://docs.armbian.com/User-Guide_FAQ/#i-have-a-tv-boxtablet-from-insert-random-vendor-can-i-use-armbian-on-it
     
    I personally have a pihole running for years on an Orange Pi One. Yes, that low budged Allwinner H3 with 512M of memory. It is way enough for that purpose. Orange Pi Zero (the older one with H2+ SoC) could do the same with smaller package but no HDMI (who needs monitor anyways when you have SSH). Its onboard Wi-Fi is crap though so don't rely on it.
  21. Like
    Werner got a reaction from VN-HCM_dung in backing up armbian from device with EMMC 32gb to device with EMMC 16gb   
    moved to tvboxes
  22. Like
    Werner got a reaction from atone in Quicklink to Banana Pi M5 is missing under "Amlogic meson" forum category   
    fixed. Thanks
  23. Like
    Werner reacted to Myron in Can't update the armbian on banana pi m5   
    @cryk_ Provide diagnostic logs with ...
    armbianmonitor -u ... and post the link here.  It'll may help others determine what the issue is.
     
    The diagnostic logs might reveal why your file system is read-only and not read-write.
  24. Like
    Werner reacted to going in Interactive image customization via shell   
    This opportunity is necessary for professionals.
    I have almost implemented such an opportunity to build and develop packages in a chroot environment.
    And this remains only in my local branch for now.
     
    First, we need to make a small adjustment in the logic of choosing goals.
  25. Like
    Werner got a reaction from freezr in Which are the differences between Bullseye CLI and Minimal?   
    Standard comes with all standard tool to be ready to do most common tasks oob.
    Minimal comes, as the name implies, with a bare minimum of packages to get a somehow running system.
    You can check the build repository on github for package lists.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines