2022-10-03 23:28:15 +02:00
|
|
|
# GL.INet GL-AR750 "Creta" travel router
|
|
|
|
# - QCA9531 @650Mhz SoC
|
|
|
|
# - dual band wireless: IEEE 802.11a/b/g/n/ac
|
|
|
|
# - two 10/100Mbps LAN ports and one WAN
|
|
|
|
# - 128MB DDR2 RAM / 16MB NOR Flash
|
|
|
|
# - "ath79" soc family
|
|
|
|
# https://www.gl-inet.com/products/gl-ar750/
|
|
|
|
|
|
|
|
# I like GL.iNet devices because they're relatively accessible to
|
|
|
|
# DIY users: the serial port connections have headers preinstalled
|
|
|
|
# and don't need soldering
|
|
|
|
|
|
|
|
# The default output is a combined image containing a kernel
|
|
|
|
# packaged as a "uimage" and initrd filesystem. This can be
|
|
|
|
# downloaded to the device using TFTP and then written into
|
|
|
|
# flash, or if PHRAM suport is enabled (handy for development)
|
|
|
|
# unpacked and run directly into RAM
|
|
|
|
|
2022-09-20 00:51:38 +02:00
|
|
|
{
|
|
|
|
system = {
|
|
|
|
crossSystem = {
|
|
|
|
config = "mips-unknown-linux-musl";
|
|
|
|
gcc = {
|
|
|
|
abi = "32";
|
|
|
|
arch = "mips32"; # maybe mips_24kc-
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2022-10-03 23:28:15 +02:00
|
|
|
kernel = {
|
|
|
|
checkedConfig = {
|
2022-10-05 22:52:30 +02:00
|
|
|
"MIPS_ELF_APPENDED_DTB" = "y";
|
2022-10-03 23:28:15 +02:00
|
|
|
};
|
|
|
|
config = {
|
2022-10-05 22:52:30 +02:00
|
|
|
MIPS_ELF_APPENDED_DTB = "y";
|
|
|
|
|
2022-10-03 23:28:15 +02:00
|
|
|
# this is all copied from nixwrt ath79 config. Clearly not all
|
|
|
|
# of it is device config, some of it is wifi config or
|
|
|
|
# installation method config or ...
|
|
|
|
"BLK_DEV_INITRD" = "n";
|
|
|
|
"CMDLINE_PARTITION" = "y";
|
|
|
|
"DEBUG_INFO" = "y";
|
|
|
|
"DEVTMPFS" = "y";
|
|
|
|
"EARLY_PRINTK" = "y";
|
|
|
|
"FW_LOADER" = "y";
|
|
|
|
# we don't have a user helper, so we get multiple 60s pauses
|
|
|
|
# at boot time unless we disable trying to call it
|
|
|
|
"FW_LOADER_USER_HELPER" = "n";
|
|
|
|
"IMAGE_CMDLINE_HACK" = "n";
|
|
|
|
"IP_PNP" = "y";
|
|
|
|
"JFFS2_FS" = "n";
|
|
|
|
"MODULE_SIG" = "y";
|
|
|
|
"MTD_CMDLINE_PARTS" = "y";
|
|
|
|
"MTD_SPLIT_FIRMWARE" = "y";
|
|
|
|
"PARTITION_ADVANCED" = "y";
|
|
|
|
"PRINTK_TIME" = "y";
|
|
|
|
"SQUASHFS" = "y";
|
|
|
|
"SQUASHFS_XZ" = "y";
|
|
|
|
"ASN1" = "y";
|
|
|
|
"ASYMMETRIC_KEY_TYPE" = "y";
|
|
|
|
"ASYMMETRIC_PUBLIC_KEY_SUBTYPE" = "y";
|
|
|
|
"CRC_CCITT" = "y";
|
|
|
|
"CRYPTO" = "y";
|
|
|
|
"CRYPTO_ARC4" = "y";
|
|
|
|
"CRYPTO_CBC" = "y";
|
|
|
|
"CRYPTO_CCM" = "y";
|
|
|
|
"CRYPTO_CMAC" = "y";
|
|
|
|
"CRYPTO_GCM" = "y";
|
|
|
|
"CRYPTO_HASH_INFO" = "y";
|
|
|
|
"CRYPTO_LIB_ARC4" = "y";
|
|
|
|
"CRYPTO_RSA" = "y";
|
|
|
|
"CRYPTO_SHA1" = "y";
|
|
|
|
"ENCRYPTED_KEYS" = "y";
|
|
|
|
"KEYS" = "y";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
outputs.default = "combined-image";
|
|
|
|
boot = {
|
|
|
|
loadAddress = "0x80060000";
|
|
|
|
entryPoint = "0x80060000";
|
|
|
|
};
|
2022-09-20 00:51:38 +02:00
|
|
|
}
|