khadas / fenix

One-stop script set to build Ubuntu/Debian images
GNU General Public License v2.0
211 stars 135 forks source link

VIMs-add-gpiomem-support.patch broken for VIM3 since 5.16 #192

Closed mc-fu closed 5 months ago

mc-fu commented 2 years ago

Hi all,

the VIMs-add-gpiomem-support.patch is broken since version 5.16 for VIM3, as wrong registers are given in the dts file. For VIM3 this should be:

for gpiomem: reg = <0x0 0xff634000 0x0 0x1000>; and for gpiomem_ao: reg = <0x0 0xff800000 0x0 0x1000>;

Since 5.16 wrong registers 0xda834000 (gpiomem) and 0xc8100000 (gpiomem_ao) are given in the patchfile for VIM3 which results in crashing gpio readall e.g.

Best regards mc

yan-wyb commented 2 years ago

I have fix it . You can upgrade you code and build again.