FreeCalypso > hg > fc-tourmaline
view components/nucleus_flash @ 280:82665effff30
keypad boot init overhaul: handle initially held-down keys
This change fixes two previous behavioural defects:
1) On Compal phones, the PWR key had to be released before the boot
sequence would proceed at all - it was stuck in an endless IRQ loop
at the point of Nucleus enabling interrupts, before anything else.
2) On both Compal and sane platforms including Luna, if some regular
non-PWR key was held down at boot time, the boot sequence would
proceed and complete normally, but all non-PWR keypad buttons would
be dead for the remainder of that boot cycle.
The fix is a generic solution - no Compal-specific hack ended up being
needed for the special case of their idiotic PWON-to-ROW4 hw wiring.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 Sep 2021 00:47:12 +0000 |
parents | 572c3ee87676 |
children |
line wrap: on
line source
# New Tourmaline component: compiling Nucleus from source (XIP) CFLAGS="-mn -me -mt -o -mw" CPPFLAGS= SRCDIR=$SRC/nucleus cfile_plain $SRCDIR/dmce.c cfile_plain $SRCDIR/dmd.c cfile_plain $SRCDIR/dmf.c cfile_plain $SRCDIR/dmi.c cfile_plain $SRCDIR/dms.c cfile_plain $SRCDIR/erc.c cfile_plain $SRCDIR/erd.c cfile_plain $SRCDIR/eri.c cfile_plain $SRCDIR/evc.c cfile_plain $SRCDIR/evce.c cfile_plain $SRCDIR/evd.c cfile_plain $SRCDIR/evf.c cfile_plain $SRCDIR/evi.c cfile_plain $SRCDIR/hic.c cfile_plain $SRCDIR/hid.c cfile_plain $SRCDIR/hii.c cfile_plain $SRCDIR/inc.c cfile_plain $SRCDIR/ioc.c cfile_plain $SRCDIR/ioce.c cfile_plain $SRCDIR/iod.c cfile_plain $SRCDIR/iof.c cfile_plain $SRCDIR/ioi.c cfile_plain $SRCDIR/lic.c cfile_plain $SRCDIR/lid.c cfile_plain $SRCDIR/mbc.c cfile_plain $SRCDIR/mbce.c cfile_plain $SRCDIR/mbd.c cfile_plain $SRCDIR/mbf.c cfile_plain $SRCDIR/mbi.c cfile_plain $SRCDIR/mbs.c cfile_plain $SRCDIR/mbse.c cfile_plain $SRCDIR/pic.c cfile_plain $SRCDIR/pice.c cfile_plain $SRCDIR/pid.c cfile_plain $SRCDIR/pif.c cfile_plain $SRCDIR/pii.c cfile_plain $SRCDIR/pis.c cfile_plain $SRCDIR/pise.c cfile_plain $SRCDIR/pmf.c cfile_plain $SRCDIR/pmi.c cfile_plain $SRCDIR/quc.c cfile_plain $SRCDIR/quce.c cfile_plain $SRCDIR/qud.c cfile_plain $SRCDIR/quf.c cfile_plain $SRCDIR/qui.c cfile_plain $SRCDIR/qus.c cfile_plain $SRCDIR/quse.c cfile_plain $SRCDIR/rlc.c cfile_plain $SRCDIR/rld.c cfile_plain $SRCDIR/smf.c cfile_plain $SRCDIR/smi.c cfile_plain $SRCDIR/sms.c cfile_plain $SRCDIR/smse.c cfile_plain $SRCDIR/tcf.c cfile_plain $SRCDIR/tcfe.c cfile_plain $SRCDIR/tci.c cfile_plain $SRCDIR/tcs.c cfile_plain $SRCDIR/tcse.c cfile_plain $SRCDIR/tmf.c cfile_plain $SRCDIR/tmi.c # TCS211 version of Nucleus has dmc.c compiled without -o CFLAGS="-mn -me -mt -mw" cfile_plain $SRCDIR/dmc.c