-
Posts
289 -
Joined
Reputation Activity
-
c0rnelius got a reaction from Алексей Торопов in shutdown or reboot without sudo
This works for me. Edit it to fit the commands you want to be able to run.
sudo tee /etc/sudoers.d/010_$USER-nopasswd <<EOF ${USER} ${HOSTNAME} = (root) NOPASSWD: /sbin/shutdown ${USER} ${HOSTNAME} = (root) NOPASSWD: /sbin/poweroff ${USER} ${HOSTNAME} = (root) NOPASSWD: /sbin/reboot EOF
-
c0rnelius reacted to Janos Szigetvari in noble server and xfce fail to start up properly on RPi5
@c0rnelius I would like to report back with the news of full success:
I have updated cmdline.txt to start with:
console=tty1 console=ttyAMA0,115200 earlycon=pl011,0x107d001000,115200n8
And also added the following to config.txt:
usb_max_current_enable=1 enable_uart=1 dtparam=uart0 dtparam=uart0_console dtparam=pciex1 dtparam=pciex1_gen=3 dtoverlay=disable-wifi-pi5 dtoverlay=disable-bt-pi5
All this with the HAT+ (in the picture above) still connected.
The early boot console also works, and I also get a login prompt, which is all I wanted.
After this I tried replacing ttyAMA0 to serial0 in cmdline.txt, to see if there is any difference, but they both seemed to work in the end.
-
c0rnelius reacted to Dantes in Tor-Browser-Bundle nightlies available for arm64/aarch64
Finally there is a proper tor-browser available for arm64/aarch64:
1. Goto https://nightlies.tbb.torproject.org/nightly-builds/tor-browser-builds/
2. Navigate into: tbb-nightly.<date>/nightly-linux-aarch64/
3. Download tor-browser-linux-aarch64-tbb-nightly.<date>.tar.xz
4. Unpack with tar -Jxvf and run tor-browser/start-tor-browser.desktop
Yay!
(I'm sure you can compile it too from their github page)
-
c0rnelius got a reaction from laibsch in USB3 Port Issues on Radxa Zero 3 (Armbian vs. Vendor Builds): USB hub fails, upside-down speed bug
@twwn
Add to rk3566-radxa-zero-3.dtsi --> snps,usb2-lpm-disable;
https://github.com/armbian/build/blob/main/patch/kernel/archive/rockchip64-6.12/dt/rk3566-radxa-zero-3.dtsi#L495
&usb_host0_xhci { dr_mode = "peripheral"; + snps,usb2-lpm-disable; status = "okay"; };
See if it makes a difference.
Information:
https://www.kernel.org/doc/Documentation/devicetree/bindings/usb/dwc3.txt
-
c0rnelius got a reaction from Samor140 in BPI‑M4 Zero : how to force USB0 (Type‑C OTG) into host mode on Armbian?
Ur welcome.
-
c0rnelius got a reaction from Samor140 in BPI‑M4 Zero : how to force USB0 (Type‑C OTG) into host mode on Armbian?
Try this overlay
/dts-v1/; /plugin/; / { fragment@0 { target = <&ehci0>; __overlay__ { status = "okay"; }; }; fragment@1 { target = <&ohci0>; __overlay__ { status = "okay"; }; }; fragment@2 { target = <&usbotg>; __overlay__ { dr_mode = "host"; }; }; };
sunxi-usb-host-mode.dts
-
-
c0rnelius got a reaction from ScoreABSM in Bluetooth support missing for rev 2
@ScoreABSM
https://github.com/pyavitz/binary/releases/download/images/Armbian-unofficial_25.08.0-trunk_Bananapim4zero_trixie_current_6.12.35.img.xz
-
c0rnelius got a reaction from ScoreABSM in Bluetooth support missing for rev 2
The issue appears to be two things.
These two patches and the current defconfig(s) being used.
drv-rtc-sun6i-support-RTCs-without-external-LOSCs.patch
drv-rtc-sun6i-Add-Allwinner-H616-support.patch
When I disable those patches and use my own defconfig everything works as it should.
https://paste.armbian.com/tixixocubu
The hard part here would be figuring out exactly what in the defconfig(s) are either breaking things or missing. Also if I disable those patches, what does it break on other units? I'm under the impression these patches were rejects from the original h616 bring up in mainline. But I could be wrong?
-
c0rnelius got a reaction from laibsch in Kernel 6.12.20 Banana Pi M2 zero USB doesn't work
Tried creating an overlay and changing it to; peripheral?
/dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h2-plus", "allwinner,sun8i-h3"; fragment@0 { target = <&usb_otg>; __overlay__ { dr_mode = "peripheral"; }; }; };
-
c0rnelius got a reaction from ScoreABSM in Bluetooth support missing for rev 2
@ScoreABSM
https://github.com/armbian/build/pull/8339
-
c0rnelius got a reaction from gounthar in Is NVMe possible on the BananaPi F3?
I use a 12v 3a PSU "Barrel"
patrick@bananapif3:~$ dmesg | grep pcie [ 0.322772] k1x-dwc-pcie ca400000.pcie: has no power on gpio. [ 0.325025] k1x-dwc-pcie ca400000.pcie: host bridge /soc/pcie@ca400000 ranges: [ 0.325065] k1x-dwc-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x009f002000 [ 0.325088] k1x-dwc-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000 [ 0.425212] k1x-dwc-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 0.525297] k1x-dwc-pcie ca400000.pcie: PCIe Gen.2 x2 link up [ 0.525837] k1x-dwc-pcie ca400000.pcie: PCI host bridge to bus 0001:00 [ 0.543059] pcieport 0001:00:00.0: PME: Signaling with IRQ 65 [ 0.543510] pcieport 0001:00:00.0: AER: enabled with IRQ 65 [ 0.544202] k1x-dwc-pcie ca800000.pcie: has no power on gpio. [ 0.546446] k1x-dwc-pcie ca800000.pcie: host bridge /soc/pcie@ca800000 ranges: [ 0.546484] k1x-dwc-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x00b7002000 [ 0.546510] k1x-dwc-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000 [ 0.546525] k1x-dwc-pcie ca800000.pcie: MEM 0x00b0000000..0x00b6ffffff -> 0x00b0000000 [ 0.646655] k1x-dwc-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G [ 1.647016] k1x-dwc-pcie ca800000.pcie: Phy link never came up [ 1.647233] k1x-dwc-pcie ca800000.pcie: PCI host bridge to bus 0002:00 [ 1.654489] pcieport 0002:00:00.0: PME: Signaling with IRQ 69 [ 1.654939] pcieport 0002:00:00.0: AER: enabled with IRQ 69 patrick@bananapif3:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mmcblk2 179:0 0 14.6G 0 disk ├─mmcblk2p1 179:1 0 508M 0 part └─mmcblk2p2 179:2 0 14.1G 0 part mmcblk2boot0 179:8 0 4M 1 disk mmcblk2boot1 179:16 0 4M 1 disk zram0 250:0 0 1.9G 0 disk [SWAP] nvme0n1 259:0 0 238.5G 0 disk ├─nvme0n1p1 259:1 0 508M 0 part /boot └─nvme0n1p2 259:2 0 238G 0 part /
-
c0rnelius got a reaction from laibsch in /dev/i2c1 gone with newer kernels versions
sudo modprobe i2c-dev ?
-
c0rnelius got a reaction from Antom in Boot from USB
If the u-boot on the unit supports USB Boot, yes.
GXL:BL1:9ac50e:bb16dc;FEAT:ADFD318C:0;POC:3;RCY:0;EMMC:800;NAND:81;SD:800;USB:8;LOOP:1;EMMC:800;NAND:81;SD:800;USB:8;LOOP:2;EMMC:800;NAND:81;SD:800;USB:8;LOOP:3;EMMC:0;READ:0;0.0;CHK:0; The above looks like USB Mode. This Mode is for flashing vendor or custom imgs to the unit via USB. This is for recovery.
-
c0rnelius got a reaction from ScoreABSM in Banana Pi BPI-M4 ZERO standard support
There are big differences between the two revisions. The biggest one is, one is using Wifi/BT over USB and the other SDIO, which requires the sdio overlay. The reason for BT not working on Armbian, I have yet to figure out. Like I said before, it works on (my personal) a more minimal build;
Debian GNU/Linux trixie/sid 6.12.26 #1 Sun May 4 17:50:23 EDT 2025 aarch64 BananaPi BPI-M4-Zero v2 ── DISK Filesystem Size Used Avail Use% Mounted on /dev/mmcblk2p2 29G 2.8G 26G 10% / /dev/mmcblk2p1 466M 74M 363M 17% /boot ── NETWORK Hostname: bananapim4zero Wireless: wlan0 UP 10.0.0.XX Bluetooth: hci0 AC:6A:A3:3B:D9:D6 ── SYSTEM Processor: Cortex-A53 @ 1416MHz 52°C Frequency: 1416MHz Online: 0-3 Governor: performance Memory: 3.8G 199M Entropy: 256 Uptime: 15:13:05 up 4 min, 1 user, load average: 0.01, 0.06, 0.
It is hard for me to determine the reasons BT doesn't work, as the patching is very extensive. If it is even the patching?
And yes I include the BT node in the overlay; https://github.com/armbian/build/blob/main/patch/kernel/archive/sunxi-6.12/patches.armbian/Add-BananaPi-BPI-M4-Zero-overlays.patch#L267
As for HDMI audio and GPU, the PR I posted a link to corrects this. In future releases and rolling (give it a day) it should now work. Although I think I need to now add my changes to the 6.14.y branch? I'll check.
-
c0rnelius got a reaction from laibsch in Banana Pi BPI-M4 ZERO standard support
The GPU node needs to be enabled.
There has been adjustments made to the patching for 6.12.y and above, but I haven't messed with yet. Basically nodes need to be added for sound.
As for Bluetooth. I haven't figured out yet why it doesn't work on Armbian. In my personal builds it works fine. I believe there is some patching or service preventing it from loading. But I can't be sure.
I've put a lot of time already into the DTS to get this working on both REVS. To much time in my opinion. Anyone is welcome to do a PR and add and enable the bits if they like. Otherwise peps are just gonna have to wait till I get around to it again.
-
c0rnelius got a reaction from Yannic van Moerkerk in Wifi setup
I tested Armbian 25.2.2 Bookworm Minimal / IOT on both the REV1 and REV2. Wifi worked fine in both cases.
-
c0rnelius got a reaction from darkgeekyang in [Feature request] Enable flow offload in build
https://github.com/armbian/build/pull/7951
-
c0rnelius got a reaction from Z11ntal33r in Tons of GPT errors on boot when USB drive is connected
They were custom built.
I suspect the issue is: https://github.com/armbian/build/blob/main/patch/u-boot/v2022.10/meson64-boot-usb-nvme-scsi-first.patch
-
c0rnelius got a reaction from Z11ntal33r in Tons of GPT errors on boot when USB drive is connected
@dnwhoop02
sudo dd if=u-boot.bin of=/dev/mmcblk1 bs=512 seek=1
-
c0rnelius got a reaction from Werner in Build for rpi5b - cannot install armbian-firmware-full from customize-image.sh
The kernel checks a few places for firmware blobs. https://docs.kernel.org/driver-api/firmware/fw_search_path.html
You can also set a firmware path in cmdline. This usually isn't needed though.
firmware_class.path=/lib/firmware/updates/brcm
The kernel checks /lib/firmware/updates before /lib/firmware, allowing us to be able to test new firmware without removing the old.
-
c0rnelius got a reaction from jak in How do I Enable i2c2 on Armbian 24.11.1 Bookworm Minimal
Should be available in future kernel builds.
https://github.com/armbian/build/commit/db3fdc74117392d3d0c0ec02811c8939769fe6da
-
c0rnelius reacted to jak in How do I Enable i2c2 on Armbian 24.11.1 Bookworm Minimal
Makes sense, thanks @c0rnelius
-
c0rnelius got a reaction from Eloy Bote Falcon in Wifi setup
I'm told the bluetooth doesn't work, which is why I haven't submitted it. The patch was also done quick and dirty and I'm sure needs some clean up.
0001-arch-arm64-dts-allwinner-sun50i-h618-bananapi-m4-zero-v2.patch
-
c0rnelius got a reaction from Werner in Pinebook PRO does not boot Armbian_22.08.1_Pinebook-pro_bullseye_current_5.15.63.img
I think the problem is Pine and not Armbian here. But I understand your point of view.
