**** BEGIN LOGGING AT Sun Aug 11 02:59:57 2019 Aug 11 09:37:01 Hi, I've built and recent snapshot from openwrt-19.07 branch for two devices, tl-wdr4300 and tl-tdw8980. The former one (tl-wd4300) seems to work fine, the latter one (tl-tdw8980) doesn't remember options between reboots. The overlay is not properly (?) set, both, lower and upper dir point to ramdisk (/tmp/...). Is that intentional? Aug 11 10:00:18 juhe: check the bootlog for jffs2 errors about "Too few eraseblocks" (IIRC that was the wording) Aug 11 10:02:28 hough it's an 8 meg device, so shouldn't happen Aug 11 10:02:39 juhe: can you pastebin the bootlog (dmesg)? Aug 11 10:13:57 KanjiMonster: you are right, there's the "jffs2: Too few erase blocks (4)" in dmesg output. Aug 11 10:14:46 And it is 8MiB, but it's really packed, I'd like to put there more into it, but it simply won't fit... Aug 11 10:14:53 so there's your issue, there isn't enough space left to setup a persistent filesystem to store any changes Aug 11 10:16:27 KanjiMonster: ok, I'd expect it to fail during image build, but since I know what's wrong, I will try to remove some more stuff to get 4*block_size free space. Aug 11 10:16:41 KanjiMonster: anyways, thanks a lot for the information! Aug 11 10:17:12 Well it still fits barely, hencw builds fine Aug 11 10:17:34 juhe: you need 5, but you only had 4 free - so you only need to free up ~64k (depends on what the erase block size is, might also be 128k) Aug 11 10:17:42 Hm.. sorry for poor reply Aug 11 10:18:43 currently we only test for "does the image fit", not "does the image fit and do we leave enough space for the overlay" Aug 11 10:19:53 And that's how it generally should be.. or at least not hard fail if a warning is given (for user info) at buildtime Aug 11 10:20:13 olmari, KanjiMonster: thanks, now I know so I can handle that :) Aug 11 10:20:27 juhe: btw, I your case I strongly suggest plugging a usb stick into one of the usb ports and making use of extroot instead, that way you can have gigs of freee space ;) Aug 11 10:21:05 KanjiMonster: Just wanted to do that :-). Aug 11 10:22:27 I was considering to find bigger flash replacement also, but SW way is a bit easier. Aug 11 10:24:18 olmari: checking for "does the overlay fit" requires more info than just the space; we need to know the erase block size of the flash in the device(s), hope it's the same for all, and then need to substract the padding we add to handle multiple erase block sizes Aug 11 10:25:24 Rel. Back on olden days I have made compiled owrt images for AP that had everything setup ready. No free space so exactöy tight fit on wrt54gl.. but worked few years until got more modern HW Aug 11 10:27:14 Maybe not major general case, but quite exactly how things need to work :) Aug 11 10:27:22 juhe: you could e.g. leave luci out of your flash image and just install it into the overlay Aug 11 10:27:51 s/overlay/extroot/ Aug 11 10:29:04 KanjiMonster: yes, will have to, finding 320KiB is difficult Aug 11 10:29:21 s/finding/finding free/ Aug 11 10:29:30 Well with extroot I'd personally would have bare minimal on rom :) Aug 11 10:30:31 I'd leave enough that it can still provide basic internet access + ap, but nothing fancy (in case the stick craps out, or I bork the system somehow) Aug 11 10:33:10 olmari: It makes sense indeed, basically the base image + required stuff to have router working and configurable via command line; eyecandy (= luci) can be offloaded to extroot... Aug 11 12:23:24 Noltari: welcome back :) Aug 11 15:10:57 jow: image upload works now for me (for some reason..). But how can I delete an image I uploaded? Aug 11 17:25:12 will someone else be at the camp in Mildenberg? Aug 11 17:39:35 Hauke: CCCamp? I will be. Aug 11 17:39:52 I'm part of tEUrcamp. Aug 11 17:43:31 agb: nice Aug 11 17:43:34 I am part of Muccc Aug 11 17:44:38 I'll ping you once I'm on-site. Aug 11 17:45:30 agb: ok, I will probably arrive in the night between Monday and Tuesday Aug 11 17:46:39 I'm arriving the evening of 2019-08-20 (Tuesday?) Aug 11 21:17:01 hi, I have an nanostation loco m2 (xm) - what factory image do I have to use? Aug 11 21:18:17 I used the xw, since there was no xm image (maybe they were merged ...). Anyway, I need some image for tftp now.. Aug 11 21:25:01 mwarning, use the bullet image :) Aug 11 21:30:28 ilario: this one? openwrt-18.06.4-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin Aug 11 21:31:09 via tftp? Aug 11 21:35:36 hm, after a few KB, I get "Error code 2: Firmware check failed" Aug 11 21:37:00 lede-17.01.1-* image looks better Aug 11 21:45:11 mwarning, I don't recognize that error, but if your device is currently running AirOS please make sure to downgrade it first, if you flash on top of AirOS 5.6 the device will be bricked and serial connection is needed for repairing (see https://web.archive.org/web/20160805173552/bloodhound.aredn.org/products/AREDN/wiki/HowTo/Unbrick ) Aug 11 22:03:32 ilario: I had the device downgraded successfully Aug 11 22:04:30 (to AirOS 5.6) Aug 11 22:05:25 ok, the lede image also failed via tftp: with "Error code 2: Firmware check failed" Aug 11 22:05:54 https://pastebin.com/h0rA716f Aug 11 22:06:08 ^ here is a bit more verbose output Aug 11 22:06:19 I did: echo -e "binary\nrexmt 1\ntimeout 60\ntrace\nput code.bin flash_update\n" | tftp 192.168.1.20 Aug 11 22:07:23 (btw. I had downgraded to the unsigned AirOS v5.6.15 as the wiki recommends) Aug 11 22:09:30 mwarning, AirOS 5.6 is bad, you have to downgrade to 5.5 Aug 11 22:13:07 mwarning, for XM hardware you can download AirOS 5.5 from here: https://dl.ubnt.com/firmwares/XN-fw/v5.5.11/XM.v5.5.11.28002.150723.1344.bin also consider that your device has just 32 MB of RAM and that LuCI could not fit in it **** ENDING LOGGING AT Mon Aug 12 02:59:58 2019