Hi George, George Ng wrote: > With > > $ ptxdist platform > configs/platform-friendlyarm-mini2440/platformconfig-NAND-128M > > I got the following result; > > [...] > <curious error messages snipped> > [...] > > I don't think this is the correct way to configure.
PTXdist is still confused by your first command. It still tries to use the run-time Barebox config. You should start again from the beginning. Your first wrong "select" (with "--force") command creates this symbolic link in your project directory: selected_ptxconfig -> configs/platform-friendlyarm-mini2440/barebox-128m-env/config Remove this symbolic link first. The second existing symbolic link is: selected_platformconfig -> configs/platform-friendlyarm-mini2440/platformconfig-NAND-128M from your "platform" command. If PTXdist was able to find the toolchain a third symbolic link should exist: selected_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/ "selected_platformconfig" and "selected_toolchain" should be corrent, while the "selected_ptxconfig" points to the wrong file. After removing the bad "selected_ptxconfig" symbolic link and running the "select" command again with the correct file it should work without curious error messages. $ ptxdist select configs/ptxconfig Here it now looks like this: lrwxrwxrwx 1 jb user 62 Oct 24 10:18 selected_platformconfig -> configs/platform-friendlyarm-mini2440/platformconfig-NAND-128M lrwxrwxrwx 1 jb user 61 Oct 24 10:16 selected_ptxconfig -> configs/platform-friendlyarm-mini2440/barebox-128m-env/config lrwxrwxrwx 1 jb user 116 Oct 24 10:18 selected_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/ Now you should be able to build the project smoothly. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
