If you are looking for RTEMS 4.11 installation on NXP T4240RDB, please refer to here.
You may need to generate t4240rdb.dtb by using the NXP sdk.
(It is an intermediate file...)
BSP is "qoriq_e6500_64"
Toolchain is powerpc-rtems5
I did the following steps:
# powerpc-rtems5-objcopy -O binary 'hello.exe' 'hello.bin'
# gzip -f -9 'hello.bin'
# mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -n 'RTEMS' -d hello.bin.gz 'hello.img'
# cp hello.img /tftpboot
To load the kernel and dtb on the boards, I use the following commands:
tftp 1000000 hello.img
tftp c00000 t4240rdb.dtb
bootm 1000000 - c00000
Please note, if there is PANIC ERROR 0 in the end of execution, it is normal.
All termination paths end up here.
You may need to generate t4240rdb.dtb by using the NXP sdk.
(It is an intermediate file...)
BSP is "qoriq_e6500_64"
Toolchain is powerpc-rtems5
I did the following steps:
- The command for building up the toolchain:
../source-builder/sb-set-builder --log=build-nxp-log.txt --prefix=$HOME/development/rtems/compiler/5 5/rtems-powerpc - I did bootstrap in the source tree folder as stated in here.
- The command for configuring the build up procedure:
../rtems-kuan/configure --target=powerpc-rtems4.12 --enable-rtemsbsp=qoriq_t4240rdb --enable-smp --enable-tests=yes --prefix=$HOME/development/rtems/4.12-powerpc" - You can find out some testsuites executable are generated in "/home/khchen/repository/git/build-nxp-5/powerpc-rtems5/c/qoriq_e6500_64/testsuites/samples"
# powerpc-rtems5-objcopy -O binary 'hello.exe' 'hello.bin'
# gzip -f -9 'hello.bin'
# mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -n 'RTEMS' -d hello.bin.gz 'hello.img'
# cp hello.img /tftpboot
To load the kernel and dtb on the boards, I use the following commands:
tftp 1000000 hello.img
tftp c00000 t4240rdb.dtb
bootm 1000000 - c00000
Please note, if there is PANIC ERROR 0 in the end of execution, it is normal.
All termination paths end up here.
Comments
Post a Comment