tech4bot / r35s

40 stars 7 forks source link

Boot.ini ? #11

Closed oglok closed 4 months ago

oglok commented 4 months ago

Hi! What difference does it make to replace the dtbs if boot.ini still points to the rk3326-r35s-linux.dtb one?

Shouldn't we change that line to something like:

odroidgoa-uboot-config

########################################################################

Changes made to this are overwritten every time there's a new upgrade

To make your changes permanent change it on

boot.ini.default

After changing it on boot.ini.default run the bootini command to

rewrite this file with your personal permanent settings.

########################################################################

Boot Arguments

setenv bootargs "root=UUID='e139ce78-9841-40fe-8823-96a304a09859' rootwait rw fsck.repair=yes net.ifnames=0 fbcon=rotate:0 console=/dev/ttyFIQ0 quiet splash plymouth.ignore-serial-consoles consoleblank=0"

Booting

setenv loadaddr "0x02000000" setenv initrd_loadaddr "0x01100000" setenv dtb_loadaddr "0x01f00000"

load mmc 1:1 ${loadaddr} Image load mmc 1:1 ${initrd_loadaddr} uInitrd

load mmc 1:1 ${dtb_loadaddr} rk3326-rg351mp-linux.dtb

booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}

tech4bot commented 4 months ago

on the original OS (ArkOS 2022) which comes with the console, the name of the main dtb is rk3326-r35s-linux.dtb. on ArkOS from christianhaitian there is no R35S as is not officially supported by him. replacing the rk3326-rg351mp-linux.dtb directly on new ArkOS is the easiest way. but if you want to keep rk3326-r35s-linux.dtb, then you can modify boot.ini, but I am not sure if it will work as the dtb is hardcoded in uboot