Apologies if this off-topic, but I thought someone here might be able to give me some insight on my problem...
I've been trying to get kwboot working on FreeBSD for a while without any success and wondered if anyone familiar with serial port programming could suggest what I might need to change to get it working...
The program compiles without any problem, but won't write to the serial port. I believe it uses standard C code rather than any Linuxisms so in theory it should be platform independent, although there might possibly be something in the header file - kwbimage.h which is not compatible between Linux and FreeBSD.
I use the following to build kwboot:-
I've been trying to get kwboot working on FreeBSD for a while without any success and wondered if anyone familiar with serial port programming could suggest what I might need to change to get it working...
The program compiles without any problem, but won't write to the serial port. I believe it uses standard C code rather than any Linuxisms so in theory it should be platform independent, although there might possibly be something in the header file - kwbimage.h which is not compatible between Linux and FreeBSD.
I use the following to build kwboot:-
wget https://github.com/LeMaker/u-boot/raw/master/tools/kwboot.c wget https://github.com/LeMaker/u-boot/raw/master/tools/kwbimage.h gcc -o kwboot kwboot.c