FreeCalypso > hg > freecalypso-sw
annotate loadtools/scripts/pirelli.init @ 88:ccde45a06737
nuc-fw: beginning of the configuration mechanism
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 23 Aug 2013 02:02:59 +0000 |
parents | 9a77b3395747 |
children | 5b53cad88637 |
rev | line source |
---|---|
18
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 # This phone has 3 memory chip selects: |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 # |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 # nCS0: flash chip select 1 |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 # nCS1: RAM chip select |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 # nCS3: flash chip select 2 |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 # |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 # All 3 chip select lines go to the same physical IC, a RAM/flash MCP. |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 # We set WS=4 for all 3 here, copying what OsmocomBB does. The access |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 # time listed in the datasheet is 70 ns for both RAM and flash, and per |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 # my math setting WS=3 *might* work, but it could be marginal, so let's |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 # play it safe for now. |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 w16 fffffb00 00A4 |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 w16 fffffb02 00A4 |
fa3e9a5665bd
loadtool hw configuration files created for the Pirelli
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 w16 fffffb06 00A4 |
32
9a77b3395747
Pirelli ADD22 configuration
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
18
diff
changeset
|
16 |
9a77b3395747
Pirelli ADD22 configuration
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
18
diff
changeset
|
17 # We also need to switch the CS4/ADD22 pin from its default function |
9a77b3395747
Pirelli ADD22 configuration
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
18
diff
changeset
|
18 # of CS4 to the needed ADD22. |
9a77b3395747
Pirelli ADD22 configuration
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
18
diff
changeset
|
19 |
9a77b3395747
Pirelli ADD22 configuration
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
18
diff
changeset
|
20 w16 fffef006 0008 |