I am using LS1046ardb Kit. Iam able to compile a sample hello world example in Ubuntu 18 using cross compiler aarch64-linux-gnu-gcc and tranfer the object files to the kit using serial port kermit. When i run the file in the kit , nothing get displayed on the kit console. how do i print messages in the console.
Please try whether the attached elf file can be executed to print "Hello World" successfully on your target board.
1. On your host PC create test.c as the following.
2. Cross compile test.c.
aarch64-linux-gnu-gcc test.c -o test.out
3. Copy test.out to ls1046ardb target board.
root@TinyDistro ~]$ ./test.out
Hello World![root@TinyDistro ~]