comparison loadtools/scripts/c155.config @ 509:49ee210fc4fb

loadtools/scripts/*.config: new flash config
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 May 2019 07:42:39 +0000
parents 2cd705c8116e
children
comparison
equal deleted inserted replaced
508:211be4dc6be2 509:49ee210fc4fb
1 # This configuration is for Motorola C155/156 phones. Use the "generic" 1 # This configuration is for Motorola C155/156 phones. Use the "generic"
2 # compal configuration for C11x/123 and C139/140. 2 # compal configuration for C11x/12x and C139/140.
3 3
4 compal-stage thumb 4 compal-stage thumb
5 5
6 # Parameters for the Calypso boot ROM; 6 # Parameters for the Calypso boot ROM;
7 # will result in the ARM core being clocked at 52 MHz as we want. 7 # will result in the ARM core being clocked at 52 MHz as we want.
10 rhea-cntl 0x00 10 rhea-cntl 0x00
11 11
12 # The remaining settings are carried out via loadagent commands 12 # The remaining settings are carried out via loadagent commands
13 init-script c155.init 13 init-script c155.init
14 14
15 # 8 MiB flash, accessible at 0x03000000 without the strange issue 15 # 8 MiB flash, accessible at 0x03000000 without any problems
16 # seen on the lower C1xx models, but the flash chip turns out to have 16 flash single-8M 0x03000000
17 # partition quirks like the one on the D-Sample, so we need to
18 # tell fc-loadtool about it explicitly instead of using CFI.
19 # The actual chip in these phones is a flash+RAM MCP, but the flash part
20 # is exactly the same as the 28F640W30B on the D-Sample (same geometry,
21 # same ID codes), so we just tell fc-loadtool that it's a 28F640W30B.
22 flash 28f640w30b 0x03000000
23 17
24 # bottom boot flash, sector 0 is only 8 KiB 18 # bottom boot flash, sector 0 is only 8 KiB
25 boot-reflash-hack 0x820000 0x2000 19 boot-reflash-hack 0x820000 0x2000
26 20
27 # Perform a Iota poweroff when we are done 21 # Perform a Iota poweroff when we are done