Update home authored by Jerome Brunet's avatar Jerome Brunet
...@@ -3,12 +3,11 @@ ...@@ -3,12 +3,11 @@
## Ready to flash Bootloaders: ## Ready to flash Bootloaders:
If you don't want to build anything and you are just after some binaries you can flash, you can use: If you don't want to build anything and you are just after some binaries you can flash, you can use:
* S905D2 - U200 : * S905D2 - U200 : [u200-emmc-uboot.bin](uploads/b55c58d0ed78f4206e6b1acb8667d30e/u200-emmc-uboot.bin)
* S905X2 - SEI510 (Franklin) : * S905X2 - SEI510 (Franklin) :
* S905D2 - X96 : * S905D2 - X96 :
To make the initial flash, you may side load the bootloader using amlogic `update` tool: To make the initial flash, you may side load the bootloader using amlogic `update` tool: https://drive.google.com/open?id=1ML3Np6Qvxx-x6hap4PEHJUt6OYNwKnKi
<insert_url_here_to-flash_update>
Then put the board in USB boot mode: Then put the board in USB boot mode:
* Plug the USB cable in the appropriate port and in your computer * Plug the USB cable in the appropriate port and in your computer
...@@ -50,7 +49,7 @@ make ...@@ -50,7 +49,7 @@ make
### The easy way - pre-packaged binaries: ### The easy way - pre-packaged binaries:
The easiest way is to use the binaries we already packaged: The easiest way is to use the binaries we already packaged:
* S905D2 - U200 : * S905D2 - U200 : [fip-collect-g12a-g12a_u200_v1-20190110-184413.tar.xz](uploads/aaa5fa102c30bb3b0ec2d3dd1a563eca/fip-collect-g12a-g12a_u200_v1-20190110-184413.tar.xz)
* S905X2 - SEI510 (Franklin) : * S905X2 - SEI510 (Franklin) :
* S905D2 - X96 : * S905D2 - X96 :
...@@ -73,18 +72,19 @@ make ...@@ -73,18 +72,19 @@ make
* Finally, collect the binaries: * Finally, collect the binaries:
``` ```
mkdir collect-dir mkdir collect-dir
cp ${BRDIR}/bootloader/uboot-repo/build/scp_task/bl301.bin $TMP/ for bin in "bl2.bin acs.bin bl30.bin bl301.bin bl31.img"
cp ${BRDIR}/bootloader/uboot-repo/build/board/amlogic/${BOARDCFG}/firmware/bl21.bin $TMP/ do
cp ${BRDIR}/bootloader/uboot-repo/build/board/amlogic/${BOARDCFG}/firmware/acs.bin $TMP/ cp ${BRDIR}/bootloader/uboot-repo/fip/build/${bin} collect-dir
cp ${BRDIR}/bootloader/uboot-repo/fip/${SOCFAMILY}/aml_encrypt_${SOCFAMILY} $TMP/aml_encrypt done
cp ${BRDIR}/bootloader/uboot-repo/fip/acs_tool.pyc $TMP
cp ${BRDIR}/bootloader/uboot-repo/bl2/bin/${SOCFAMILY}/bl2.bin $TMP/ for bin in "ddr4_1d.fw ddr4_2d.fw ddr3_1d.fw piei.fw lpddr4_1d.fw lpddr4_2d.fw diag_lpddr4.fw"
cp ${BRDIR}/bootloader/uboot-repo/bl30/bin/${SOCFAMILY}/bl30.bin $TMP/ do
cp ${BRDIR}/bootloader/uboot-repo/fip/g12a/${bin} collect-dir
done
``` ```
OR you can use this script [collect-aml-binaries-new.sh](uploads/afa7f471af14fad11783bf77f2c3a968/collect-aml-binaries-new.sh) which will do it for you OR you can use this script [collect-aml-binaries-new.sh](uploads/afa7f471af14fad11783bf77f2c3a968/collect-aml-binaries-new.sh) which will do it for you
``` ```
./collect-aml-binaries.sh <buildroot dir> <vendor-u-boot-path> gxl libretech-cc ./collect-aml-binaries-new.sh <buildroot dir> g12a g12a_u200_v1
``` ```
## Package the Binaries ## Package the Binaries
... ...
......