Jump to content

Recommended Posts

Posted
armbianmonitor -u

https://paste.next.armbian.com/hoyonuruye

 

I installed the newest fresh debian minimal image for the RockPi-S and no matter what I do overlays do not apply.

I've followed

and compiled spi1 and spi2 rk3308. I've also tested the external antenna device tree as I have installed an external antenna:

image.png.4a4d2beb12605045c4301f2bf5031e61.png

 

However neither the external antenna is being used nor spidev are present.
I have diffed

dtc -I fs -O dts /proc/device-tree

and they are identical before and after enabling the overlays in armbian-config and rebooting.

 

I was able to confirm the "overlays" work by manually copypasting their changes in linux's source dts and generating a patch file, placing it in armbian's linux patch folder and recompiling from scratch, so if I do change the options spidev works, just I somehow can only do this by editing the source.

 

Here is the `/boot/armbianEnv.txt` file generated:

verbosity=1
bootlogo=false
console=serial
overlay_prefix=rk3308
fdtfile=rockchip/rk3308-rock-pi-s.dtb
extraargs=cma=16M
rootdev=UUID=036c1484-611d-470e-b2ef-775fe550149b
rootfstype=ext4
fdt_overlays=rk3308-s0-ext-antenna rk3308-spi1-spidev rk3308-spi2-spidev
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

Also after editing the overlays in armbian-config this error pops up:

/boot/armbianEnv.txt: line 9: rk3308-spi1-spidev: command not found

 

Posted
9 hours ago, Jorropo said:
verbosity=1
bootlogo=false
console=serial
overlay_prefix=rk3308
fdtfile=rockchip/rk3308-rock-pi-s.dtb
extraargs=cma=16M
rootdev=UUID=036c1484-611d-470e-b2ef-775fe550149b
rootfstype=ext4
fdt_overlays=rk3308-s0-ext-antenna rk3308-spi1-spidev rk3308-spi2-spidev
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

Try this:

 

verbosity=1
bootlogo=false
console=serial
overlay_prefix=rk3308
fdtfile=rockchip/rk3308-rock-pi-s.dtb
extraargs=cma=16M
rootdev=UUID=036c1484-611d-470e-b2ef-775fe550149b
rootfstype=ext4
overlays=s0-ext-antenna spi1-spidev spi2-spidev
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

For once the prefix is already set and for the other IIRC it is just overlays instead of fdt_overlays. But not sure.

Overall there might be a bug in config-ng with overlays. Just need to verify that manual applying works.

Posted

Applying the overlays manually works.

I use the s0-ext-antenna and b@1.3ghz overlays frequently.

I've never done it any other way.

 

Posted
44 minutes ago, Werner said:
verbosity=1
bootlogo=false
console=serial
overlay_prefix=rk3308
fdtfile=rockchip/rk3308-rock-pi-s.dtb
extraargs=cma=16M
rootdev=UUID=036c1484-611d-470e-b2ef-775fe550149b
rootfstype=ext4
overlays=s0-ext-antenna spi1-spidev spi2-spidev
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

This does not work either.

Posted
25 minutes ago, brentr said:

Applying the overlays manually works.

I use the s0-ext-antenna and b@1.3ghz overlays frequently.

I've never done it any other way.

Have you tried it with debian minimal image or the noble CLI ?

Posted

I too am not seeing any overlays added in armbianEnv.txt whether I add them on the overlays= line or user_overlays= line.
ls /proc/device-tree is the same whether items are added or not.

Running 24.8.3 (bookworm). Can anyone confirm that overlays aren't working in case it's something I'm doing wrong?

Posted (edited)

For my ROCK3A (rockchip RK3568) using Armbian 24.11.x I enable SATA (beta 6.1.84 kernel). I need the file: /boot/dtb/rockchip/overlay/rock-3a-sata.dtbo, that exists.

 

I see in armbianEnv overlay_prefix=rk35xx, but from boot.cmd there is now an extra option without applying overlay_prefix, which is needed in my case I see. I compared with and older NanoPi-NEO (allwinner sun8i/H3), how i did it there.

 

So my statement added in armbianEnv.txt is:

 

overlays=rock-3a-sata

 

and that works.

 

 

Note that I added it with a text editor to armbianEnv.txt myself, as I needed to change paths related to booting unusual things that armbian-config doesn't know.

Edited by eselarm

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines