ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.26k stars 2.01k forks source link

所有images的/etc/armbian-release内部分内容均一致 #2125

Closed LSP0123 closed 9 months ago

LSP0123 commented 9 months ago

N1的/etc/armbian-release内容

# PLEASE DO NOT EDIT THIS FILE
BOARD=odroidn2
BOARD_NAME="Aml.S905d"
BOARDFAMILY=meson-g12b
BUILD_REPOSITORY_URL=https://github.com/armbian/build.git
BUILD_REPOSITORY_COMMIT=6cd3981
LINUXFAMILY=meson64
ARCH=arm64
IMAGE_TYPE=rebuild
BOARD_TYPE=diy
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image
FORCE_BOOTSCRIPT_UPDATE=no
VENDOR="Armbian-unofficial"
VENDORDOCS="https://docs.armbian.com/"
VENDORURL="https://duckduckgo.com/"
VENDORSUPPORT="https://community.armbian.com/"
VENDORBUGS="https://armbian.atlassian.net/"

pantherx2

# PLEASE DO NOT EDIT THIS FILE
BOARD=odroidn2
BOARD_NAME="panther-x2"
BOARDFAMILY=meson-g12b
BUILD_REPOSITORY_URL=https://github.com/armbian/build.git
BUILD_REPOSITORY_COMMIT=6cd3981
LINUXFAMILY=meson64
ARCH=arm64
IMAGE_TYPE=rebuild
BOARD_TYPE=diy
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image
FORCE_BOOTSCRIPT_UPDATE=no
VENDOR="Armbian-unofficial"
VENDORDOCS="https://docs.armbian.com/"
VENDORURL="https://duckduckgo.com/"
VENDORSUPPORT="https://community.armbian.com/"
VENDORBUGS="https://armbian.atlassian.net/"
FORCE_BOOTSCRIPT_UPDATE="no"
BOOTSCRIPT_DST="boot.cmd"
VERSION=24.2.0-trunk
REVISION=24.2.0-trunk

相同的字段有:BOARD、BOARDFAMILY、LINUXFAMILY hold的几个包应该是因为board不一样导致的,生成的images都使用了odroidn2这个板子的,实际上应该是针对不同板子使用不同的deb

casaos@n1 ~ % apt search aml-s9xx-box           
正在排序... 完成
全文搜索... 完成  
armbian-bsp-cli-aml-s9xx-box/jammy 23.11.1 arm64
  Armbian CLI BSP for board 'aml-s9xx-box' - transitional package

armbian-bsp-cli-aml-s9xx-box-current/jammy 23.11.1 arm64
  Armbian CLI BSP for board 'aml-s9xx-box' branch 'current'

armbian-bsp-cli-aml-s9xx-box-edge/jammy 23.8.1 arm64
  Armbian CLI BSP for board 'aml-s9xx-box' branch 'edge'

armbian-bsp-desktop-aml-s9xx-box-current/jammy 23.11.1 arm64
  Armbian bsp-desktop for release jammy, common for all desktop environments on arm64 aml-s9xx-box machines on current branch

armbian-bsp-desktop-aml-s9xx-box-edge/jammy 23.8.1 arm64
  Armbian bsp-desktop for release jammy, common for all desktop environments on arm64 aml-s9xx-box machines on edge branch

linux-u-boot-aml-s9xx-box-current/jammy 23.11.1 arm64
  Das U-Boot for aml-s9xx-box

linux-u-boot-aml-s9xx-box-edge/jammy 23.8.1 arm64
  Das U-Boot for aml-s9xx-box

casaos@n1 ~ % apt search panther-x2  
正在排序... 完成
全文搜索... 完成  
armbian-bsp-cli-panther-x2/jammy 23.11.1 arm64
  Armbian CLI BSP for board 'panther-x2' - transitional package

armbian-bsp-cli-panther-x2-current/jammy 23.11.1 arm64
  Armbian CLI BSP for board 'panther-x2' branch 'current'

