maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
807 stars 133 forks source link

berryboot for ASUS Tinker Board S #572

Open sv-kov opened 5 years ago

sv-kov commented 5 years ago

Thank you very much for Your work. Compiled its own source code for Raspberry Pi 3. That is all right. I'm trying to compile the code for ASUS Tinker Board S. Using config: https://github.com/maxnet/berryboot/blob/berryboot2018/buildroot-2018.08/configs/asus_tinker_rk3288_defconfig

At the end of the build, the compiler swears at the absence: kernel and shared

Is it possible to compile berryboot for ASUS Tinker Board S ? Can there is feature of ?

maxnet commented 5 years ago

Sorry, cannot provide technical support on devices I do not have.

You would need to create a config file in this folder for your device: https://github.com/maxnet/berryboot/tree/berryboot2018/configs And then call ./rebuild-kernel.sh device_yourdevice

sv-kov commented 5 years ago

Yes, I do. But as a configuration file I use : https://github.com/maxnet/berryboot/blob/berryboot2018/buildroot-2018.08/configs/asus_tinker_rk3288_defconfig_2018

This file is suitable or you need to specify some other parameters

maxnet commented 5 years ago

You will need to copy bits and pieces of that to the "configs" folder in the root folder, and use the shell script. Do not "make" it in the buildroot folder. Also need to set BR2_LINUX_KERNEL_IMAGE_INSTALL_NAME to the file name you want the kernel to have. That must match whatever name your bootloader is expecting the kernel to be called. And need BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="../configs/kernel_config_fragment_berryboot" and the BR2_LINUX_KERNEL_EXT_AUFS* options. See the device files for other boards.

Again: I do not know if it will work. Do not have that board.

Depends on stuff like if uboot uses uEnv.txt (and NOT boot.scr) If not it will not work. (Should still compile, but when you boot Berryboot it will not be able to patch its cmdline parameters, and installation will fail)

sv-kov commented 5 years ago

Thanks for the replies. I will try.