Built image (based on 19.07.0-rc2) for WNDR3700 v1 - device does not save settings

I use a custom image/build script that basically adds/removes packages, adds some helper scripts under /lib/functionz (e.g. to determine the physical MAC address) and adds some UCI setup shell scripts to /etc/uci-defaults . I built the image based on 19.07.0-rc2 for my Netgear WNDR3700 v1, (approx. 7.8MB) and installed the firmware: the device does not save any settings anymore.

I don't think disk space is a problem, though.

root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 6144      6144         0 100% /rom
tmpfs                    29824       428     29396   1% /tmp
tmpfs                    29824       108     29716   0% /tmp/root
overlayfs:/tmp/root      29824       108     29716   0% /
tmpfs                      512         0       512   0% /dev
root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00050000 00010000 "u-boot"
mtd1: 00020000 00010000 "u-boot-env"
mtd2: 00780000 00010000 "firmware"
mtd3: 00188440 00010000 "kernel"
mtd4: 005f7bc0 00010000 "rootfs"
mtd5: 00010000 00010000 "rootfs_data"
mtd6: 00010000 00010000 "art"

The same issue occurs if I base the image on 19.07.0-rc1.
However, this same build script works fine when I base the build on 18.06.5 – the only variation being that instead of uninstalling wpad-mini, the script uninstalls wpad-basic (in order to install wpad-mesh).

Any ideas on what to look for?

Which image file you have flashed?

Probably you have installed the initramfs image?

If you run 'firstboot', then reboot and try to save things, does that work? There might be an issue with your overlay.

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

It is.
You have built a too large image for your 8 mb flash router. There is no flash space left for overlay, so it gets set into ramdisk instead of a proper mtdblock on flash.
df shows that nicely as overlay is on tmpfs ramdisk instead of an mtdblock.

tmpfs                    29824       108     29716   0% /tmp/root
overlayfs:/tmp/root      29824       108     29716   0% /

Remove some packages, so that there is some 200 kB free space. At least 3 or 4 erase blocks of 64 kB are needed for the jffs2 overlay.

19.07 is larger than 18.06. you can't fit the same packages any more.

2 Likes

Thank you all for the prompt replies - this is a really great community!

(To answer the /u/juppin's question, I'm using openwrt-imagebuilder-19.07.0-rc2-ar71xx-generic.Linux-x86_64 to build the image.)

It looks like that at first, but even removing packages (>200kb) does not resolve the issue.

I reflashed the smaller image - Here is the output of df and cat /proc/mtd:

root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5888      5888         0 100% /rom
tmpfs                    29824       360     29464   1% /tmp
tmpfs                    29824        96     29728   0% /tmp/root
overlayfs:/tmp/root      29824        96     29728   0% /
tmpfs                      512         0       512   0% /dev
root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00050000 00010000 "u-boot"
mtd1: 00020000 00010000 "u-boot-env"
mtd2: 00780000 00010000 "firmware"
mtd3: 00188440 00010000 "kernel"
mtd4: 005f7bc0 00010000 "rootfs"
mtd5: 00040000 00010000 "rootfs_data"
mtd6: 00010000 00010000 "art"

The number of blocks used by /dev/root is smaller, but the overlayfs is still being configured as /tmp/root.

I also tried running firstboot and rebooting, per /u/Borromini's suggestion. Any changes made are still not saved after reboot (which is obviously expected now that /u/hnyman pointed out to me that overlayfs should not be on /tmp/root).

Are there any other kinds of blockers that would cause overlayfs to not be on /overlay (the one that persists after reboot)? I reduced the image size so that there should have been free space, but with no improvement. What else should I look for?

Can you post the full output of dmesg after a fresh boot?
Then we can you say why you are in this situation.

