Skip to contentSkip to conversation

U-boot - Access to files

U-Boot-Users Ram 2 participants 2 messages Dec 11, 2006

lore
Share & tools
lore

Ram

author
#0 lore raw

Hi,
Im trying to provide something like an audio interface to the bootloader.

I want to play some audio - (It could be name of the command or
simply "Downloading the kernel") - something like that.

Basically, What i want is access to some sound data in flash, i have an small audio driver in place in the boot loader,

All i want is to download the audio data file sitting somewhere in the flash and access it.
It could be a file or it could be some data flashed at some predetermined location in the
flash.

Does u-boot provide any facility to do that or has anyone tried that in u-boot?.

I know this is some kinda of a wired requirement.

Please Advice,

Regards,
sriram

#1 lore raw
Quoted 3 lines · In message <[email protected]> you…

Basically, What i want is access to some sound data in flash, i have an small audio driver in place in the boot loader,

This has been done before, see for example the "wav" command in "board/tqm5200/cmd_stk52xx.c"

Quoted 5 lines

All i want is to download the audio data file sitting somewhere in the flash and access it.
It could be a file or it could be some data flashed at some predetermined location in the
flash.

OK.

Quoted 1 line

Does u-boot provide any facility to do that or has anyone tried that in u-boot?.

Yes, and yes.

Quoted 1 line

I know this is some kinda of a wired requirement.

Looks pretty wireless to me ;-)

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Eureka!                                                 -- Archimedes