File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -131,24 +131,13 @@ debos \
131131
132132U-Boot will be chainloaded from the first Android boot partition.
133133
134- 1 . install build-dependencies to build U-Boot and to generate Android boot images
135- ``` bash
136- sudo apt install git build-essential crossbuild-essential-arm64 flex bison libssl-dev gnutls-dev mkbootimg
137- ```
134+ A convenience shell script is provided to checkout the relevant U-Boot branch and to build U-Boot for RB1 and wrap it in an Android boot image.
138135
139- 1. get the qcom-mainline branch from Sumit Garg
' s U-Boot repository ([upstream submission](https://lore.kernel.org/u-boot/[email protected] /))140- ```bash
141- git clone -b qcom-mainline https://github.com/b49020/u-boot/
142- ```
136+ ``` bash
137+ sudo apt install git build-essential crossbuild-essential-arm64 flex bison libssl-dev gnutls-dev mkbootimg
143138
144- 1. build U-Boot and pack it into an Android boot image with the RB1 DTB
145- ```bash
146- make qcom_defconfig
147- make -j`nproc` DEVICE_TREE=qcom/qrb2210-rb1
148- gzip u-boot-nodtb.bin
149- cat u-boot-nodtb.bin.gz dts/upstream/src/arm64/qcom/qrb2210-rb1.dtb >u-boot-nodtb.bin.gz-dtb
150- mkbootimg --base 0x80000000 --pagesize 4096 --kernel u-boot-nodtb.bin.gz-dtb --cmdline "root=/dev/notreal" --ramdisk u-boot.bin --output rb1-boot.img
151- ```
139+ scripts/build-u-boot-rb1.sh
140+ ```
152141
153142#### Build an upstream Linux kernel to workaround boot issues
154143
You can’t perform that action at this time.
0 commit comments