Skip to content

Commit 1108b43

Browse files
committed
Adjust u-boot name for station-m2(rk3566)
1 parent 1da9936 commit 1108b43

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build-armbian/armbian-files/common-files/etc/model_database.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ r301 :Panther-X2 :rk3566 :rk3566-panther-x
240240
r302 :JP-TvBox :rk3566 :rk3566-jp-tvbox.dtb :NA :u-boot.itb :idbloader.img :8GB-LPDDR4,32G-eMMC,SATA,1Gb-Nic :stable/6.1.y :rockchip :rk3566 :armbianEnv.txt :unifreq :jp-tvbox :yes
241241
r303 :LCKFB-Taishan-Pi :rk3566 :rk3566-taishanpi-v10.dtb :NA :u-boot.itb :idbloader.img :2GB-LPDDR4,16G-eMMC,SATA,1Gb-Nic :rk35xx/6.1.y :rockchip :rk3566 :armbianEnv.txt :ccu6 :lckfb-tspi :yes
242242
r304 :WXY-OEC-turbo-4g :rk3566 :rk3566-wxy-oec-turbo-4g.dtb :NA :u-boot.itb :idbloader.img :4GB-LPDDR4,8G-eMMC,SATA,1Gb-Nic :rk35xx/6.1.y :rockchip :rk3566 :extlinux.conf :andyfanybo :wxy-oec :yes
243-
r305 :Station-M2 :rk3566 :rk3566-roc-pc.dtb :NA :NA :u-boot-rockchip.bin :2GB-LPDDR4,32G-eMMC,NVMe,TF,1Gb-Nic :stable/6.12.y :rockchip :rk3566 :armbianEnv.txt :Kwonelee :station-m2 :yes
243+
r305 :Station-M2 :rk3566 :rk3566-roc-pc.dtb :NA :NA :u-boot.bin :2GB-LPDDR4,32G-eMMC,NVMe,TF,1Gb-Nic :stable/6.12.y :rockchip :rk3566 :armbianEnv.txt :Kwonelee :station-m2 :yes
244244
#-------+--------------------------------------------+---------+---------------------------------------+-----------------------------+------------------------------------+--------------------------------+-------------------------------------------+----------------+------------+-------------+----------------+-----------------------------------------------------+--------------------+----------
245245

246246

rebuild

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,9 +726,12 @@ make_image() {
726726
dd if="${bootloader_path}/${BOOTLOADER_IMG}" of="${loop_new}" conv=fsync,notrunc bs=512 seek=64 2>/dev/null
727727
dd if="${bootloader_path}/${MAINLINE_UBOOT}" of="${loop_new}" conv=fsync,notrunc bs=512 seek=16384 2>/dev/null
728728
#echo -e "${INFO} 02. For [ ${board} ] write bootloader: ${MAINLINE_UBOOT}"
729+
elif [[ "${BOOTLOADER_IMG}" == "u-boot.bin" && -f "${bootloader_path}/${BOOTLOADER_IMG}" ]]; then
730+
dd if="${bootloader_path}/${BOOTLOADER_IMG}" of="${loop_new}" conv=fsync,notrunc seek=64 2>/dev/null
731+
#echo -e "${INFO} 03. For [ ${board} ] write bootloader: ${BOOTLOADER_IMG}"
729732
elif [[ -n "${BOOTLOADER_IMG}" && -f "${bootloader_path}/${BOOTLOADER_IMG}" ]]; then
730733
dd if="${bootloader_path}/${BOOTLOADER_IMG}" of="${loop_new}" conv=fsync,notrunc bs=512 skip=64 seek=64 2>/dev/null
731-
#echo -e "${INFO} 03. For [ ${board} ] write bootloader: ${BOOTLOADER_IMG}"
734+
#echo -e "${INFO} 04. For [ ${board} ] write bootloader: ${BOOTLOADER_IMG}"
732735
fi
733736
}
734737

0 commit comments

Comments
 (0)