Nothing changes in u-boot - you boot the system as normal. Your new updater just runs at start up as other parts of the system do, such as syslog, ssh or cron for example.
Have you considered using RPM as the package format for your app? You get it for 'free' on the DM6446 and the package is available for DM355. RPM gives you dependancy checking, digital signing, pre/post (un)install scripting and package verification based on timestamp, file size, ownership & MD5sum. AFAIK 'UBL' is the U-Boot Loader - that is a very small program that copies the U-Boot image from NAND into RAM and runs it. This may well be an assembly language program (I have never had any reason to study it) so good luck if you want to change it. U-Boot is the boot loader. It allows rudimentary access to the FLASH and RAM on the board and typically a way of loading an operating system kernel. Integrating an app updater into this may be a challenge especially as it knows nothing about JFFS/YAFFS filesystems. You may be able to FLASH the entire filesystem but that gets interesting if the filesystem image won't fit in RAM and you have to know about any bad blocks in the NAND as well. Regards Phil Q Phil Quiney, Principal Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.com -----Original Message----- From: Vijay Soni [mailto:[EMAIL PROTECTED] Sent: 14 October 2008 13:46 To: [email protected]; Phil Quiney Subject: RE: DM355 bootloader Phil, If it can be added as service to Linux start up, what kind of situation needs change in u-boot. Again, what is the difference between UBL and u-boot? Thanks, Vijay --- On Tue, 10/14/08, Phil Quiney <[EMAIL PROTECTED]> wrote: > From: Phil Quiney <[EMAIL PROTECTED]> > Subject: RE: DM355 bootloader > To: [EMAIL PROTECTED], [email protected] > Date: Tuesday, October 14, 2008, 6:01 PM Hi, > > Why put this 'app update' in u-boot, why not add it to the Linux start > up as a 'service'? > > Keeps it simple - you can write the update program in > C/bash/python/perl and you will find it much easier to debug. > > Regards > > Phil Q > > > Phil Quiney, Principal Software Engineer Trinity Convergence Cambridge > Business Park Cowley Road Cambridge CB4 0WZ, UK > T: +44(0)1223-435536 > F: +44(0)1223-435560 > www.trinityconvergence.com > > > -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Vijay Soni > Sent: 14 October 2008 13:27 > To: [email protected] > Subject: DM355 bootloader > > Can someone tell what is the difference between U-Boot and UBL? > I need to have a way to update the app software in DM355 which I think > resides on nand flash, with new app from sd card or usb port. What > change I need to make in the U-Boot or UBL? > > > > > > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
