aboutsummaryrefslogtreecommitdiff
path: root/build-target-bins.sh
AgeCommit message (Collapse)Author
2015-07-01Add zImage supportRyan Harkin
TC2 uses a zImage (or uImage made from a zImage) so this patch adds support for building a zImage instead of a straight Image. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-30build-target-bins.sh: add 32-bit supportRyan Harkin
The DTB file location was hard coded for arm64 and ARM-TF was mandatory, whereas it doesn't run on 32-bit systems. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-25Cope with missing DTB fileRyan Harkin
When the DTB file specified by the variant was missing, the script failed completely. However, whilst this is a problem, it should be reported and then continue, allowing the user to build and test other platforms. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-22build-target-bins.sh: copy correct ramdisk for OERyan Harkin
OE was copying the uInitrd for both uboot and uefi variants. Now it checks which one it is building and copies the correct one. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-22build-target-bins.sh: fix append_chosen_nodeRyan Harkin
The chosen node code hasn't been used before now, but adding FVP support shows that it didn't work before. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-09Add busybox buildRyan Harkin
Added the files needed to create a busybox Juno variant. The user can now invoke the scripts thus: ./build-scripts/build-all.sh juno-busybox ./build-scripts/build-all.sh juno-busybox package The output directory will have a juno-busybox dir with both uboot and uefi variants inside. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22Clean up output directory after packagingRyan Harkin
Various unwanted files are left in the output directory after the packaging stage and this patch removes them when packaging is complete. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22expoect Android ramdisk.img to live in TOP_DIRRyan Harkin
Before packaging, the user should copy the Android ramdisk.img file into the TOP_DIR of their workspace, eg: cd <workspace> wget https://releases.linaro.org/15.04/android/lcr/armv8-android-juno-lsk/ramdisk.img Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22populate uboot and uefi with different ramdisksRyan Harkin
U-boot requires a uInitrd and UEFI only needs a pure ramdisk.img, eg, like the one that ships in Linaro Android images. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22package kernel into variant output dirRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22use LINUX_PATH variable, not hardcoded linuxRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22add populate_variant functionRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22Copy bl1.bin into each variant directoryRyan Harkin
Each variant, such as juno-oe-uboot or juno-oe-uefi needs a copy of bl1.bin. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22output fip.bin into uboot and uefi directoriesRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22output FIP into a variant directoryRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22target-bins: remove duplication of directories and filenamesRyan Harkin
Remove some minor duplication from the FIP's packaging step. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22Create ramdisks before other variant filesRyan Harkin
The ramdisk is used by the variant, but the ramdisk doesn't need the variant output so move the ramdisk code to before the variant code. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18rename scp-ram.bin to bl30.binRyan Harkin
The build is looking for a file called scp-ram.bin which is the output of an SCP build from source. However, Juno platforms releases via ARMLT only have access to bl30.bin from the board recovery image. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18Initialise repo with the prototype build scriptsJames King
These scripts are a first pass at creating the build scripts from the internal ARM repo. Signed-off-by: James King <james.king@arm.com> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>