view loadtools/scripts/pirelli.config @ 405:ed9b67e7e741

fcup-smsend: fixed bug in the handling of -W with no dest address argument The original code checked for argv[optind+1] when argv[optind] is NULL; on most systems this bogus code gets the first line of the environment, which is clearly not what we are after. Fixed the code to check argc instead.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Aug 2018 18:59:54 +0000
parents e7502631a0f9
children 49ee210fc4fb
line wrap: on
line source

# The following parameters go into the <p command sent to the boot ROM

pll-config 4/1		# 26 MHz in, PLL&DSP @ 104 MHz, ARM @ 52 MHz
rhea-cntl 0x00		# fastest setting, used by OsmocomBB, presumably correct

# The remaining settings are carried out via loadagent commands
init-script pirelli.init

# Flash type and chip select base addresses
flash pl129n 0x03000000 0x02000000

# On this phone the current best exit strategy is jump0.
# A Iota power-off, even if we implement one, won't be any different:
# having the serial connection implies a USB connection, that in turn
# implies having VBUS, and thus a Iota power-off will immediately
# result in another power-on for charger-insert.

exit-mode jump0