Compiling Persee kernel and flashing it on the Persee

Thanks, electrickshepherd! I got it working with your instructions.

I want to add a couple notes:

  1. I was running the Firefly tools on the Persee (haven’t got a good Linux dev machine) so I had to do ‘apt install libssl-dev’ to get the dev headers and libs for OpenSSL.

  2. The Firefly tools don’t like the checksum that the Orbbec uses, so in afptool.c I commented out the “goto unpack_fail” line which causes it to fail unpacking if the CRC is bad.

So with that we are able to create a custom image and the Orbbec boots it. The CRC didn’t seem to matter.

However, I messed up and shrank the filesystem wrong or something - When it boots, it throws a lot of warnings that the disk is full.