[U-Boot] driving a serial peripheral in u-boot

Wolfgang Denk wd at denx.de
Tue Aug 11 11:50:20 CEST 2009


Dear "Dexdyne Postmaster",

In message <memo.20090811100117.12188B at postmaster+dexdyne.com.cix.co.uk> you wrote:
> 
> Our AVR32 board has a GSM modem attached..
> 
> I'd like to send an SMS at power-on, though if we successfully boot Linux
> it will do more sophisticated stuff.
> 
> If we get the SMS, then nothing further we know the boot failed.
> 
> Is there an example anywhere of u-boot talking to a device on a serial
> port ( which is not the console ) I can use as an example?

See common/modem.c and search the code for mdm_init().

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Horses just naturally have mohawk haircuts.


More information about the U-Boot mailing list