Has anyone compiled the above? if so, can you please share the compiled version.
I am currently using cmtsij's 3.18.8 version, I want to use the above but I'm a NOOB, I'm sure that it has been compiled but wondering why no one shares it, I will try to compile it myself but it looks very hard, I know it will take me weeks if not months, I will start by downloading ubuntu.
I just finished compiling it. I downloaded OpenWRT from the github.com/openwrt/openwrt.git, then I went to cmtsij's repository, pulled the three commits he made and ported them over to the newest version of OpenWRT.
I changed a few things. I made it so that Vizio XWR100 was the default profile. Then I set it so the Vizio XWR100 profile built with these packages:
kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-user-hid kmod-usb-storage kmod-usb-storage-extras kmod-ledtrig-usbdev
It was setup to build with these packages (the generic profile that was selected):
kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
Because this router supports a USB port, I was trying to set it up where that USB port could be used as external storage, if someone hooked up a USB hard drive or a USB thumb drive. I also wanted it so someone could hook a keyboard up to that USB port, if they wanted, and have it recognized and be able to type to the console.
The build was successful. I made a simple batch script that downloaded the latest version of OpenWRT from github, patched it, update the feeds, install the feeds, etc. It was supposed to call make menuconfig and then make, but I have a custom trap setup to catch error messages, to display them a bit nicer. But after the feeds get installed, for whatever reason, the script exits. I have to manually change into the directory the script creates and then manually run make menuconfig and make. I think this because the feed script calls exit. I'll have to look into that and try to come up with a workaround.
I will test the file. The openwrt-ar71xx-generic-xwr100-squashfs-factory.bin file is 3.3MB. The Vizio XWR100 has an 8MB flash with 32MB of RAM. This should be enough.
I want to work on upgrading the Nor flash and the RAM in this router though. For the RAM, I need to check to see how many address lines there are going to RAM. I figure 32MB requires 25 address lines, but someone said that this router uses DRAM, which uses a Matrix, so less address lines are required. If it requires 25 address lines for 32MB, for 64MB of RAM, it'd require 26. Not sure how to calculate the address lines for DRAM though, which use those Matrixes. I gotta research that some more.
Anyway. I'm new to this and had some questions. Is uboot the stock bootloader that comes with this Vizio? Does OpenWRT update that bootloader? The bootloader determines what types of flash are compatible, I believe. So I wanted to try and custom build uboot, if it didn't support the flash I was going to add (a 128MB (1Gb)) Nor flash (16-SOIC package).
Once I upload the OpenWRT openwrt-ar71xx-generic-xwr100-squashfs-factory.bin firmware I built and verify it doesn't brick the system or anything, I will try to upload it here for you and everyone else.
Also, I don't understand those run commands that cmtsij talks about. Do I run those on the actual router, once I get OpenWRT installed? Could someone show me an example of the entire command that I'd run?
I see he mentions tftp. That'd make me think I have to run it from my Linux box. But to my knowledge, there isn't any Linux run command. Unless it's a command for the tftp client. I don't have a lot of experience with TFTP, although, I have used it (way back when I went to college). That was with Cisco routers though. I don't remember much about it.
What are the purposes of the openwrt-ar71xx-generic-xwr100-tftp-rootfs.squash.bin image? Is there no recovery image when I install the openwrt-ar71xx-generic-xwr100-squashfs-factory.bin firmware? I see the openwrt-ar71xx-generic-xwr100-squashfs-sysupgrade.bin image is a uboot legacy uImage. Does that mean once I get OpenWRT on there, by going from stock firmware directly to OpenWRT, using the factory.bin image, if I install that sysupgrade.bin image, it'll update the bootloader?