HI,
I want to change RCWHR register bits.As it is read only so How can I change its values?Actually I want to configure it in SGMII mode.
Thanks in advance.
Hi,
As far I know for 83xx targets, the RCW part is located in the NOR flash. So you must write the new RCW binary at the beginning of the NOR.
The RCW registers are read-only are used only to illustrate the RCW setup in the NOR flash.
Regards,
Marius
Thanks Marius
Can you please guide me further.I am not finding the address of NOR flash.How can I write in NOR.
Hi,
Please take a look here [1] for finding the util commands for NOR flash use.
Basically, these are:
md - memory display
protect - using with <protect off> useful for making unprotect before any erase/write to the NOR flash
cp - copy the necessary bytes from source to destination (NOR flash in your case)
For finding the NOR flash start address please use bdinfo command - need to take a look after flashstart parameter (not sure if is implemented in your u-boot) or reginfo command - need to take a look after BR0 value.
=> bdinfo
memstart = 0x00000000
memsize = 0x100000000
flashstart = 0xE0000000
flashsize = 0x08000000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0xFE000000
bootflags = 0x00000000
intfreq = 1499.985 MHz
busfreq = 799.992 MHz
addressing = 36-bit
ethaddr = 00:04:9F:01:E3:FE
IP addr = 192.168.100.26
baudrate = 115200 bps
relocaddr = 0x7FF30000
=> reginfo
BR0 0xE8001001 OR0 0xF8000F85
-> this means that the NOR flash is mapped starting from 0xE800_0000
Please note that at 83xx boards the RCW is located just at the beginning of the flash.
Regards,
Marius