Hello !
I recently got all the ingredients to make Raspberry Pi 4 into OpenWRT:
Raspi 4B with 4GB RAM
Samsung Endurance Pro microsd card 32 GB
PoE Splitter
TP-Link SG108PE switch (vlan capable)
openwrt-21.02.0-rc2-bcm27xx-bcm2711-rpi-4-squashfs-factory.img
In the end, I figured out how to make it work, however, not with the micro SD Card mentioned above, but another one, 1GB, which I happened to have around.... it seems like endurance SD card died but I don't know how...
Initially I had difficulty with SG108PE because VLAN1 was untagged by default at every port and I couldn't get rid of it. I got confused and ended up making the switch no longer accessible, so I had to reboot it, causing power cycling of RasPi. I did it probably 3 times or so. After doing it twice, Raspi OpenWRT was still accessible, but after the 3rd time, I couldn't ping it anymore.
I cooled myself down and figured out what I should be doing: OK, I should leave two ports of the switch intact, I should create wlan on RasPi so that I can access even if I mess up the port, etc. But it was too late: the card didn't run at all even after I reflashed it a few times. So for now I just got 1GB SD card and now I managed to get so far as to set up WAN with eth0.123, configured the switch correctly, so that I could use the internet with RasPi as router. I would like to do more (my management VLAN is 16, I want two guest-vlan, then Unifi controller, etc), but I guess after I got the proper SD Card.
I don't understand what happened to the endurance SD card.... it doesn't show any sign that the file system is corrupt, I can use it for other files quite OK, I ran disk repair and I get message that there was nothing to repair. But I flash OpenWRT, it's not usable. I looked around on-line and all what people are saying seems to be that, if you power cycle Raspi, SD card may get corrupt, that one has to reflash again (with whatever tihng they want to use). This seems to mean that, if you do reflash, it should work again. But it's not what's happening to my card. I guess I flashed it correctly (using balena etcher), because my 1gb card is working.
Could someone tell me what is going on ?
If I keep working with the 1GB card till it get's too tight, can I upload the configuration from the back-up to the new card ?
Another thing: I haven't tried hard enough yet , but wlan doesn't seem to work as it should: I don't see any signal coming out. I read that there are some issues because of country-code, but haven't found a page with an explanation exactly what one should do to make it work. Could someone give me the link of a page with an explanation what should be done ?
I would appreciate your help very much !!