On Mon, Oct 24, 2011 at 02:58:10PM +0800, George Ng wrote: > So what is the command? if I want to configure the board memory to > 128M for the mini2440.
I'm not so familiar with that BSP, so let's have a look: rsc@thebe:OSELAS.BSP-Pengutronix-Mini2440$ ls -l configs/ total 108 drwxr-sr-x 7 rsc ptx 4096 Sep 16 17:48 platform-friendlyarm-mini2440 -rw-r--r-- 1 rsc ptx 49127 Sep 16 17:48 ptxconfig -rw-r--r-- 1 rsc ptx 52131 Sep 16 17:48 ptxconfig.qt rsc@thebe:OSELAS.BSP-Pengutronix-Mini2440$ ls -l configs/platform-friendlyarm-mini2440/ total 224 -rw-r--r-- 1 rsc ptx 5668 Sep 16 17:48 Changelog -rw-r--r-- 1 rsc ptx 356 Sep 16 17:48 README drwxr-sr-x 2 rsc ptx 4096 Sep 16 17:48 barebox-128m-env drwxr-sr-x 2 rsc ptx 4096 Sep 16 17:48 barebox-64m-env -rw-r--r-- 1 rsc ptx 5593 Sep 16 17:48 barebox-NAND-128M.config -rw-r--r-- 1 rsc ptx 5593 Sep 16 17:48 barebox-NAND-64M.config -rw-r--r-- 1 rsc ptx 48605 Sep 16 17:48 kernelconfig-2.6.38 -rw-r--r-- 1 rsc ptx 49415 Sep 16 17:48 kernelconfig-2.6.39 -rw-r--r-- 1 rsc ptx 49939 Sep 16 17:48 kernelconfig-3.0 drwxr-sr-x 6 rsc ptx 4096 Sep 16 17:48 patches -rw-r--r-- 1 rsc ptx 5243 Sep 16 17:48 platformconfig-NAND-128M -rw-r--r-- 1 rsc ptx 5239 Sep 16 17:48 platformconfig-NAND-64M drwxr-sr-x 3 rsc ptx 4096 Sep 16 17:48 projectroot drwxr-sr-x 2 rsc ptx 4096 Sep 16 17:48 rules There is only one ptxconfig (to be selected with 'ptxdist select'), but two platform configs for different memory sizes. I suppose this is $ ptxdist platform configs/platform-friendlyarm-mini2440/platformconfig-NAND-64M rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
