On Freitag, 14. November 2008, Rohit Pandita wrote:
> Hi Juergen,
> Thanks. Migrating to ptxdist-1.0.2 seemed like a lot of rework, so
> instead I included the modification given in the .diff file given in
> your mail directly and continued with ptxdist-1.0.1, and was able to
> built the root filesystem, images successfully. Now, I've run into
> another problem. To do a network boot, according to the doc I ran
> 'ptxdist test setenv' to setup the target, but this is what I got,
>
> /buildpart: 2: function: not found
> shift: 6: can't shift that many
>
> I tried, the same trick as in busybox/trylink problem and replaced
>
> 'function build_part {' with 'build_part() {'
>
> but I got another set of errors,
>
> /OSELAS.BSP-Phytec-phyCORE-MPC5200B-tiny-6/tests/buildpart: 58: Illegal
> number: 16*1024*1024
> /OSELAS.BSP-Phytec-phyCORE-MPC5200B-tiny-6/tests/buildpart: 58: Illegal
> number: 128*1024
> /OSELAS.BSP-Phytec-phyCORE-MPC5200B-tiny-6/tests/buildpart: 58: Illegal
> number: 256*1024
> /OSELAS.BSP-Phytec-phyCORE-MPC5200B-tiny-6/tests/buildpart: 58:
> arithmetic expression: expecting primary: "  %  "

Please change the first line in "tests/setenv" to "#!/bin/bash" and try again 
(do the same in "tests/flash").

Regards,
Juergen

-- 
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9

--
ptxdist mailing list
[email protected]

Reply via email to