C3: modify rtos load address [2/3]
PD#SWPL-97338
Problem:
0~0x5000000 address cannot used
Solution:
modify rtos load address
Verify:
c3
Change-Id: I4bd904efebb3b00089260350f6aa2b270e61d8d8
Signed-off-by: shijie.xiong <shijie.xiong@amlogic.com>
diff --git a/c3_fastboot.sh b/c3_fastboot.sh
index 02f38f5..eb08a7d 100755
--- a/c3_fastboot.sh
+++ b/c3_fastboot.sh
@@ -31,7 +31,7 @@
function lz4_rtos() {
pushd $RTOS_BASE_DIR/lib/utilities/lz4
cp $RTOS_IMAGE_A .
- ./self_decompress_tool.sh -a ./self_decompress_head.bin -b ./rtos_1.bin -l 0x04c00000 -j 0x04e00000 -d 0
+ ./self_decompress_tool.sh -a ./self_decompress_head.bin -b ./rtos_1.bin -l 0x04c00000 -j 0x09000000 -d 0
cp ./self_decompress_firmware.bin $RTOS_IMAGE_A
popd
}
@@ -40,7 +40,6 @@
if [ -d $BL22_DIR ]; then
pushd $BL22_DIR
if [ -f ./mk ]; then
- echo aaaaaaa
./mk c3
fi
cp ./bl22.bin $RTOS_BUILD_DIR/bl22.bin
@@ -59,10 +58,22 @@
cp $RTOS_BUILD_DIR/bl22.bin ./fastboot
#./mk c3_aw419 --update-bl2 --bl31 ./blob-bl31.bin.signed
#./mk c3_aw419 --update-bl2 --update-bl2e --bl31 ./blob-bl31.bin.signed
+ #./mk c3_aw419 --update-bl2 --update-bl2e --bl31 ./fip/blob-bl31.bin.signed
./mk c3_aw419
popd
}
+function debug_info() {
+ echo "<============ Kconfig RTOS ============>"
+ cat $RTOS_BASE_DIR/Kconfig
+ echo "<============ CMakeLists RTOS ============>"
+ cat $RTOS_BASE_DIR/CMakeLists.txt
+ echo "<============ XML RTOS ============>"
+ cat $RTOS_BUILD_DIR/rtos_sdk_manifest.xml
+ echo "<============ XML OLD RTOS ============>"
+ cat $RTOS_BUILD_DIR/rtos_sdk_manifest_old.xml
+}
+
#compile the rtos image
cd $RTOS_BASE_DIR && make scatter
#lz4 compression
@@ -71,3 +82,5 @@
bl22_compile
#compile the u-boot image
package_fastboot
+#debug
+debug_info