[Avila] Programming JTAG from Linux and tweaking Redboot

Dave G daveg at unixstudios.net
Mon Jul 3 20:49:52 EDT 2006


I'll grab a couple of the questions...inline below:

>
> Q2. Is it necessary to actually write it to flash? IOW, the redboot docs
> suggest that creating a RAM version of redboot is possible. Has anyone
> done this and can they provide a simple recipe?

It is possible to create a RAM version or a ROMRAM version however 
remembering back when I did it I don't recall it being a easy task...I mean 
not something that I could spell out in less than 10 or so commands. Running 
a RAM based RedBoot was useful to me simply for testing some features I was 
putting in RedBoot...rather than flashing an image and testing I could load 
a RAM based RedBoot image and exec it.

I don't think I understood the original goal completely...I just wanted to 
provide my limited experience with RAM RedBoot.

>> This has been discussed here in the past (look through the archives
>
> Q3. Are there searchable archives somewhere? I assume so since someone has
> already spammed this address and this list seems like an unlikely place to
> subscribe to sniff addresses.

Yes there are archives. We did a server migration recently on which the 
mailing list and archive web site lives. The archive web interface will be 
back in operation within the next couple days.

Thanks!

-Dave

> Thanks,
>
> Andrew
>
>> This has been discussed here in the past (look through the archives for
>> possibly more info)
>>
>> Personally for JTAG I use a personalized VMWare Virtual Machine (using 
>> the
>> free VMWare player) that boots FREEDos with a PXE network stack and 
>> leaves
>> me with a DOS cmdprompt with a drive mapped to a network share where I 
>> get
>> my images from.  This may be a little complicated to setup but the gist 
>> of
>> it is that you can use FLASH.EXE just fine with a paralell port over
>> VMWare if its the whole DOS floppy disk thing that bothers you.  Keep in
>> mind its realy slow so I only use this as a failsafe on a board I 
>> rendered
>> unbootable.
>>
>> Otherwise to update redboot I use the same method I would use to update
>> any other portion of flash - boot the board to a linux kernel and use
>> netflash.  If you conifgure your kernel right, you'll have block/char
>> devices for each flash partition including the bootloader.  Also keep in
>> mind that the binary image you would flash in via this method is NOT the
>> byte-swapped image you would feed to FLASH.EXE.
>>
>> Tim
>>
>> ----- Original Message ----
>> From: gw at lunstad.com
>> To: Avila <avila at lists.unixstudios.net>
>> Sent: Wednesday, June 28, 2006 8:26:33 AM
>> Subject: [Avila] Programming JTAG from Linux  and tweaking Redboot
>>
>> Hi Folks,
>>
>> I am beginning to tweak redboot on our 2348 and was wondering if anyone
>> had found a work-around to creating a DOS floppy and running FLASH.EXE
>> from it to program the flash. Failing that, is it possible to test a
>> redboot image from RAM (e.g. load the image and then exec it)?
>>
>> Thanks in advance,
>>
>> Andrew
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
>> For additional commands, e-mail: avila-help at lists.unixstudios.net
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
>> For additional commands, e-mail: avila-help at lists.unixstudios.net
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
>
> 





More information about the Avila mailing list