Full (albeit mildly redacted) output of dmesg after a fresh boot:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.14.156 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10775-db8345d8e4)) #0 Sat Nov 30 15:52:33 2019
[    0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7161 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 804ead30, node_mem_map 81000020
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from 0x804ee740 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=WNDR3700 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,7680k(firmware),64k(art)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 59324K/65536K available (3944K kernel code, 195K rwdata, 516K rodata, 328K init, 211K bss, 6212K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[    0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[    0.007801] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[    0.074072] pid_max: default: 32768 minimum: 301
[    0.078880] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085486] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094440] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104302] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.111371] NET: Registered protocol family 16
[    0.116957] MIPS: machine is NETGEAR WNDR3700/WNDR3800/WNDRMAC
[    2.566980] random: fast init done
[    2.799656] registering PCI controller with io_map_base unset
[    2.815338] PCI host bridge to bus 0000:00
[    2.819493] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[    2.826352] pci_bus 0000:00: root bus resource [io  0x0000]
[    2.831925] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.838701] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.846659] pci 0000:00:11.0: [168c:ff1d] type 00 class 0x020000
[    2.846670] pci 0000:00:11.0: fixup device configuration
[    2.853196] pci 0000:00:11.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    2.853251] pci 0000:00:11.0: PME# supported from D0 D3hot
[    2.853426] pci 0000:00:12.0: [168c:ff1d] type 00 class 0x020000
[    2.853436] pci 0000:00:12.0: fixup device configuration
[    2.859984] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    2.860034] pci 0000:00:12.0: PME# supported from D0 D3hot
[    2.860192] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    2.860218] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[    2.866993] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[    2.876573] clocksource: Switched to clocksource MIPS
[    2.882461] NET: Registered protocol family 2
[    2.887627] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.894591] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    2.900992] TCP: Hash tables configured (established 1024 bind 1024)
[    2.907481] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    2.913318] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    2.919811] NET: Registered protocol family 1
[    2.924196] PCI: CLS 0 bytes, default 32
[    2.926535] Crashlog allocated RAM at address 0x3f00000
[    2.932824] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    2.943498] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.949367] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.966418] io scheduler noop registered
[    2.970387] io scheduler deadline registered (default)
[    2.975872] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.983981] console [ttyS0] disabled
[    3.007636] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10625000) is a 16550A
[    3.016333] console [ttyS0] enabled
[    3.023296] bootconsole [early0] disabled
[    3.036499] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    3.042765] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    3.047696] 4 cmdlinepart partitions found on MTD device spi0.0
[    3.053596] Creating 4 MTD partitions on "spi0.0":
[    3.058401] 0x000000000000-0x000000050000 : "u-boot"
[    3.064538] 0x000000050000-0x000000070000 : "u-boot-env"
[    3.071534] 0x000000070000-0x0000007f0000 : "firmware"
[    3.083127] 2 netgear-fw partitions found on MTD device firmware
[    3.089194] 0x000000070000-0x0000001f8440 : "kernel"
[    3.094767] 0x0000001f8440-0x0000007f0000 : "rootfs"
[    3.100376] mtd: device 4 (rootfs) set to be root filesystem
[    3.106057] 1 squashfs-split partitions found on MTD device rootfs
[    3.112278] 0x0000007b0000-0x0000007f0000 : "rootfs_data"
[    3.120101] 0x0000007f0000-0x000000800000 : "art"
[    3.126247] Realtek RTL8366S ethernet switch driver version 0.2.2
[    3.132429] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[    3.138715] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[    3.196553] libphy: rtl8366s: probed
[    3.200692] libphy: Fixed MDIO Bus: probed
[    3.538163] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    3.878535] ag71xx ag71xx.1: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[    3.887758] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[    3.895505] NET: Registered protocol family 10
[    3.904004] Segment Routing with IPv6
[    3.907806] NET: Registered protocol family 17
[    3.912283] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.925702] 8021q: 802.1Q VLAN Support v1.8
[    3.931275] hctosys: unable to open rtc device (rtc0)
[    3.940602] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    3.948691] Freeing unused kernel memory: 328K
[    3.953127] This architecture does not have kernel memory protection.
[    4.642083] init: Console is alive
[    4.645705] init: - watchdog -
[    6.109067] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.336680] usbcore: registered new interface driver usbfs
[    6.342232] usbcore: registered new interface driver hub
[    6.347651] usbcore: registered new device driver usb
[    6.369693] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.382540] SCSI subsystem initialized
[    6.390439] ehci-platform: EHCI generic platform driver
[    6.395739] ehci-platform ehci-platform: EHCI Host Controller
[    6.401571] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    6.409594] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    6.436611] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    6.443546] hub 1-0:1.0: USB hub found
[    6.447683] hub 1-0:1.0: 2 ports detected
[    6.454217] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.461772] ohci-platform: OHCI generic platform driver
[    6.467139] ohci-platform ohci-platform: Generic Platform OHCI controller
[    6.473950] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    6.481959] ohci-platform ohci-platform: irq 14, io mem 0x1c000000
[    6.561323] hub 2-0:1.0: USB hub found
[    6.565349] hub 2-0:1.0: 2 ports detected
[    6.571907] uhci_hcd: USB Universal Host Controller Interface driver
[    6.581808] usbcore: registered new interface driver usb-storage
[    6.588446] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.598262] init: - preinit -
[    7.273975] ar71xx: pll_reg 0xb8050010: 0x11110000
[    7.273994] eth0: link up (1000Mbps/Full duplex)
[    7.298113] random: procd: uninitialized urandom read (4 bytes read)
[   10.524121] mount_root: loading kmods from internal overlay
[   10.567453] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   10.575320] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   10.863522] block: attempting to load /etc/config/fstab
[   10.872042] block: unable to load configuration (fstab: Entry not found)
[   10.878885] block: no usable configuration
[   10.883607] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   10.927754] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.003355] eth0: link down
[   11.016523] procd: - early -
[   11.020138] procd: - watchdog -
[   11.728865] procd: - watchdog -
[   11.732279] procd: - ubus -
[   11.884804] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.978461] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.985221] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.992490] procd: - init -
[   12.996179] urngd: v1.0.0 started.
[   13.078741] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.099051] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   13.138864] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.177121] Mirror/redirect action on
[   13.352477] u32 classifier
[   13.355191]     input device check on
[   13.358895]     Actions configured
[   13.393007] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   13.421310] Loading modules backported from Linux version v4.19.85-0-gc63ee2939dc1
[   13.428923] Backport generated by backports.git v4.19.85-1-0-g8a8be258
[   13.458148] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.570099] random: crng init done
[   13.573507] random: 6 urandom warning(s) missed due to ratelimiting
[   13.660451] xt_time: kernel timezone is -0000
[   13.882579] batman_adv: B.A.T.M.A.N. advanced openwrt-2019.2-4 (compatibility version 15) loaded
[   13.923563] pci 0000:00:11.0: using irq 40 for pin 1
[   13.928609] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
[   13.939118] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   13.947711] ath: EEPROM regdomain: 0x0
[   13.947716] ath: EEPROM indicates default country code should be used
[   13.947719] ath: doing EEPROM country->regdmn map search
[   13.947729] ath: country maps to regdmn code: 0x3a
[   13.947734] ath: Country alpha2 being used: US
[   13.947737] ath: Regpair used: 0x3a
[   13.962203] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.963903] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   13.970672] pci 0000:00:12.0: using irq 41 for pin 1
[   13.975634] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
[   13.986148] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[   13.994746] ath: EEPROM regdomain: 0x0
[   13.994751] ath: EEPROM indicates default country code should be used
[   13.994754] ath: doing EEPROM country->regdmn map search
[   13.994764] ath: country maps to regdmn code: 0x3a
[   13.994769] ath: Country alpha2 being used: US
[   13.994772] ath: Regpair used: 0x3a
[   14.011370] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   14.013111] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41
[   14.126982] kmodloader: done loading kernel modules from /etc/modules.d/*
[   45.882535] ar71xx: pll_reg 0xb8050010: 0x11110000
[   45.882760] eth0: link up (1000Mbps/Full duplex)
[   45.887531] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   45.934486] ***: port 1(***) entered blocking state
[   45.940467] ***: port 1(***) entered disabled state
[   45.946715] device *** entered promiscuous mode
[   45.951593] device eth0 entered promiscuous mode
[   46.025943] ***: port 1(***) entered blocking state
[   46.031917] ***: port 1(***) entered forwarding state
[   46.038191] IPv6: ADDRCONF(NETDEV_UP): ***: link is not ready
[   46.378656] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   46.390824] ***: port 2(***) entered blocking state
[   46.396805] ***: port 2(***) entered disabled state
[   46.403013] device *** entered promiscuous mode
[   46.407938] device eth1 entered promiscuous mode
[   46.906688] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   46.913649] IPv6: ADDRCONF(NETDEV_CHANGE): ***: link becomes ready
[   46.998537] ***: port 1(***) entered blocking state
[   47.004284] ***: port 1(***) entered disabled state
[   47.056696] device *** entered promiscuous mode
[   47.087429] ***: port 1(***) entered blocking state
[   47.093178] ***: port 1(***) entered forwarding state
[   48.659548] 8021q: adding VLAN 0 to HW filter on device ***
[   49.999592] IPv6: ADDRCONF(NETDEV_UP): ***: link is not ready
[   52.920724] IPv6: ADDRCONF(NETDEV_UP): ***: link is not ready
[   53.010337] ***: port 2(***) entered blocking state
[   53.016673] ***: port 2(***) entered disabled state
[   53.023229] device *** entered promiscuous mode
[   53.028784] ***: port 2(***) entered blocking state
[   53.035041] ***: port 2(***) entered forwarding state
[   53.145894] ***: port 2(***) entered disabled state
[   54.052976] jffs2: Too few erase blocks (4)
[   55.206296] 8021q: adding VLAN 0 to HW filter on device ***
[   57.516489] IPv6: ADDRCONF(NETDEV_CHANGE): ***: link becomes ready
[   58.256862] 8021q: adding VLAN 0 to HW filter on device ***
[   60.661944] IPv6: ADDRCONF(NETDEV_CHANGE): ***: link becomes ready
[   60.669226] ***: port 2(***) entered blocking state
[   60.675511] ***: port 2(***) entered forwarding state

jffs2: Too few erase blocks (4)

The rootfs looks (still) too large. I'm not sure what the rule is to make it go to RAM overlay, but you still only have 4 blocks (256 kB) for rootfs-data which is really not comfortable (and upon reading the log, that is a fatal error-- it refused to format the partition and create a jffs.). Try removing more packages.

1 Like

Removing even more packages (to the point where I'm crossing my fingers this slim image will still let the router get its job done) seems to have finally done the trick. If the base 19.07 gets too big, I'm going to have to tread carefully... or use an external USB drive‽

root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5888      5888         0 100% /rom
tmpfs                    29824       368     29456   1% /tmp
tmpfs                    29824        92     29732   0% /tmp/root
tmpfs                      512         0       512   0% /dev
/dev/mtdblock5             320       232        88  73% /overlay
overlayfs:/overlay         320       232        88  73% /

Looks like five 64k blocks (320k) is the acceptable minimum in my case. At least now I know and understand this limitation better.

One remaining question(s): Is it possible to shrink 19.07 down a bit?, that is:

  • Are there packages included in the base image that could be removed to save space?
  • If so, where's the best place to start? (for example, is there a perusable list of candidate packages from which to select which features I could do without?)

Thank you all for the advice and support.

https://openwrt.org/docs/guide-user/additional-software/saving_space

You can also decrease the image size if you are building from source and disable some debugging options and strip unneded functions and symbols from kernel and libraries.

Here are some example config options that reduced the overall size of the image to fit into 4 MB:

# CONFIG_ATH9K_UBNTHSR is not set
CONFIG_CLEAN_IPKG=y
# CONFIG_IPV6 is not set
# CONFIG_KERNEL_CRASHLOG is not set
# CONFIG_KERNEL_DEBUG_FS is not set
# CONFIG_KERNEL_DEBUG_INFO is not set
# CONFIG_KERNEL_DEBUG_KERNEL is not set
# CONFIG_KERNEL_ELF_CORE is not set
# CONFIG_KERNEL_IPV6 is not set
# CONFIG_KERNEL_KALLSYMS is not set
# CONFIG_KERNEL_MAGIC_SYSRQ is not set
# CONFIG_KERNEL_PRINTK is not set
# CONFIG_KERNEL_PRINTK_TIME is not set
# CONFIG_KERNEL_SWAP is not set
# CONFIG_PACKAGE_MAC80211_DEBUGFS is not set
# CONFIG_PACKAGE_odhcpd is not set
# CONFIG_PACKAGE_opkg is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_STRIP_KERNEL_EXPORTS=y
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=1024
CONFIG_USE_MKLIBS=y
CONFIG_WPA_SUPPLICANT_INTERNAL=y

The most interesting are (which doesn´t work if you use the image builder):

# CONFIG_KERNEL_CRASHLOG is not set
# CONFIG_KERNEL_DEBUG_FS is not set
# CONFIG_KERNEL_DEBUG_INFO is not set
# CONFIG_KERNEL_DEBUG_KERNEL is not set
# CONFIG_KERNEL_ELF_CORE is not set
# CONFIG_KERNEL_KALLSYMS is not set
# CONFIG_KERNEL_MAGIC_SYSRQ is not set
# CONFIG_KERNEL_PRINTK is not set
# CONFIG_KERNEL_PRINTK_TIME is not set
# CONFIG_KERNEL_SWAP is not set
CONFIG_STRIP_KERNEL_EXPORTS=y
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=1024
CONFIG_USE_MKLIBS=y
1 Like

I have encountered similar problems before, you can refer to my solution