Commit graph

20 commits

Author SHA1 Message Date
Daniel Barlow
c2bcf2dd3e fixup 4b513cd 2022-10-18 15:47:27 +01:00
Daniel Barlow
45d52a6c99 tidy kconfig a bit 2022-10-16 15:31:10 +01:00
Daniel Barlow
4b513cdb98 use openwrt kernel for gl-ar750 2022-10-16 15:15:18 +01:00
Daniel Barlow
77922c875b add per-device overlay
presently this is used to reference the appropriate kernel and (if
needed) openwrt source trees, but I would not be surprised if we find
other uses
2022-10-15 18:55:33 +01:00
Daniel Barlow
e823e7a29c HALFARSED enable toggling promptless kconfig symbols
Some kernel config symbols we need to enable in some configurations
don't have a "prompt" entry in the Kconfig files, meaning that
make oldconfig (or any other make fooconfig) won't change them.
So we add a Kconfig.local where they can be selected

In this patch we hardcode the required symbol. Next step would be
to generalise so that they could be specified in something like a
config.kernel.hiddenConfig attrset
2022-10-09 09:50:17 +01:00
Daniel Barlow
1c39da8544 tidy kconfig 2022-10-07 23:26:00 +01:00
Daniel Barlow
8e8c34b3fa gl-ar750: frob kernel config for ttyS0 (SERIAL_OF_PLATFORM) 2022-10-07 23:24:36 +01:00
Daniel Barlow
423cf4cbee WIP gl-ar750 mounts root fs and starts pid 1
but still can't open /dev/console so it panics quite quickly
2022-10-07 00:26:32 +01:00
Daniel Barlow
e78028e58f make outputs.directory useful for tftp-booting devices
basically, add some more symlinks to it
2022-10-07 00:23:04 +01:00
Daniel Barlow
67c21e51d7 gl-ar750: boots 2022-10-05 21:58:39 +01:00
Daniel Barlow
309bb0db2d qemu kernel: choose an endianness
more than mildly surprised this wasn't causing it to
report some kind of error, tbh
2022-10-05 21:57:38 +01:00
Daniel Barlow
4c2e460042 qemu: remove =m kconfig to shorten build times
it's not as though we're using any of the modules anyway
2022-10-05 21:55:31 +01:00
Daniel Barlow
9cbffdab50 add support for OpenWrt device trees 2022-10-05 21:52:30 +01:00
Daniel Barlow
2f3072d7d5 enable /proc/config.gz
previous attempt hadn't noticed that it has a missing dependency
2022-10-05 21:50:10 +01:00
Daniel Barlow
f9626d00f4 generate probably-non-functional firmware image for gl-ar750 2022-10-03 22:28:15 +01:00
Daniel Barlow
ba80e66696 add config for 80211_hwsim simulated wlan adaptor 2022-09-30 17:51:15 +01:00
Daniel Barlow
6be5b90c96 boots to userland and runs busybox init 2022-09-20 23:04:08 +01:00
Daniel Barlow
b2f7a429f7 build a kernel, using malta_kvm_defconfig
(there's a lot in this config that I don't think is needed)
2022-09-20 18:54:27 +01:00
Daniel Barlow
ad759b7c6d allow changing hardware device in tests 2022-09-20 16:09:44 +01:00
Daniel Barlow
4b118bca19 generate a mips squashfs with some s6-rc services
haven't even tried booting it but I don't expect it to work. Needs

- s6-linux-init or some other pid 1 program
- a kernel
2022-09-19 23:51:38 +01:00