**** BEGIN LOGGING AT Sun Jan 10 03:00:21 2021 Jan 10 03:12:03 hello openwrt devs. I have one request from my very fresh experience with sysupgrade: would it be possible to backup installed packaged list when sysupgrade is running, similarly to how /etc/config is backed up ? Jan 10 03:14:24 -k include in backup a list of current installed packages at /etc/backup/installed_packages.txt Jan 10 03:15:51 in my specific case, I enable dnssec, which requires dnsmasq-full, which means that after a sysupgrade I do not get a working udhcpd (for which I have mixed feelings: on the one hand I would not like dnssec to silently not be checked, but OTOH having no dhcp at all is annoying...) and I realised I was not sure what I had installed before Jan 10 03:16:14 mmh... any reason this is not enabled by default ? Jan 10 03:34:08 I am also playing with "opkg extra" which seems to do what I would expect (dump installed packages in /etc/config and allow installing them after an upgrade) Jan 10 09:02:47 nbd: can you help me 5 minutes with makefile magic? Jan 10 09:26:45 >KGB-1< https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 98.2% packages reproducible in our current test framework.) Jan 10 10:25:55 blocktrron: good news, the unit is not locked and boot fit images Jan 10 10:26:00 bad news, it is nand Jan 10 10:34:58 urgh Jan 10 10:35:45 building a tree now Jan 10 10:36:00 ah, there is a uboot based recovery that takes fit images without signage Jan 10 10:36:02 noice Jan 10 10:36:08 Is it DBDC on the MT7915? Jan 10 10:36:17 yes Jan 10 10:36:27 1 chip with 2 2x2 pairs Jan 10 10:36:32 nice Jan 10 10:37:07 biggest downside on the 6 Lite form my POV, as the MT7603 does not do ax on 2.4 Jan 10 10:38:36 isn't this line pointless? It seems $(call is missing https://github.com/openwrt/openwrt/blob/master/include/image.mk#L477 Jan 10 10:38:43 *I mean $(eval Jan 10 10:44:36 ldir: ping Jan 10 12:47:55 rmilecki: is there a way to fix this? https://bugs.openwrt.org/index.php?do=details&task_id=3135 Jan 10 12:48:20 russell--: leaving tab open, i'll try checking on Monday Jan 10 12:50:05 thanks! Jan 10 13:32:57 rmilecki: actually, i just did a fresh build and the ethernet problem seems to be gone Jan 10 13:33:43 russell--: is that "b44 ssb0:0: Required 30BIT DMA mask unsupported by the system" error gone? Jan 10 13:34:57 yes Jan 10 13:35:20 great! =) Jan 10 13:36:19 yes, thanks! Jan 10 20:05:58 noltari: ping Jan 10 20:08:53 ps Jan 10 21:11:51 dangole: please have a look at the comments of https://github.com/openwrt/openwrt/pull/3772 and tell me what makefile magic is required Jan 10 21:35:19 I'm trying to port OpenWrt to the Actionte MI424WR Rev. I. It has an avanta CPU and there's an existing build of PandoraBox (an openwrt fork) for it. I'm looking at the kernel config file for that build, and it's for 3.18. Does anyone know what types of changes I'll have to make to make that config file compatible with 5.4? Jan 10 21:38:41 bkallus, check if the avanta cpu (its a marvell?) is compatible with some other arch and kernel config - currently there seem to be no similar architecture with openwrt Jan 10 21:39:02 check if there is even mainline support for that cpu Jan 10 21:41:40 bkallus, https://www.kernel.org/doc/html/latest/arm/marvel.html says no support in mainline kernel - so you cannot use 5.4 linux kernel Jan 10 21:43:21 Thanks for that. How did they get the 3.14 and 3.18 kernels working then? Jan 10 21:44:00 according to their device tree files it should be compatible with marvell,kirkwood-88f6282 Jan 10 21:46:35 the vendor (Marvell) provides a software package (BSP) - Board Support Package that normally includes a heavily patched kernel / or even a "ready to use" build system with a kernel Jan 10 21:47:56 the code is public and gpl v2 but often the low code quality means it cannot be integrated in mainline linux kernel Jan 10 21:48:46 "someone" has to cleanup , test and submit it to mailing list where kernel development happens Jan 10 21:49:30 updated openwrt/upstream, https://sdwalker.github.io/uscan/index.html Jan 10 21:53:08 bkallus, the marvel readme says that kirkwood cpus are supported and iirc run fine in mainline - but they dont use device tree - i doubt that a kirkwood image / kernel will boot but you could try Jan 10 21:53:17 also: that cpu is armv5 Jan 10 21:54:03 thats really "bad" - because many systems use armv7 or armv8 - so armv5 has not a large userbase Jan 10 21:57:26 Thanks. Do you know where I can find that board support package? I don't see anything on Marvell's website and searching doesn't come up with anything. I also don't see anything on their github Jan 10 21:59:32 i tried booting a kirkwood image but it didn't get past uncompressing the kernel. should I try to boot other kirkwood images or will they not work as well? Jan 10 21:59:46 most "BSP" are for "customers" aka manufacturers of devices - the "GPL" with source code publishing does not mean you could have "all" the BSP - and the device with "gpl software" was probably not sold by marvell itself so marvell does not have to give you anything Jan 10 22:00:18 some cpu / board vendors publish their bsps / kernels - some have a more "hands on" approach Jan 10 22:01:12 got it. so how do you think the people at pandorabox built a 3.14 kernel for this device? it ships with a 2.x kernel and never was updated past that afaik Jan 10 22:01:16 actionte (?) should provide the kernel source since its selling / distributing those devices Jan 10 22:02:23 some "leaked" kernel (github?) / other manufacturer with marvel devices that had a 3.14 bsp .. dunno Jan 10 22:03:52 if you do a diff from vanilla 3.14 to vendor 3.14 you probably will end up with 1000s of diffs - and depending on your skill one might hack sth. - especially if some configs / registers / cpu behaviour is very similar Jan 10 22:10:04 bkallus, did you check the https://opensource.actiontec.com/mi424wri.html packages for the kernel versions ? Jan 10 22:10:35 yes and they're all 2.6 Jan 10 22:11:26 i built all of them and they all produced a working GPL OpenRG image except the most recent 2, both of which hang after uncompressing the kernel Jan 10 22:12:16 To be clear, what you're saying is that if I don't have a leaked bsp for the 88f6560, I'm not going to be able to build a 5.4 kernel, even with the pandorabox imagebuilder, and even though the dts says the 88f6560 is compatible with the 88f6282 (given that the mi424wr can't boot the kirkwood images) Jan 10 22:18:06 yes - the pandorabox source code aka sourcecode of their openwrt fork should contain the links / sources how to make an image - but i think you failed to find the source code of that too ? Jan 10 22:28:35 bkallus, ? i did some google foo - seems that 88f6560 can boot kirkwood partially - see https://forum.doozan.com/read.php?2,78499,78559 Jan 10 22:29:21 debian with 4.12 kernel Jan 10 22:30:57 wow! that is big news Jan 10 22:31:01 amazing find Jan 10 22:32:55 I guess I'm not sure if they distributed their sources. The only pandorabox sources I can find are from before they added support for avanta. I'm still working on getting the imagebuilder and sdk they distribute to work. Right now I'm getting make errors Jan 10 22:44:40 so if a 4.12 kernel is running from debian (it seems to use the sheevaplug dtb that is "compatible enough" to boot) - and the other thread there mentions 5.2 https://forum.doozan.com/read.php?3,112689,112764#msg-112764 Jan 10 22:46:42 one could try to use a debian kernel with openwrt userspace for example or modify the openwrt kernel config of kirkwood target to match debian/doozan Jan 10 23:02:51 Could we use the dtb from pandorabox? That one is based on the linksys ea4500 (kirkwood). I think I will take a shot at adapting those config files. I also have the 3.14 and 3.18 kernel configs from pandorabox, but I'm not sure how helpful those will be. Do you have any tips for telling which config flags are preventing the device from booting? I'm eager to contribute to this project, and I have a decent amount of experience with C and asm, but I Jan 10 23:02:51 haven't done any kernel development at all. Do you have any suggestions for resources I should look at? Jan 10 23:07:02 bkallus: look at the entire directory: https://github.com/openwrt/openwrt/tree/master/target/linux/kirkwood Jan 10 23:07:21 I don't think you'll need to touch the kernel config Jan 10 23:08:35 here's an example of an added device to kirkwood: https://github.com/openwrt/openwrt/commit/6ffe8a473eedf6f4f472bb5e64a1e1775917f3c8 Jan 10 23:12:46 I assumed the kernel config would differ between avanta and kirkwood. Are you saying I shouldn't have to make any changes at all? Jan 10 23:12:51 bkallus, you should do some stuff with serial console like post the printenv bootloader (u-boot) into the openwrt wiki - compare it to the doozan forum post (should be the same except maybe for mac address) Jan 10 23:13:33 since kirkwood on debian booted fine - expections might be that kirkwood w. openwrt might work fine too Jan 10 23:16:52 bkallus: sounds like it should be possible Jan 10 23:17:13 kirkwood is an older design so avanta should have backwards compatibility Jan 10 23:18:11 bootloader help command + doozan result seems to indicate test - booting from usb should work - so experimentation is easier Jan 10 23:18:40 see "usb" "usbboot" fatload extload commands Jan 10 23:19:50 How should I format a usb drive? Just stick a uimage on it, or some dd-ing, or something else? Jan 10 23:21:08 usb drive should be 2 partitions : 1 fat32, 1 ext2 Jan 10 23:21:30 1 ext2 should work too Jan 10 23:21:41 what should I put in that partition? Jan 10 23:22:13 will any image I can boot with tftpboot work? Jan 10 23:22:49 tftpboot might work too if you configure the network right - Jan 10 23:23:15 I already have tftpboot set up so I think I'll stick with that Jan 10 23:23:16 help tftpboot or tftpboot help should output params iirc Jan 10 23:24:24 with doozan / debian /openwrt you have the roofs , and then in the u-boot bootload you just test via ext2load usb.0 /boot/kernelimage 0x
Jan 10 23:25:06 the kernelimage, uinit/initramfs and then run "bootm" or so - like the log from doozan - it has the bootloader commands there Jan 10 23:57:12 so just trying to boot a kirkwood initramfs uimage doesn't work. Hangs at "Starting kernel ...". Do you have any suggestions for other images to try? I'm assuming I need to compile with the avanta (or i guess sheevaplug) dtb for it to work. Jan 11 00:07:32 plntyk, printenv is not exactly the same; the sg200 has some extra variables, but the ones they share are mostly the same except for bootcmd and other openrg-specific stuff Jan 11 01:07:54 aparcar[m]: can you look into https://github.com/openwrt/openwrt/pull/3768 ? Jan 11 01:34:51 any plans to backport this one? https://www.spinics.net/lists/linux-wireless/msg206206.html Jan 11 01:35:45 Assuming it hasn't been as I still get 'failed to parse nested attributes!' on 'Linux OpenWrt 5.4.87 #0 Sun Jan 10 12:14:19 2021'. **** ENDING LOGGING AT Mon Jan 11 03:00:17 2021