1 |
Hi all, |
2 |
|
3 |
Has anyone tried running the musl stages through Catalyst to produce new |
4 |
stage 3 tarballs? I heard somewhere that the musl builds were produced |
5 |
using some newer process. |
6 |
|
7 |
Some time back, I picked up an old Advantech UNO-1150G industrial |
8 |
computer sporting a 400MHz AMD Geode LX CPU and 256MB RAM, which I have |
9 |
put to use as a router for my ADSL connection. |
10 |
|
11 |
For that task, the hardware is well suited. It's small, low power, |
12 |
fanless, and will work in conditions the ADSL modem/router will not. |
13 |
The machine boots from an 8GB compact flash card, and can run on a 9-32V |
14 |
power supply. |
15 |
|
16 |
I use a chroot on my faster machines to build the packages, which I can |
17 |
then install as binaries on the target device. Long term, I'll be |
18 |
getting a second CF card, onto which I can boot a container, build some |
19 |
updates, fire up a VM with the CF card, install the updates, then shut |
20 |
down the target machine and do a card swap. |
21 |
|
22 |
On my TO-DO list will be to port Advantech's hacked up 8250 serial |
23 |
driver to a newer kernel to get the second and third serial ports working. |
24 |
|
25 |
The device previously ran Ubuntu Linux 12.04 LTS for a few years |
26 |
monitoring energy data at a RAAF base. It did this reliably until the |
27 |
number of BACnet points it had to monitor got out of hand for the tiny |
28 |
CPU, and it was retired for a faster unit. |
29 |
|
30 |
So far, I have the machine running a musl libc-based environment built |
31 |
on the i686 image. In spite of the CPU announcing itself as "i586", it |
32 |
seems to be running okay. (Then again, Ubuntu is i686 too.) I'm not |
33 |
comfortable running i686 code on an i586 CPU however. |
34 |
|
35 |
I have had some glitches from this machine, including an un-responsive |
36 |
getty on ttyS0, and wonder if there could be issues stemming from the |
37 |
i686 instructions being passed to an older CPU. |
38 |
|
39 |
I am used to doing my own stage 3 tarballs for about 7 years now… having |
40 |
started doing this back when I was doing it for the Gentoo/MIPS project |
41 |
and having a 512kbps downlink; it was faster for my 6-core AMD64 desktop |
42 |
to churn through stage builds than it was for me to download prebuilt ones. |
43 |
|
44 |
This is easy enough for glibc-based stages, and I have stages for AMD64, |
45 |
i486, i586 and i686. I'd like to do the same with musl. |
46 |
-- |
47 |
Stuart Longland (aka Redhatter, VK4MSL) |
48 |
|
49 |
I haven't lost my mind... |
50 |
...it's backed up on a tape somewhere. |