I've never built OpenWRT from scratch. Can I take the existing image found on the device page, and rebuild it? What would be the most straightforward path to just enabling the I2C?
The steps I'm finding are for a complete build, which I would want to avoid if there's an easier way instead of building the whole thing from scratch.
Thank you in advance.
Thank you. I truly appreciate the guidance and detailed instructions.
This might be a super dumb question, but I now have the i2c.dtb in OpenWRT root. I rebooted, interrupted autoboot to get uboot prompt, and set uboot setenv to i2c.dtb. That didn't work because the SD card partition doesn't have the i2c.dtb file, but the original dtb file > armada-3720-espressobin-v7.dtb What am I doing wrong?
Hit any key to stop autoboot: 0
Marvell>> setenv fdt_name i2c.dtb
Saving Environment to SPI Flash...
SF: Detected mx25u3235f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
Erasing SPI flash...Writing to SPI flash...done
** File not found i2c.dtb **
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
Marvell>> ext4ls mmc 0:1
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 4096 lost+found
Using the updated dtb somehow didn't work, just led to a string of errors so looks like I'll have to bite the bullet and learn rebuilding the image. I'll post rebuild related question in another category and will come back to update this one once I'll have the I2C working on Espressobin.
Thank you again, I really appreciate all your help.
Where exactly would I go to enable the I2C? I looked in the menu options, looked for dts files in all the directories, I found some associated with the Espressobin, but can't find any reference to I2C in them.