[U-Boot] Renaming files on an SD card

2011-04-25 Thread D Kesselring
Is there any way to rename or delete a file from a FAT formatted SD card? -- W. David Kesselring 919-349-1079 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Renaming files on an SD card

2011-04-25 Thread D Kesselring
(My apologies for the last message. I tried to send it from my phone.) I should have been more specific. On first boot, I boot the os then rename a uboot script so that it will run on reboot. Once the script runs now I need to either delete or rename the script so that it does not rerun on the next

[U-Boot] Reading from NAND

2011-02-18 Thread D Kesselring
Hello, I am trying to add some code to U-Boot that will read a NAND location to determine how to setup some environment variables. I am using a LogicPD SOM board with an OMAP3503 (very similar to Zoom). I have found the code that handles the user nand commands and am trying to use ‘nand_read_skip_b

Re: [U-Boot] Reading from NAND

2011-02-18 Thread D Kesselring
do a couple of setenv. Nand is working fine. I can execute the nand commands from the command line without problems. If you have any insights please let me know. David On Fri, Feb 18, 2011 at 1:54 PM, Scott Wood wrote: > On Fri, 18 Feb 2011 08:29:45 -0500 > D Kesselring wrote: > >>

Re: [U-Boot] Reading from NAND

2011-02-19 Thread D Kesselring
After some experimenting the only issue that I have now is trying to do an itest on a non-aligned byte. I get an alignment exception if I test a non-word aligned bype. Is there a way to do a bitwise AND so that I can read a word and mask out the byte that I am interested in? Also does the shell sup

Re: [U-Boot] Reading from NAND

2011-02-21 Thread D Kesselring
> Is there any reason for not using itest.b directly? If I do a test on a non-word aligned location the processor gets an exception. Also does the shell support adding values like "itest *(${base} + ${offset}) == 0x01"? Or any other integer addition or subtraction so that a loop can walk an array?