However, the end result is the router will NOT have any network connections. In fact, both WIFI and Ethernet are absent. If I navigate to /etc/config, I can see that the network configuration file is absent too..
In other words, I am do NOT see these in serial console during boot. The boot process COMPLETES and none of these are shown..
Code: Select all
[ 33.130000] fuse init (API version 7.18)
[ 36.220000] device eth0.1 entered promiscuous mode
[ 36.230000] device eth0 entered promiscuous mode
[ 36.240000] br-lan: port 1(eth0.1) entered forwarding state
[ 36.250000] br-lan: port 1(eth0.1) entered forwarding state
[ 38.250000] br-lan: port 1(eth0.1) entered forwarding state
[ 39.910000] device wlan0 entered promiscuous mode
[ 40.120000] br-lan: port 2(wlan0) entered forwarding state
[ 40.130000] br-lan: port 2(wlan0) entered forwarding state
[ 42.130000] br-lan: port 2(wlan0) entered forwarding state
[ 45.510000] ramips-wdt: timeout value 60 must be 0 < timeout < 33
The problem here is I CANNOT put target into Gargoyle and make it use it.
The ONLY way I can build a ROM is to issue
1)
Code: Select all
make custom
2) The menuconfig will appears and I will select the platform (rt305x), the target (I use default as it will build all the targets), select all the Gargoyle as well as any packages I want to use.
3) Before I save the configuration, I will copy and replace /gargoyle/custom-src/target/ramips with my known working copy from /openwrt-trunk/target/ramips
4) After I save the configuration, gargoyle will start building and downloading.
5) In this way, I will be able to build the ROM successfully that can boot fully, except having network issues. (I have tried this on two different target routers many times already in the last few days, so I am 100% sure there is a problem here..)
Yes, even though my target router does not show under menuconfig. The ROM is generated because I have replaced the /gargoyle/custom-src/target/ramips
Questions:
a) Since my method above didn't work. How do I add custom target profiles and able to build it?
i.e. all the patches and configuration changes made that are inside /openwrt-trunk/target/ramips
b) How can I include custom configuration files into the ROM?
In OpenWRT, I can add configuration files by putting it under /openwrt-trunk/files/
However, if I put files under /gargoyle/custom-src/files
it seems like they will NOT be incorporated into the ROM at all because I noticed that ALL the ROM I generated are EXACTLY the same size!!! they are all 3201kb. Not even 1kb difference.. even the files I added are at least a few hundred kb.
I could post all the RT305x ROM I have generated if anyone wants to try them but at your own risk because it may BRICK the router and can only be recovered via serial/tftp. At least I know it didn't work in my routers.