Re: [PATCH v2] ath79: add support for onion omega

2021-08-15 Thread Tomasz Maciej Nowak
W dniu 15.08.2021 o 13:18, Lech Perczak pisze: > W dniu 2021-08-15 o 13:03, open...@aiyionpri.me pisze: >> >> On 8/15/21 11:39 AM, Lech Perczak wrote: >>> [...] >>> I rather meant checking if it is possible to 'saveenv' from within stock >>> U-boot, rebooting and seeing if changes to the

Re: [PATCH v2] ath79: add support for onion omega

2021-08-15 Thread Lech Perczak
W dniu 2021-08-15 o 13:03, open...@aiyionpri.me pisze: On 8/15/21 11:39 AM, Lech Perczak wrote: [...] I rather meant checking if it is possible to 'saveenv' from within stock U-boot, rebooting and seeing if changes to the environment change stay there. Given, that the typical SPI-NOR sector

Re: [PATCH v2] ath79: add support for onion omega

2021-08-15 Thread openwrt
On 8/15/21 11:39 AM, Lech Perczak wrote: > [...] > I rather meant checking if it is possible to 'saveenv' from within stock > U-boot, rebooting and seeing if changes to the environment change stay > there. > Given, that the typical SPI-NOR sector size on this target is 64k, it's > very unlikely

Re: [PATCH v2] ath79: add support for onion omega

2021-08-15 Thread Lech Perczak
W dniu 2021-08-15 o 10:30, Jan-Niklas Burfeind pisze: On 8/14/21 7:08 PM, Lech Perczak wrote: [...] The six bytes at 001fd00 spell OMEGA. Is this the only data in 0x1-0x2? What's in 0x1-0x11000? +    read-only; +    compatible = "nvmem-cells"; +  

Re: [PATCH v2] ath79: add support for onion omega

2021-08-15 Thread Jan-Niklas Burfeind
On 8/14/21 7:08 PM, Lech Perczak wrote: > [...] >>> >>> The six bytes at 001fd00 spell OMEGA. >> Is this the only data in 0x1-0x2? What's in 0x1-0x11000? >> > +    read-only; > +    compatible = "nvmem-cells"; > +    #address-cells =

Re: [PATCH v2] ath79: add support for onion omega

2021-08-15 Thread Jan-Niklas Burfeind
On 8/14/21 5:43 PM, Tomasz Maciej Nowak wrote: > [..] >> uboot knows it is 64KiB, printenv yields uboot_size=0x1 > > That should be reflected in partitions list and the space between > 0x1-0x2 partition name should reflect what's inside. If the > vendor firmware had a name for this

Re: [PATCH v2] ath79: add support for onion omega

2021-08-14 Thread Lech Perczak
W dniu 2021-08-14 o 17:43, Tomasz Maciej Nowak pisze: W dniu 14.08.2021 o 16:37, Jan-Niklas Burfeind pisze: Hey there; answer is inline too. Thanks for picking this up! On 8/14/21 3:54 PM, Tomasz Maciej Nowak wrote: Hi, one comment inline. W dniu 14.08.2021 o 14:33, Jan-Niklas Burfeind

Re: [PATCH v2] ath79: add support for onion omega

2021-08-14 Thread Tomasz Maciej Nowak
W dniu 14.08.2021 o 16:37, Jan-Niklas Burfeind pisze: > Hey there; answer is inline too. > Thanks for picking this up! > > On 8/14/21 3:54 PM, Tomasz Maciej Nowak wrote: >> Hi, >> one comment inline. >> >> W dniu 14.08.2021 o 14:33, Jan-Niklas Burfeind pisze: >>> [...] >>> + partitions

Re: [PATCH v2] ath79: add support for onion omega

2021-08-14 Thread Jan-Niklas Burfeind
Hey there; answer is inline too. Thanks for picking this up! On 8/14/21 3:54 PM, Tomasz Maciej Nowak wrote: > Hi, > one comment inline. > > W dniu 14.08.2021 o 14:33, Jan-Niklas Burfeind pisze: >> [...] >> +partitions { >> +compatible = "fixed-partitions"; >> +

Re: [PATCH v2] ath79: add support for onion omega

2021-08-14 Thread Tomasz Maciej Nowak
Hi, one comment inline. W dniu 14.08.2021 o 14:33, Jan-Niklas Burfeind pisze: > The Onion Omega is a hardware development platform with built-in WiFi. > > https://onioniot.github.io/wiki/ > > Specifications: > - QCA9331 @ 400 MHz (MIPS 24Kc Big-Endian Processor) > - 64MB of DDR2 RAM running

Re: [PATCH v2] ath79: add support for onion omega

2021-08-14 Thread David Bauer
Hi Jan, looks pretty solid to me. On 8/14/21 2:33 PM, Jan-Niklas Burfeind wrote: ... > +define Device/onion_omega > + $(Device/tplink-16mlzma) > + SOC := ar9331 > + DEVICE_VENDOR := Onion > + DEVICE_MODEL := Omega > + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 AR9331 uses a different

[PATCH v2] ath79: add support for onion omega

2021-08-14 Thread Jan-Niklas Burfeind
The Onion Omega is a hardware development platform with built-in WiFi. https://onioniot.github.io/wiki/ Specifications: - QCA9331 @ 400 MHz (MIPS 24Kc Big-Endian Processor) - 64MB of DDR2 RAM running at 400 MHz - 16MB of on-board flash storage - Support for USB 2.0 - Support for Ethernet at