Dear Robert,

With

$ ptxdist platform
configs/platform-friendlyarm-mini2440/platformconfig-NAND-128M

I got the following result;

/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_platformconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
info: selected platformconfig:
      'configs/platform-friendlyarm-mini2440/platformconfig-NAND-128M'

/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_ptxconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_ptxconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
found and using toolchain:
'/opt/OSELAS.Toolchain-2011.03.1/arm-v4t-linux-gnueabi/gcc-4.5.2-glibc-2.13-binutils-2.21-kernel-2.6.36-sanitized/bin'

/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_ptxconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_ptxconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_ptxconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution
/home/GeorgeNotebook/local/OSELAS.BSP-Pengutronix-Mini2440-2011.09.1/selected_ptxconfig:
line 45: ${eth0.serverip}:/home/${user}/nfsroot/${machine}: bad substitution

I don't think this is the correct way to configure.

Regards

George


On Mon, Oct 24, 2011 at 3:04 PM, Robert Schwebel
<[email protected]>wrote:

> 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 |
>

Reply via email to