Hi,
I successfully build img with buildroot and enter console prompt on UART0.
Now I want to change to UART3 (also bootloader messages). I don’t now how to generate new env.fex file.
Bytheway: longan_MQ-Dual_uart0_pe2_pe3_rgb800480.img is not working. It seems to be corrupted.
Thank you very much. Where can I get tina-sdk?
I am experienced with microcontrollers (STM32) but new to embedded linux. Should I use Buildroot and/or other tools? Wich tools?
no buildserver to clean
[1] 12864
jr@jr-VirtualBox:~/Projects/Tina-Linux$ muboot
t113_evb1 t113 t113-evb1
build_boot platform:sun8iw20p1 o_option:uboot
grep: /home/jr/Projects/Tina-Linux/lichee/brandy-2.0/spl/Makefile: No such file or directory
Prepare toolchain …
Make:
1.)
Tina-Linux/out/t113-evb1/compile_dir/host/m4-1.4.18/lib/c-stack.c
add line 53: #undef SIGSTKSZ
2.)
Tina-Linux/tools/mklibs/Makefile
add line 21: HOST_CPPFLAGS += -std=gnu++14
3.)
Tina-Linux/tools/lz4/Makefile
replace line 11: PKG_VERSION:=1.9.2 with PKG_VERSION:=1.9.3
replace line 16: PKG_MD5SUM:=3898c56c82fb3d9455aefd48db48eaad with PKG_MD5SUM:=3a1ab1684e14fc1afc66228ce61b2db3
also openwrt repository should be changed too.
file:
Tina-Linux/build/download.mk
replace line 8: OPENWRT_GIT =http://github.com/openwrt
with:https://git.openwrt.org
4.)
Tina-Linux/out/t113-evb1/compile_dir/host/fakeroot-1.20.2/libfakeroot.c
add line 185: #ifndef _STAT_VER #if defined (aarch64) #define _STAT_VER 0 #elif defined (x86_64) #define _STAT_VER 1 #else #define _STAT_VER 3 #endif #endif
5.)
Tina-Linux/out/t113-evb1/compile_dir/host/squashfskit-v4.14/squashfs-tools/mksquashfs.h
replace line 136:
struct cache *bwriter_buffer, *fwriter_buffer;
with
extern struct cache *bwriter_buffer, *fwriter_buffer;
6.)
Tina-Linux/out/t113-evb1/compile_dir/host/squashfskit-v4.14/squashfs-tools/mksquashfs.c
replace line 275:
struct cache *bwriter_buffer, *fwriter_buffer;
with
extern struct cache *bwriter_buffer, *fwriter_buffer;
Again same result as in previous post.
Best regards