From: Keane, B. (STRX) <ben...@ka...> - 2012-11-27 23:23:55
|
No problems! Glad I could help. I like the idea of using the pen down IRQ - I might steal that ;) > -----Original Message----- > From: Paul Nolan [mailto:pa...@id...] > Sent: Tuesday, 27 November 2012 1:36 PM > To: General mailing list for gumstix users. > Subject: [Gumstix-users] How-to: Change boot device from NAND to MMC > via touch screen or GPIO > > Thanks to ben...@ka... pointing me in the right direction, my > project can now perform un-brickable updates. By default it boots to NAND, > but if there is a problem, or you need to install an upgrade, you can press the > touch screen while u-boot is loading to boot from the MMC card, which can > then present options for re-installing or upgrading the software installed to > NAND. This example tests GPIO_114_SPI1_NIRQ, which is connected to the > touch controller, but by changing the itest values you can do test any GPIO. > > u-boot script: > > if itest.l *49054038 == 00010000; then echo "Touch Down";mmc rescan > ${mmcdev}; run loaduimage; run mmcboot; else echo "No Touch";run > nandboot; fi; > > Thanks, > -- > Paul Nolan, CEO Idruna Software Inc. > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > __________________________________________________________ > ____________ > CAUTION: This message was sent via the Public Internet and its authenticity > cannot be guaranteed. PROPRIETARY: This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. |