docs: Make each board page aware of the dtb name

This commit is contained in:
Johan Gunnarsson 2019-04-23 18:13:00 +02:00
parent b9ceb6a4e8
commit f62627505e
8 changed files with 11 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# Raspberry Pi boards
raspberrypi_2b,Raspberry Pi 2 B,Raspberry Pi Foundation,bcm2836,rpi_2_defconfig,arm-linux-gnueabihf,rpi
raspberrypi_3b,Raspberry Pi 3 B,Raspberry Pi Foundation,bcm2837,rpi_3_defconfig,aarch64-linux-gnu,rpi
raspberrypi_2b,Raspberry Pi 2 B,Raspberry Pi Foundation,bcm2836,rpi_2_defconfig,arm-linux-gnueabihf,rpi,bcm2836-rpi-2-b
raspberrypi_3b,Raspberry Pi 3 B,Raspberry Pi Foundation,bcm2837,rpi_3_defconfig,aarch64-linux-gnu,rpi,bcm2837-rpi-3-b
# Allwinner A20 (sun7i) boards
bananapi_m1,Banana Pi M1,Sinovoip,sun7i,Bananapi_defconfig,arm-linux-gnueabihf,sunxi
bananapi_m1,Banana Pi M1,Sinovoip,sun7i,Bananapi_defconfig,arm-linux-gnueabihf,sunxi,sun7i-a20-bananapi
# Allwinner A31/A31s (sun6i) boards
bananapi_m2,Banana Pi M2,Sinovoip,sun6i,Sinovoip_BPI_M2_defconfig,arm-linux-gnueabihf,sunxi
bananapi_m2,Banana Pi M2,Sinovoip,sun6i,Sinovoip_BPI_M2_defconfig,arm-linux-gnueabihf,sunxi,sun6i-a31s-sinovoip-bpi-m2

1 # Raspberry Pi boards
2 raspberrypi_2b,Raspberry Pi 2 B,Raspberry Pi Foundation,bcm2836,rpi_2_defconfig,arm-linux-gnueabihf,rpi raspberrypi_2b,Raspberry Pi 2 B,Raspberry Pi Foundation,bcm2836,rpi_2_defconfig,arm-linux-gnueabihf,rpi,bcm2836-rpi-2-b
3 raspberrypi_3b,Raspberry Pi 3 B,Raspberry Pi Foundation,bcm2837,rpi_3_defconfig,aarch64-linux-gnu,rpi raspberrypi_3b,Raspberry Pi 3 B,Raspberry Pi Foundation,bcm2837,rpi_3_defconfig,aarch64-linux-gnu,rpi,bcm2837-rpi-3-b
4 # Allwinner A20 (sun7i) boards
5 bananapi_m1,Banana Pi M1,Sinovoip,sun7i,Bananapi_defconfig,arm-linux-gnueabihf,sunxi bananapi_m1,Banana Pi M1,Sinovoip,sun7i,Bananapi_defconfig,arm-linux-gnueabihf,sunxi,sun7i-a20-bananapi
6 # Allwinner A31/A31s (sun6i) boards
7 bananapi_m2,Banana Pi M2,Sinovoip,sun6i,Sinovoip_BPI_M2_defconfig,arm-linux-gnueabihf,sunxi bananapi_m2,Banana Pi M2,Sinovoip,sun6i,Sinovoip_BPI_M2_defconfig,arm-linux-gnueabihf,sunxi,sun6i-a31s-sinovoip-bpi-m2
8
9

View File

@ -2,6 +2,7 @@
layout: board
title: SD card images - Banana Pi M1
board_id: bananapi_m1
board_dtb_name: sun7i-a20-bananapi
board_name: Banana Pi M1
board_maker_name: Sinovoip
board_soc_name: Allwinner A20 (sun7i)

View File

@ -2,6 +2,7 @@
layout: board
title: SD card images - Banana Pi M2
board_id: bananapi_m2
board_dtb_name: sun6i-a31s-sinovoip-bpi-m2
board_name: Banana Pi M2
board_maker_name: Sinovoip
board_soc_name: Allwinner A31 (sun6i)

View File

@ -2,6 +2,7 @@
layout: board
title: SD card images - Raspberry Pi 2 B
board_id: raspberrypi_2b
board_dtb_name: bcm2836-rpi-2-b
board_name: Raspberry Pi 2 B
board_maker_name: Raspberry Pi Foundation
board_soc_name: Broadcom BCM2836 (bcm2836)

View File

@ -2,6 +2,7 @@
layout: board
title: SD card images - Raspberry Pi 3 B
board_id: raspberrypi_3b
board_dtb_name: bcm2837-rpi-3-b
board_name: Raspberry Pi 3 B
board_maker_name: Raspberry Pi Foundation
board_soc_name: Broadcom BCM2837 (bcm2837)

View File

@ -10,7 +10,7 @@ mkdir -p /tmp/debimg/artifacts || exit
mkdir -p /tmp/debimg/git-cache || exit
IFS=,
grep -vE "^#|^\s*$" boards.csv | while read BOARD_ID MODEL MAKE CHIP DEFCONFIG TUPLE TYPE
grep -vE "^#|^\s*$" boards.csv | while read BOARD_ID MODEL MAKE CHIP DEFCONFIG TUPLE TYPE DTB _
do
docker run --rm \
-v "${ARTIFACTS_DIR}":/artifacts \

View File

@ -8,7 +8,7 @@ docker build -t debimg .
mkdir -p /tmp/debimg/artifacts || exit
IFS=,
grep -vE "^#|^\s*$" debians.csv | while read DIST ARCH
grep -vE "^#|^\s*$" debians.csv | while read DIST ARCH _
do
docker run --rm \
-v "${ARTIFACTS_DIR}":/artifacts \

View File

@ -27,6 +27,7 @@ with open("boards.csv") as csvfile:
boardf.write("layout: board\n")
boardf.write("title: SD card images - %s\n" % (row[1]))
boardf.write("board_id: %s\n" % (row[0]))
boardf.write("board_dtb_name: %s\n" % (row[7]))
boardf.write("board_name: %s\n" % (row[1]))
boardf.write("board_maker_name: %s\n" % (row[2]))
boardf.write("board_soc_name: %s %s (%s)\n" % (chips[row[3]][2],