Jump to content

[Armbian build PR] - `khadas-vim4`/`khadas-vim1s`: very early wip; `meson-s4t7`/`legacy` 5.4 Amlogic kernel


RSS Bot

Recommended Posts

khadas-vim4/khadas-vim1s: very early wip; meson-s4t7/legacy 5.4 Amlogic kernel

  • initrd: fix undeclared variable update_initramfs_cmd
  • u-boot-menu: allow skipping U_BOOT_FDT even with BOOT_FDT_FILE set, by specifying EXTLINUX_SPECIFIC_FDT=no
  • khadas-vim4/khadas-vim1s: very early wip; meson-s4t7/legacy 5.4 Amlogic kernel
    • only "boot from SD" supported right now
    • building uboot with xPack riscv-none-embed-gcc external toolchain setup in hooks
    • kvim4: very high kernel logging + systemd debug logging to console
    • kvim4/kvim1s: add uEnv.txt and ROOT_FS_LABEL="ROOTFS" and Khadas-esque extlinux
    • meson-s4t7: unify khadas-vim1s and khadas-vim4 u-boot building
    • kernel .config:
      • s4t7: original Khadas vendor config
      • s4t7: CONFIG_BINFMT_MISC=y
      • s4t7: make NFS/sunrpc stuff =y
      • s4t7: enable USB wifi drivers from Armbian network_drivers
    • firmware: at https://github.com/armbian/firmware/pull/56
    • extlinux tricks require https://github.com/armbian/build/pull/5462
    • status:
      • kvim1s: boots from SD and works as server/CLI
      • kvim4: kernel panic during systemd-udevd
  • khadas-vim4/khadas-vim1s: some fixes; VIM4/VIM4N now boots; workaround eMMC/oowow partition trouble for now
    • vim1s/vim4: remove uEnv.txt and default extlinux args, use simple arguments instead
    • meson-s4t7.conf: hack: rereadpt (re-read partition table) in initrd local-top (for eMMC boot of oowow'ed image)
    • meson-s4t7.conf: include both u-boot.bin.sd.bin.signed and u-boot.bin.signed in uboot package
    • meson-s4t7: patch kernel for different dt "model" across VIM4 and "New VIM4"
    • meson-s4t7.conf: set EXTLINUX_SPECIFIC_FDT=no, so u-boot auto-determines which DTB to use
      • don't specify DTB; this way both the "original VIM4" and the "new VIM4" can boot with the same image

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines