I just tried mounting the toolchain.sqf file from the aboriginal armv4l directory where I successfully compiled working apps (including my kindle video player) for my K1. That squashfs file gets mounted in the chroot environment (with a custom kernel) to do compiles. I was also able to successfully mount it in my recent linux mint distro, so it is NOT an old squashfs 3.0 format. The K1 firmware must use squashfs 3.0 because that is what the K1 supports.
However, on the K1, that newer squashfs format file fails to mount. So I need to copy the files to an ext3 image file (probably much easier than trying to create an "antique" squashfs format). Then I can try to run gcc on my K1, but I need to mount a filesystem containing gcc first...
EDIT: I just tried mounting the K1 rootfs image (squashfs 3.0 format) inside the aboriginal armv4l chroot environment -- fail. It does not support squashfs 3.0, so using a common format like ext3 makes a lot more sense, though we lose any speedup we could get transferring squashfs-compressed data over the slow SD interface on the K1. I *could* convert toolchain.sqf to squashfs 3.0 *just* for the K1, but not right now... Priorities, limited time, demands of life, and such...
Last edited by geekmaster; 05-26-2016 at 11:04 AM.
|