Re: routerbootpart: hard_config partition can be larger than a single block on MikroTik devices

2021-05-01 Thread Thibaut
> Le 1 mai 2021 à 10:49, Baptiste Jonglez a écrit > : > > On 01-05-21, Thibaut wrote: >>> Do you see a clean way to support this without breaking support for other >>> boards? Do you think we can determine this size from somewhere else in >>> the flash, or should I just set "size = <0x2000>"

Re: opkg fails to install manually downloaded packages

2021-05-01 Thread Hannu Nyman
Sven Roederer kirjoitti 30.4.2021 klo 22.43: ... Digging further I found installing online pulled librt in. Restarting from scratch ... Downloading librt and wall via wget and running `opkg *.ipk` - packages have been installed successfully. So the issue is obviously caused by resolving the depe

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread Hauke Mehrtens
On 4/22/21 7:08 AM, DENG Qingfang wrote: The new EEE patch is accepted upstream, so backport it and replace the current one. Cc: René van Dorst Signed-off-by: DENG Qingfang --- ...-mt7530-Add-support-for-EEE-features.patch | 120 + ...-mt7530-Add-support-for-EEE-features.pat

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread DENG Qingfang
Hi Hauke, On Sat, May 1, 2021 at 9:48 PM Hauke Mehrtens wrote: > > These patches are now applied in a different order compared to the > upstream kernel, could you please have a look. I think we should move 0600~0602 patches to backport-5.4, then apply René's upstream patch as-is on top of that.

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread Hauke Mehrtens
On 5/1/21 4:01 PM, DENG Qingfang wrote: Hi Hauke, On Sat, May 1, 2021 at 9:48 PM Hauke Mehrtens wrote: These patches are now applied in a different order compared to the upstream kernel, could you please have a look. I think we should move 0600~0602 patches to backport-5.4, then apply René'

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread DENG Qingfang
Hi Hauke, On Sat, May 1, 2021 at 10:06 PM Hauke Mehrtens wrote: > > Yes, I think that is a good idea. > > Will you prepare a patch? While trying that, I found some patches in pending-5.4 that are also supposed to be in backport, causing another patch conflict. Cc: Ilya Alternatively, you can r

Re: routerbootpart: hard_config partition can be larger than a single block on MikroTik devices

2021-05-01 Thread Thibaut
Following up on IRC conversation, for the record: > Le 1 mai 2021 à 11:27, Thibaut a écrit : […] > Yes, but only the first 4K is used. What’s needed is to check whether or not > the rb_hardconfig driver will successfully process a 4K-only block from an 8K > partition. I *think* it should, but

Re: opkg fails to install manually downloaded packages

2021-05-01 Thread Sven Roederer
Am Samstag, 1. Mai 2021, 15:14:35 CEST schrieb Hannu Nyman: > Sven Roederer kirjoitti 30.4.2021 klo 22.43: > > ... > > Digging further I found installing online pulled librt in. Restarting from > > scratch ... > > Downloading librt and wall via wget and running `opkg *.ipk` - packages > > have been

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread Ilya Lipnitskiy
On Sat, May 1, 2021 at 7:32 AM DENG Qingfang wrote: > > Hi Hauke, > > On Sat, May 1, 2021 at 10:06 PM Hauke Mehrtens wrote: > > > > Yes, I think that is a good idea. > > > > Will you prepare a patch? > > While trying that, I found some patches in pending-5.4 that are also > supposed to be in back

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread Hauke Mehrtens
On 5/1/21 7:53 PM, Ilya Lipnitskiy wrote: On Sat, May 1, 2021 at 7:32 AM DENG Qingfang wrote: Hi Hauke, On Sat, May 1, 2021 at 10:06 PM Hauke Mehrtens wrote: Yes, I think that is a good idea. Will you prepare a patch? While trying that, I found some patches in pending-5.4 that are also

Re: opkg fails to install manually downloaded packages

2021-05-01 Thread Sven Roederer
Am Samstag, 1. Mai 2021, 15:14:35 CEST schrieb Hannu Nyman: > Sven Roederer kirjoitti 30.4.2021 klo 22.43: > > ... > > Digging further I found installing online pulled librt in. Restarting from > > scratch ... > > Downloading librt and wall via wget and running `opkg *.ipk` - packages > > have been

Re: Installing OpenWrt 21.02 on the TP-Link AD7200

2021-05-01 Thread Alex Henrie
On Fri, Apr 30, 2021 at 2:28 PM Sven Roederer wrote: > > not sure if you tried or if it even still applies to TPLink WebIf. But back in > the days there was a link in the length of the firmware filename to be > uploaded. The message was teh same "invalid firmware type". > Probably renaming the fil

[PATCH] base-files: upgrade: take down loop and LVM before upgrade

2021-05-01 Thread Daniel Golle
Users of devices with large block storage may choose to have an LVM partition on the same device which is used for booting OpenWrt. That presents a problem during sysupgrade as the root device is then still busy and changing partitions will not work as desired, leading to data corruption in some ca