Attention is currently required from: fixeria, steve-m.
falconia has posted comments on this change. (
https://gerrit.osmocom.org/c/osmocom-bb/+/30051 )
Change subject: fw: Add initial support for Sony Ericsson K200i/K220i phones
......................................................................
Patch Set 1:
(2 comments)
Patchset:
PS1:
Overall looks OK for first draft. I see that you aren't doing any model-specific GPIO
config, but since you leave everything in power-up default state, it should be safe to
run. To get correct GPIO config, someone would have to disasm original fw deep enough to
find those settings, ditto for MEMIF. I did a little disasm, but not deep enough to reach
those bits - I only got as far as the bootloader so far.
RF tables: look in my freecalypso-reveng repository, se_k200i directory - the rf_XXX.c
files you'll find there are extracts from original fw. Basically you would need to
copy gta0x/rf_tables.c, keep the levels tables unchanged (SE fw left them unchanged from
TI's version too, as you can see in my rf_XXX.c extracts), but replace all ramps with
those from se_k200i/rf_XXX.c files. However, what APC offset is used by the original fw is
the big unknown, and if it's wrong, all levels will off despite reading calibration
records - this part is always a bummer.
AFC params: use "tiffs $flashdump 256x13 decode afcparams" to look at factory
numbers on a few units, then use my little osmo2psi hack in freecalypso-reveng to find an
AFC slope number in your style that is approximately close.
File src/target/firmware/board/se_k2x0/init.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/30051/comment/0fc8af61_6b666781
PS1, Line 62: compal loader
There's actually no Compal's loader in these
SE phones (unlike the J100i). […]
TI's boot ROM does not leave watchdog enabled
when jumping to serially downloaded code, but explicitly disabling it in your own
firmwsres should be considered good practice, so you are not dependent on this or that
bootloader and its peculiarities.
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/30051
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I711702862b1cec5a8089dac071f8a171ca026003
Gerrit-Change-Number: 30051
Gerrit-PatchSet: 1
Gerrit-Owner: steve-m <steve(a)steve-m.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: steve-m <steve(a)steve-m.de>
Gerrit-Comment-Date: Wed, 09 Nov 2022 16:31:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment