Hi,
I have P4080DS board. When I want to boot p4080ds from nor flash bank 1, I need to set SW 7[0100XXXX] and load related OS image. Then change SW7 to [0000XXXX] boots the board. Is there a way that without change SW7 configuration load OS image correctly for all nor flash banks?
For example set SW7 to [0000XXXX] then load os image to boot region 5.(To do that I need to know relative addressing for boot region 5 while SW7 [0000XXXX] ) After that set SW7 to [0101XXXX] then boots to board? Is this possible?
Best regards.
> When I want to boot p4080ds from nor flash bank 1
Only 2 bank configurations are supported in the Linux SDK: current and alternate - refer to the SDK documentation:
Note that it is not reliable to have more than two configurations because the NOR Flash size is 128MB and Linux distribution precompiled images consume about 37MB.
Example for 768kB U-Boot mapping with base address 0xeff40000:
SW7[2-4] | Start address | End Address | |
000 | 0xeff40000 | 0xefffffff | current |
001 | 0xeef40000 | 0xeeffffff | |
010 | 0xedf40000 | 0xedffffff | |
011 | 0xecf40000 | 0xecffffff | |
100 | 0xebf40000 | 0xebffffff | alternate |
101 | 0xeaf40000 | 0xeaffffff | |
110 | 0xe9f40000 | 0xe9ffffff | |
111 | 0xe8f40000 | 0xe8ffffff |
SW7[2] -> 0x0400_0000
SW7[3] -> 0x0200_0000
SW7[4] -> 0x0100_0000