armbian-bsp-cli-panther-x2-edge/jammy 23.8.1 arm64
  Armbian CLI BSP for board 'panther-x2' branch 'edge'

armbian-bsp-desktop-panther-x2-current/jammy 23.11.1 arm64
  Armbian bsp-desktop for release jammy, common for all desktop environments on arm64 panther-x2 machines on current branch

armbian-bsp-desktop-panther-x2-edge/jammy 23.8.1 arm64
  Armbian bsp-desktop for release jammy, common for all desktop environments on arm64 panther-x2 machines on edge branch

linux-u-boot-panther-x2-current/jammy 23.11.1 arm64
  Das U-Boot for panther-x2

linux-u-boot-panther-x2-edge/jammy 23.8.1 arm64
  Das U-Boot for panther-x2

1470

1249

BOARDFAMILY字段应该就是控制#1249里的那个“危险的包” 按照armbian的说法,BOARDFAMILY对于每个板子应该是不一样的 RK的soc生成的images里,LINUXFAMILY应该是rockchip-rk3588/rk35xx等 在armbian里,这些参数(armbian-release里的并不是参数,而似乎是由上游配置文件生成的?)似乎会影响到images的编译生成 model_database.conf里的配置并未传递到buildimage流程里

ophub commented 9 months ago

BOARD_NAME="panther-x2"

只用到了这一个值,在重构时会更新,其他没用到的没更新

LSP0123 commented 9 months ago
rk:~:% apt search odroidn2
正在排序... 完成
全文搜索... 完成  
armbian-bsp-cli-odroidn2/jammy 23.11.1 arm64
  Armbian CLI BSP for board 'odroidn2' - transitional package

armbian-bsp-cli-odroidn2-current/now 24.2.0-trunk arm64 [已安装,本地]
  Armbian CLI BSP for board 'odroidn2' branch 'current'

但是pantherx2也安装了这个odroidn2的包,似乎实际上应该是安装armbian-bsp-cli-panther-x2-current/jammy 24.5.0-trunk.107 arm64,但是我并不知道这几个包的具体区别,应该是包含了版本号和boot分区的一些修改?

rk:~:% apt search panther-x2  
正在排序... 完成
全文搜索... 完成  
armbian-bsp-cli-panther-x2/jammy 24.5.0-trunk.107 arm64
  Armbian CLI BSP for board 'panther-x2' - transitional package

armbian-bsp-cli-panther-x2-current/jammy 24.5.0-trunk.107 arm64
  Armbian CLI BSP for board 'panther-x2' branch 'current'

armbian-bsp-cli-panther-x2-edge/jammy 24.5.0-trunk.107 arm64
  Armbian CLI BSP for board 'panther-x2' branch 'edge'

armbian-bsp-desktop-panther-x2-current/jammy 24.5.0-trunk.107 arm64
  Armbian bsp-desktop for release jammy, common for all desktop environments on arm64 panther-x2 machines on current branch

armbian-bsp-desktop-panther-x2-edge/jammy 24.5.0-trunk.107 arm64
  Armbian bsp-desktop for release jammy, common for all desktop environments on arm64 panther-x2 machines on edge branch

linux-u-boot-panther-x2-current/jammy 24.5.0-trunk.107 arm64
  Das U-Boot for panther-x2

linux-u-boot-panther-x2-edge/jammy 24.5.0-trunk.107 arm64
  Das U-Boot for panther-x2
ophub commented 9 months ago

包名不同,而且我在重构时已经删除了这个包了。 重构的盒子大部分都是上游armbian不支持的,安装可能会导致使用了错误的u-boot而变砖。 panther-x2设备上游也有,但是我不确定是否可以在我重构的系统里安装,理论上上游的u-boot是可以使用的。

LSP0123 commented 9 months ago

哦哦,那我明白了,感谢指导