Luma Home WiFi support

Great, there are no clashes with volume names. Backup Your configuration, list of installed packages and OEM kernel with ubi_rootfs volumes. These are the instruction to switch to upstream image:

  1. (optional) Remove dummy volume if exists, this is not used by anything in OEM or OpenWrt firmware and it doesn't store any data:
    ubirmvol /dev/ubi0 -N dummy
  2. Download sysupgrade image from OpenWrt snapshots to /tmp and unpack it (it's an tar archive). The result should be CONTROL, kernel and root files.
  3. Run following commands:
    updatevol /dev/ubi0_0 /tmp/kernel
    updatevol /dev/ubi0_1 /tmp/root
    ubirename /dev/ubi0 ubi_rootfs rootfs
  4. If every command above executed without errors run:
fw_setenv openwrt "setenv mtdids nand1=spi_nand; setenv mtdparts mtdparts=spi_nand:-(ubi); ubi part ubi; ubi read 0x84000000 kernel; bootm 0x84000000"

jffs2reset
confirm and reboot.

Now You should have upstream supported image running. Small reminder, the snapshots don't have web interface installed, so initial configuration needs to be done with ssh.

@rayclark If Your volume layout is similar to the one from jpstoppa, You can also follow the instructions above.

OpenWrt snapshots are a bare system. You should first adjust network setting to Your environment. Edit the /etc/config/network and invoke service network restart. Remember that the "lan" interface ip subnet shouldn't clash with Your modem/whateverISPbox. Before installing anything it might be necessary to sysupgrade to latest snapshot image. After getting internet connection use opkg update and opkg install luci. Now the web interface should be running on "lan" interface.

Hi, Thanks a lot from your insight!
Just one question though, if I flashed the image from the repo above , I have the latest image right ?
Will I really need to install another ? and where is it (can you drop me a link to that?

I will try to correct my network info and put this thing to work, please just set straight to me this image doubt.

Thanks a lot for your help, almost having my Luma's working again :wink:

If You used images posted in this thread, then yes, You should reinstall with official images with instructions from here: https://git.openwrt.org/e24635710c7e6444afa463c59f3d81fe634eb3c7 or if You don't want to connect UART use the instructions I posted here: Luma Home WiFi support. I won't re-base my tree or update the images. The official snapshot images are here: https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/. As mentioned, these are bare images without web interface (needs to be installed).

I got internet on all my 3 LUMA's and flashed the latest snapshot from the repo. After that I installed Luci with opkg update and opkg install Luci .
Its now fully functional and with webUI installed.

My next goal is figure out how to properly configure mesh on these and what is the best approach, to connect all with wired backhaul or connect just one and use wireless to interconnect AP's.
I wish to have 2 networks, one for home automation and one for home wifi usage, using both 2.4GHz and 5 GHz antennas, is that possible with mesh ?

For someone who has flashed the upstream snapshot image, is there a way to go back to a state where the original @tmn505 tree based image can be successfully installed? If you just try to install the @tmn505 tree based image on a Luma that has been snapshot updagred already, you go into an ugly boot cycle, I hear.

My layout is nearly identical, thanks.

I believe the updatevol command should be ubiupdatevol?

Downloaded the snapshot today and it does not fit

ubiupdatevol: error!: "/tmp/kernel" (size 3893260) will not fit volume "/dev/ubi0_0" (size 3809280)

I deleted partition 0 and 1 then recreated taking a little from part 1 to expand part 2 then got it loaded up.

@rayclark, deleting partitions 0 and 1, did you mean that you recreated the same partitions, just made the 1st partition smaller? Asking since I read here that you deleted 0 and 1, then i also see part 2, so 3 partitions in all?

I deleted part 0 and 1; shrank part 1; and expanded part 0. I did not touch parts 2 and 3. Sorry for the poor communication.

My unit has been running stable for a while now. Curious what the procedure is on getting this image as part of the stable builds?

Mind you, I do not use a lot of features and rarely look at syslog for any errors that may be occurring. I have a basic setup with one unit running as my router along with WiFi, and the other 3 running strictly in AP mode (DHCP turned off, static IPs, different WiFi channels for each unit and all hard wired around the house).

1 Like

I ran into the same problem and eventually gave up on it.

I had picked up two used Luma nodes to experiment with but I ended up just adding them to my existing Luma mesh network.

Had a similar issue where any keys I pressed would not register during boot. Turned out that my connection was bad even thou all the cables from the TTL seemed to be connected correctly. I resoldered the header pins on the board and slightly tightened the ends on the cables, then it worked.

Another thing to try is a different USB TTL adapter.

I messed with i2cset a bit and here's what each bit does for the leds:

i2cset -y 2 0x48 x y z a i

x - ring mode
1 - off
2 - not sure what this does - I can't figure out the parameters but sometimes it flickers the lights
3 - solid ring
4 - seems to set the brightness of a single led
5 - spinning ring 
6 - fill ring starting at 10' o clock position
7 - flashing
8 - pulse ring on and off
y - ring color
0 - off
1 - red
2 - green
3 - yellow
4 - blue
5 - purple 
6 - cyan
7 - white
z - changes depending on mode
mode 3 - changes brightness / any number between 0 (off) and 20 (max brightness)
mode 4 - led number
mode 5 - spin speed
mode 6 - fill speed
mode 7 - off duration

a - changes depending on mode
mode 4 - led brightness
mode 7 - on duration

I'll mess with it some more later to see what else it can do

Thinking to get a Luma for 802.11s mesh. Want to know if Luma support DFS channels after flash to OpenWrt? If anyone can confirm?

Channel 52 works fine, but not 100.

Thank you.

Just a heads up, this router is included in the 21.02 release candidates now

https://downloads.openwrt.org/releases/21.02.0-rc4/targets/ipq40xx/generic/

This topic was intended for adding support for this specific device.
Since official 21.02.0 images are available now, I will set a timer for this topic to close.

Why?

Because specific problems for this device with official releases are better handled in separate topics, in order to make finding relevant information easier. Who is going to read the previous 100-something postings, if he has a specific problem with 21.02.0 and wifi?

Therefore: Please open new topics for any open issues with this device.

Thanks! :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.