The NAND I have on RB450G reports as NAND device: Manufacturer ID: 0xad, Chip ID: 0xd3 (Hynix NAND 1GiB 3,3V 8-bit).
The partitioning is not read from the device nor the bootloader, it is specified in the kernel driver, under drivers/mtd/nand/rb4xx_nand.c
My partition table is
0x000000000000-0x000000040000 : "booter"
0x000000040000-0x000000a00000 : "kernel"
0x000000a00000-0x000040000000 : "rootfs"
Thus, the kernel has 10MB and rootfs has 128MB, the rest of the flash is not used. (I don't need the space yet, as I use the NFS as rootfs)
However, I also do have problems with loading kernels larger than about 3.5 MB, not sure why ... but I am building & trimming the ELF image with a custom script, so there might be a problem in there.
I also went thru the setup code for the Ubiquity RS Pro and Dlink 825 which seem to use the same PHY (AR8316), but haven't found anything special (I believe that each manufacturer connects the switch at whichever processor interface port he likes).
KanjiMonster posted a wiring of the ports at AR8316 that I am assuming is correct:
* Port 5 directly wired to WAN on eth0.
* Ports 2-4 are LAN3-1 (i.e., LAN1 is Port 4, LAN2 is 3 and LAN1 is 2).
* Port 1 isn't connected anywhere
* Port 0 is the CPU port and connected with eth1.
According to this information, I don't understand the behavior of my RB450G:
the eth0 interface (the software name in kernel) goes up first and has the AR8316 attached & detected ... but it is also this interface that is used for the hardware port that is labeled Eth1/PoE and it gets an address from my DHCP!
On the other hand, eth1 interface (the software name in kernel) goes up second and does not communicate at all, and is not swconfig configurable.
Does anyone (KanjiMonster, russo) experience the same thing?
I am really missing the datasheets or other documentation for both the processor and switch chip ...