THIS PATCH IS NOT INTENDED TO BE MERGED and is only included to help demonstrate how the RAM boot supported binman images can be used to generate loader images with the proprietary rkbin boot_merger tool.
First use the config fragment rockchip-ramboot.config to enable building of binman images with RAM boot support, e.g.: make generic-rk3588_defconfig rockchip-ramboot.config The generated u-boot-rockchip-usb47x.bin images can then be used with the proprietary rkbin boot_merger tool to create a loader image, e.g.: $ ../rkbin/tools/boot_merger ./RK3588MINIALL.ini Finally the generated loader image can be used with tools such as rkdeveloptool or rockusb tools when a device is in maskrom mode, e.g.: $ rkdeveloptool db u-boot-rockchip-rk3588-loader.bin or $ rockusb download-boot u-boot-rockchip-rk3588-loader.bin Signed-off-by: Jonas Karlman <jo...@kwiboo.se> --- v3: New patch NOT intended to be merged --- RK3308MINIALL.ini | 22 ++++++++++++++++++++++ RK3328MINIALL.ini | 20 ++++++++++++++++++++ RK3399MINIALL.ini | 20 ++++++++++++++++++++ RK3528MINIALL.ini | 25 +++++++++++++++++++++++++ RK3566MINIALL.ini | 25 +++++++++++++++++++++++++ RK3568MINIALL.ini | 25 +++++++++++++++++++++++++ RK3576MINIALL.ini | 27 +++++++++++++++++++++++++++ RK3588MINIALL.ini | 25 +++++++++++++++++++++++++ 8 files changed, 189 insertions(+) create mode 100644 RK3308MINIALL.ini create mode 100644 RK3328MINIALL.ini create mode 100644 RK3399MINIALL.ini create mode 100644 RK3528MINIALL.ini create mode 100644 RK3566MINIALL.ini create mode 100644 RK3568MINIALL.ini create mode 100644 RK3576MINIALL.ini create mode 100644 RK3588MINIALL.ini diff --git a/RK3308MINIALL.ini b/RK3308MINIALL.ini new file mode 100644 index 000000000000..4802757418e9 --- /dev/null +++ b/RK3308MINIALL.ini @@ -0,0 +1,22 @@ +[CHIP_NAME] +NAME=RK3308 +[VERSION] +MAJOR=1 +MINOR=05 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3308-loader.bin +[FLAG] +RC4_OFF=true diff --git a/RK3328MINIALL.ini b/RK3328MINIALL.ini new file mode 100644 index 000000000000..590744f7f893 --- /dev/null +++ b/RK3328MINIALL.ini @@ -0,0 +1,20 @@ +[CHIP_NAME] +NAME=RK322H +[VERSION] +MAJOR=2 +MINOR=50 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3328-loader.bin diff --git a/RK3399MINIALL.ini b/RK3399MINIALL.ini new file mode 100644 index 000000000000..22517a7fb091 --- /dev/null +++ b/RK3399MINIALL.ini @@ -0,0 +1,20 @@ +[CHIP_NAME] +NAME=RK330C +[VERSION] +MAJOR=1 +MINOR=30 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3399-loader.bin diff --git a/RK3528MINIALL.ini b/RK3528MINIALL.ini new file mode 100644 index 000000000000..483ea8ebff5f --- /dev/null +++ b/RK3528MINIALL.ini @@ -0,0 +1,25 @@ +[CHIP_NAME] +NAME=RK3528 +[VERSION] +MAJOR=1 +MINOR=4 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3528-loader.bin +[SYSTEM] +NEWIDB=true +[FLAG] +471_RC4_OFF=true +RC4_OFF=true diff --git a/RK3566MINIALL.ini b/RK3566MINIALL.ini new file mode 100644 index 000000000000..cedf9cb69dfb --- /dev/null +++ b/RK3566MINIALL.ini @@ -0,0 +1,25 @@ +[CHIP_NAME] +NAME=RK3568 +[VERSION] +MAJOR=1 +MINOR=1 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3566-loader.bin +[SYSTEM] +NEWIDB=true +[FLAG] +471_RC4_OFF=true +RC4_OFF=true diff --git a/RK3568MINIALL.ini b/RK3568MINIALL.ini new file mode 100644 index 000000000000..d871d74b5f93 --- /dev/null +++ b/RK3568MINIALL.ini @@ -0,0 +1,25 @@ +[CHIP_NAME] +NAME=RK3568 +[VERSION] +MAJOR=1 +MINOR=1 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3568-loader.bin +[SYSTEM] +NEWIDB=true +[FLAG] +471_RC4_OFF=true +RC4_OFF=true diff --git a/RK3576MINIALL.ini b/RK3576MINIALL.ini new file mode 100644 index 000000000000..162513bb0183 --- /dev/null +++ b/RK3576MINIALL.ini @@ -0,0 +1,27 @@ +[CHIP_NAME] +NAME=RK3576 +[VERSION] +MAJOR=1 +MINOR=100 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3576-loader.bin +[SYSTEM] +NEWIDB=true +ALIGN=8 +[FLAG] +471_RC4_OFF=true +RC4_OFF=true +CRC_OFF=true diff --git a/RK3588MINIALL.ini b/RK3588MINIALL.ini new file mode 100644 index 000000000000..bbf40dbe16c3 --- /dev/null +++ b/RK3588MINIALL.ini @@ -0,0 +1,25 @@ +[CHIP_NAME] +NAME=RK3588 +[VERSION] +MAJOR=1 +MINOR=11 +[CODE471_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb471.bin +Sleep=1 +[CODE472_OPTION] +NUM=1 +Path1=u-boot-rockchip-usb472.bin +[LOADER_OPTION] +NUM=2 +LOADER1=FlashData +LOADER2=FlashBoot +FlashData=u-boot-rockchip-usb471.bin +FlashBoot=u-boot-rockchip-usb472.bin +[OUTPUT] +PATH=u-boot-rockchip-rk3588-loader.bin +[SYSTEM] +NEWIDB=true +[FLAG] +471_RC4_OFF=true +RC4_OFF=true -- 2.50.1