Hello Wolfgang, Thank you for your quick answer.
>What do you mean my "u-boot parameters"? To be clear I mean u-boot parameters the environment variables which are denied for example: CFG_ENV_IS_IN_FLASH or CFG_ENV_IS_IN_EEPROM >Note however that the opposite direction is harder: there is no FAT >write support. > >OK, you can read and write raw sectors, but this is obviously less >flexible (but has the charming benefit to work out of the box). My new board does not have Flash nor EEPROM. It has only Compact Flash. What would be than your suggestion to access (read/write) u-boot (parameters) environ variables? When the board is booted than at first the simply boot loader which is in Xilinx internal BRAM can place u-boot environ variables from file (on Compact Flash) to the RAM memory and next u-boot can be booted. In such a scenario u-boot can access easily parameters from RAM. The problem remains valid how to write theses environ variables back to the file on Compact Flash. Best Regards Miroslaw Dach -----Original Message----- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Thu 1/20/2011 1:09 PM To: Dach Miroslaw Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] U-boot Config Parameters on Compact Flash Dear "Dach Miroslaw", In message <1b4f8000449511488d1a640dd6deca350392a...@mailbox0a.psi.ch> you wrote: > > Compact Flash has few partitions (ie. FAT and EXT2). > Is it possible to configure u-boot to access (ie. read/write) u-boot > parameters which are on Compact Flash as a file? What do you mean my "u-boot parameters"? Of course you can for example read a file from a FAT file system on the CF card, and then import the environment from this. Note however that the opposite direction is harder: thre is no FAT write support. OK, you can read and write raw sectors, but this is obviously less flexible (but has the charming benefit to work out of the box). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Anarchy may not be the best form of government, but it's better than no government at all. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot