Jump to content

Recommended Posts

Posted

Hi,

i own a Libre Computer Le Potato (AML-S905X-CC) board and i would like to compile my own customized kernel to try patches for bug fixing and experimenting unstable "features", like lima driver.

The problem is that i currently use this board as daily driver and i would like the possibility to have a backup kernel (a stable one) in case something goes wrong.

So the question is: it is possible to have multiple installed kernel and decide which one boot (like GRUB behaviour) using the uboot bootloader?

If it is impossible, i'm sorry for the stupid question. I don't know how exactly the boot sequence works, from a low level point of view.

Thanks a lot for the attention and the dedicated time.

Posted

not sure how you'd manage the .debs for it.. but as u-boot... its just pointing to a symlinks to the different active versions.. so you can just modify symlinks

 

lane@cranbone:/boot$ ls -l
total 37442
-rw-r--r-- 1 root root      166 Feb 19 14:13 armbianEnv.txt
-rw-r--r-- 1 root bin         0 Nov 20  2018 armbianEnv.txt.out
-rw-r--r-- 1 root root     1536 Nov 18  2018 armbian_first_run.txt.template
-rw-r--r-- 1 root root   230454 Nov 18  2018 boot.bmp
-rw-r--r-- 1 root root     2970 Nov 18  2018 boot.cmd
-rw-r--r-- 1 root root     4882 Nov 18  2018 boot-desktop.png
-rw-rw-r-- 1 root root     3042 Nov 18  2018 boot.scr
-rw-r--r-- 1 root root   168792 Dec 22 09:31 config-5.4.6-sunxi64
lrwxrwxrwx 1 root root       17 Dec 28 17:27 dtb -> dtb-5.4.6-sunxi64
drwxr-xr-x 2 root root     1024 Dec 28 17:06 dtb-5.3.9-sunxi64
drwxr-xr-x 3 root root     1024 Dec 28 17:06 dtb-5.4.6-sunxi64
lrwxrwxrwx 1 root root       17 Nov 23 19:03 dtb.old -> dtb-5.3.9-sunxi64
lrwxrwxrwx 1 root root       21 Dec 28 17:27 Image -> vmlinuz-5.4.6-sunxi64
-rw-r--r-- 1 root root  9418877 Feb 19 14:00 initrd.img-5.4.6-sunxi64
drwx------ 2 root root    12288 Nov 18  2018 lost+found
-rw-r--r-- 1 root root  3381515 Dec 22 09:31 System.map-5.4.6-sunxi64
lrwxrwxrwx 1 root root       21 Feb 19 14:01 uInitrd -> uInitrd-5.4.6-sunxi64
-rw-r--r-- 1 root root  9418941 Feb 19 14:01 uInitrd-5.4.6-sunxi64
-rwxr-xr-x 1 root root 15685640 Dec 22 09:31 vmlinuz-5.4.6-sunxi64

 

Posted
  On 2/21/2020 at 4:18 PM, UniformBuffer said:

Hi,

i own a Libre Computer Le Potato (AML-S905X-CC) board and i would like to compile my own customized kernel to try patches for bug fixing and experimenting unstable "features", like lima driver.

Expand  

 

We just pushed a few updates. you may want to download the latest lepotato image we posted today.

 

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines