From: Jaehoon Chung Date: Thu, 01 Dec 2016 21:29:23 +0900 Subject: [U-Boot] flash the images to NAND automatically with SD Boot in uboot? In-Reply-To: <1480581045390-275350.post@n7.nabble.com> References: <1480581045390-275350.post@n7.nabble.com> Message-ID: <9d489347-a8e9-a714-07eb-814e4d2a4dbb@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 12/01/2016 05:30 PM, grbesd1 wrote: > Hi Guys, > > i need little help, i have to auto update nand every time i put my sd card. > > i can get which register[pin mux] decides NAND or SD boot. I'm using 2010 > uboot code. > > what i'm looking is > > 1. This should run only when the SD boot is happening > 2. I have to create auto upgrade function in uboot source code. > 3. In this function, check whether ?u-boot.min.nand?, ?u-boot.bin? files are > available in the SD Card[FAT partition][fatls mmc 0] > If available: > Do the flashing u-boot.min.nand to nand flash. > Flash u-boot.bin to NAND. > 4. then exit. Sorry, i don't know exactly what is your question. Your question is those sequences is right or not? Best Regards, Jaehoon Chung > > uboot source code > > http://arago-project.org/git/projects/?p=u-boot-ipnc-rdk-dm81xx.git;a=tree > > regards, > grbesd1 > > > > -- > View this message in context: http://u-boot.10912.n7.nabble.com/flash-the-images-to-NAND-automatically-with-SD-Boot-in-uboot-tp275350.html > Sent from the U-Boot mailing list archive at Nabble.com. > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot >