This is largely based on the beaglev code nbut tweaked to work with current
starfive kernel repositories and tweak to the board.
The kernel and rootfs boot with working network and graphics. The u-boot
binary builds but is as yet untested.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This packages bluetooth/Wifi firmware blobs into a package
Help lld linker
Use -mno-relax to compile the kernel with clang
when using lld for linker ( with LLVM=1 )
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The real problem is that we can not boot kernel compiled with
-Os/gcc-11, once we disable CONFIG_CC_OPTIMIZE_FOR_SIZE, original
defconfig boots fine. Since its smaller in size and does not enable
ton of modules like the fedora config, lets switch back to this
Signed-off-by: Khem Raj <raj.khem@gmail.com>
I am seeing this issue with 3s delay and also with 10s delay so there is
something else going on, it locks hard when it does. Interestingly
reseting with button on board then reboots it fine.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This helps fix the time issues we were seeing with current config
which was resulting in bad time being reported from kernel and glibc
strftime() tripping over it.
This fixes all those issues and we can boot glibc based rootfs without
issues
Signed-off-by: Khem Raj <raj.khem@gmail.com>