Dave Festing | 14 May 13:01
Picon
Favicon

NFS on the mini2440

Trying to set up NFS on another machine and have hit a problem:

.......
# autoboot settings
# can be either 'tftp', 'nfs', 'nand' or 'mmc'
kernel_loc=nfs
# can be either 'net', 'nand', 'initrd' or 'mmc'
rootfs_loc=net

running /env/bin/init...

Hit any key to stop autoboot:  0
Unknown command 'nfs' - try 'help'
mini2440:/ 

Well help doesn't list the options "nfs" or "mmc" and "net"

Also, there is no mention in the Quickstart guide for "rootfs_type", when using
NFS.  As I recall it is suppose to be jffs2 for NFS or is not required?

Thanks,
Dave

Juergen Beisert | 11 May 19:04
Picon
Gravatar

Re: [ptxdist] Error building root file system using PTXdist for Mini2440

Hi Vishad,

Vishad Patel wrote:
> Downloaded BSP again from the web. Run it again. Compiled successfully.

\o/

> I have to assume something must be corrupted...

From you last mail:
> I am using Fedora16 on VirtualBox

Did you extract the BSP on your Windows machine and then transfered it to the 
virtual machine? Maybe this destroys the 'end of line' encodings. This will 
end up with many funny error messages...

> Issue is resolved...

Thanks for the info.

> Thanks for your help.

You are welcome.

Regards,
Juergen

--

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
(Continue reading)

Juergen Beisert | 11 May 08:08
Picon
Gravatar

Re: [ptxdist] Error building root file system using PTXdist for Mini2440

Hi Vishad,

Vishad Patel wrote:
> Attached is both file that i copied from the following location. I don't
> think i have made any changes intesionally. source folder for ptxconfig:
> /home/vishad/OSELAS.BSP-Pengutronix-Mini2440-2012.02.0/configs source
> folder for platformconfig:
> /home/vishad/OSELAS.BSP-Pengutronix-Mini2440-2012.02.0/configs/platform-friendlyarm-mini2440
>
> I did modified following files though.
>
> config file located at:
> /home/vishad/OSELAS.BSP-Pengutronix-Mini2440-2012.02.0/configs/platform-friendlyarm-mini2440/barebox-128m-env
> profile.envornment file located at: 
> /home/vishad/OSELAS.BSP-Pengutronix-Mini2440-2012.02.0/configs/platform-friendlyarm-mini2440/projectroot/etc

Looks sane.

I tried here the following with your files:

$ tar xf OSELAS.BSP-Pengutronix-Mini2440-2012.02.0.tgz
$ cd OSELAS.BSP-Pengutronix-Mini2440-2012.02.0
<replace the existing files with the ones you sent me>
$ ptxdist-2012.02.0 platform configs/platform-friendlyarm-mini2440/platformconfig-NAND-128M
info: selected platformconfig:
      'configs/platform-friendlyarm-mini2440/platformconfig-NAND-128M'
found and using toolchain:
'/opt/OSELAS.Toolchain-2011.11.1/arm-v4t-linux-gnueabi/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/bin
$ ptxdist-2012.02.0 select configs/ptxconfig
info: selected ptxconfig:
(Continue reading)

Juergen Beisert | 10 May 17:05
Picon
Gravatar

Re: [ptxdist] Error building root file system using PTXdist for Mini2440

Hi Vishad,

Vishad Patel wrote:
> First of all thank you very much for your response.
> Attached is the logfile.
>
> FYI: Please delete if you see multiple post. Confirmation email I received
> was filtered by our email server and I didn't realize it. As I haven't see
> email, I was keep posting it.
>
> Vishad

Your build:
-----------

[...]
  CC      common/console.o
common/console.c: In function 'fprintf':
common/console.c:346:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
make[2]: *** No rule to make target `(copy)', needed by `barebox_default_env'.  Stop.

My build:
---------

[...]
  CC      common/console.o
common/console.c: In function 'fprintf':
common/console.c:346:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
saving contents of /tmp/tmp.9RKD04ginS to 
file /home/jb/work/Pengutronix/public_bsps/OSELAS.BSP-Pengutronix-Mini2440/platform-mini2440/build-target/barebox-2011.05.0/barebox_default_env
(Continue reading)

Tim Jaacks | 10 May 11:39

Problem while using PTXdist with external kernel dir

Hello,

we are using PTXdist with an external kernel dir in local_src. The directories are correctly used, the
extract step says " local directory instead of tar file, linking build dir". If we call "ptxdist go", the
whole platform gets correctly built.
However, the directories we created (local_src/kernel.<platform> and
local_src/kernel-header.<platform>) are only links to other places in our build tree. Sometimes we
delete those links (when switching between different platforms) and re-create them later on (targeting
the same, unchanged directory). If we now re-run "ptxdist go", the kernel-header package sometimes gets
rebuilt, even though the state files are still present and nothing changed within the build tree. We have
not managed to determine under which exact circumstances this happens, sometimes it gets rebuilt,
sometimes not.
Does anybody have an idea, why this is the case and how we can prevent this? It is quite annoying, because we
have a lot of packages which depend on the kernel headers, which are then rebuilt as well, and that takes a
lot of time.

Mit freundlichen Grüßen / Best regards
Tim Jaacks

Development Engineer
Garz & Fricke GmbH
Tempowerkring 2, 21079 Hamburg - Germany
Amtsgericht Hamburg HRB 60514
Geschäftsführer: Manfred Garz, Matthias Fricke
Phone: +49 40 791899 - 55
Fax:   +49 40 791899 - 39
www.garz-fricke.com

Bernhard Walle | 7 May 22:06
Picon

[PATCH] Add QEMU as hosttool

Build QEMU as part of the BSP and use our own QEMU in the startup
scripts.

Tested on Mac OS 10.7 and Arch Linux.

Signed-off-by: Bernhard Walle <bernhard@...>
---
 configs/arm-qemu-2011.11.0/run                    |    2 +-
 configs/i586-qemu-2011.11.0/run                   |    8 +--
 configs/ptxconfig                                 |    1 +
 patches/qemu-1.0.1/0001-Fix-build-on-Mac-OS.patch |   72 +++++++++++++++++++++
 patches/qemu-1.0.1/series                         |    4 ++
 rules/host-qemu.in                                |    8 +++
 rules/host-qemu.make                              |   38 +++++++++++
 7 Dateien geändert, 125 Zeilen hinzugefügt(+), 8 Zeilen entfernt(-)
 create mode 100644 patches/qemu-1.0.1/0001-Fix-build-on-Mac-OS.patch
 create mode 100644 patches/qemu-1.0.1/series
 create mode 100644 rules/host-qemu.in
 create mode 100644 rules/host-qemu.make

diff --git a/configs/arm-qemu-2011.11.0/run b/configs/arm-qemu-2011.11.0/run
index a653ee4..d643e17 100755
--- a/configs/arm-qemu-2011.11.0/run
+++ b/configs/arm-qemu-2011.11.0/run
@@ -31,7 +31,7 @@ if [ ! -e "${PTXDIST_PLATFORMDIR}/images/hd.img" ]; then
 fi

 # the emulator to run
-QEMU_EXEC=qemu-system-${PTXCONF_ARCH_STRING}
+QEMU_EXEC=${PTXDIST_PLATFORMDIR}/sysroot-host/bin/qemu-system-${PTXCONF_ARCH_STRING}
(Continue reading)

amit shah | 4 May 06:37
Picon

6410 sound

Hi All,

    I wanted to switch from 2410 to 6410  , but before I can take the decision I need to know what all works in 6410 BSP. 
Sound seems to be missing as listed on the http://www.pengutronix.de/oselas/bsp/pengutronix/mini6410_bsp_de.html page.

Do we have a check list of all that works on 6410?

thanks
--amit





Juergen Beisert | 3 May 15:30
Picon
Gravatar

Re: ubuntu 12.04 generic BSP toolchain error.

Hi Wingston,

please keep the mailing list at least on CC.

Wingston Sharon wrote:
> attaching logfile of the build process.. doesnt seem to be much..
> usually everything is done inside my ext3 home folder, so i dont think
> permission or space is an issue..
> i disabled vendor check and still came up with the following error

I meant different steps in my last mail:

 - ptxdist platform configs/platform-friendlyarm-mini2440/platformconfig-NAND-64M
 - ptxdist select configs/ptxconfig
 - ptxdist go

> ptxdist: error: Compiler 'arm-v4t-linux-gnueabi-gcc' not found. Check PATH
> or ptxdist: error: use 'ptxdist toolchain [</path/to/toolchain>]'.

If you call this compiler manually, does it work?

> redownloaded everything and tried too.. also tried with the mini2440
> BSP also, it also seems to have the same problem.
> Im thinking it could be because of the 12.04 ubuntu on the system?

Don't know what could be special on a ubuntu system.

'dash' versus 'bash' failure?

@Marc? Does Ubuntu do something special?

Regards,
Juergen

--

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

Wingston Sharon | 3 May 11:53
Picon
Gravatar

ubuntu 12.04 generic BSP toolchain error.

hey all,

I'm encountering this error on a fresh ubuntu 12.04 install with
generic-BSP-2011.11.0 and ptxdist version 2011.11.

$ ptxdist 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
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'

$ ptxdist go
error:	'selected_platformconfig' is missing
	try 'ptxdist platform <platformconfig>'

after switching to a newer version of ptxdost (2012.04.0) the error
became this after all the required steps showed go..:
----
wingston <at> Wingz-lappy:~/GenARM/BSP$ ptxdist 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
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'

wingston <at> Wingz-lappy:~/GenARM/BSP$ ptxdist go

ptxdist: error: toolchain doesn't point to an OSELAS.Toolchain
ptxdist: error: leave PTXCONF_CROSSCHAIN_VENDOR empty to disable vendor check
---
leaving it empty in does not help..

wingston <at> Wingz-lappy:~/GenARM/BSP$ ptxdist go

ptxdist: error: Compiler 'arm-v4t-linux-gnueabi-gcc' not found. Check PATH or
ptxdist: error: use 'ptxdist toolchain [</path/to/toolchain>]'.

as in its saying selected toolchain but it doesnt create the symbolic
link to the toolchain in the BSP root folder..

wingston <at> Wingz-lappy:~/GenARM/BSP$ ptxdist go

ptxdist: error: Compiler 'arm-v4t-linux-gnueabi-gcc' not found. Check PATH or
ptxdist: error: use 'ptxdist toolchain [</path/to/toolchain>]'.

[Wilson Wingston Sharon]

Juergen Beisert | 2 May 14:39
Picon
Gravatar

[ANNOUNCE] Meet us at the LinuxTag 2012 in Berlin

Hi there,

Meet us at the LinuxTag 2012 in Berlin:

"The 18th LinuxTag will take place on 23th - 26th May 2012 and presents all 
the latest news and information for professional users, decision makers, 
developers, beginners and the Linux community." [1]

And this time the Pengutronix team will be part of this event with a booth 
totally targeted for the community. [2]

Meet us at our booth and:

 - get coffee and tea to convert it into lines of code ;)
 - learn how to bring your own changes and adaptions into the Linux kernel,
   the bootloader Barebox[6], PTXdist[3] or our free board support packages
 - lets talk about the secrets behind PTXdist[3], the Barebox[6] bootloader,
   SocketCAN, OSELAS.Toolchain[5] and the Linux kernel
 - meet and chat with lots of active kernel developers and have a peek how
   they work
 - bring your Linux based laptop with you. We will help you to prepare it
   to make PTxdist[3] and the Generic-BSP[4] work on it
 - we will bring some fancy embedded hardware like the FriendlyARM Minis with
   us to give you the opportunity to learn how development could be done on
   these systems
 - or bring your own Mini2440 or Mini6410 hardware with you, and together we
   will breathe new life in it ;)
 - we will show you how to adapt the Mini2440[7] and Mini6410[8] BSP to your
   special requirements
 - or just join the gossip about Open Source, the weather or the meaning of
   life ;o)

For the people who cannot attend the 'LinuxTag 2012' in Berlin we will be 
active at our PTXdist IRC[9] channel all the day.

We're looking forward to see you.

[1] http://www.linuxtag.org/2012/en.html
[2] http://www.pengutronix.de/events/20120523-Linuxtag-Berlin/index_en.html
[3] http://www.pengutronix.de/software/ptxdist/index_en.html
[4] http://www.pengutronix.de/oselas/bsp/pengutronix/generic_bsp_en.html
[5] http://www.pengutronix.de/oselas/toolchain/index_en.html
[6] http://www.barebox.org/
[7] http://www.pengutronix.de/oselas/bsp/pengutronix/mini2440_bsp_en.html
[8] http://www.pengutronix.de/oselas/bsp/pengutronix/mini6410_bsp_en.html
[9] 'irc.freenode.net', channel '#ptxdist'

--

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

ellappan perumal | 26 Apr 10:40
Picon

install PTXdist

Dear sir,
In Ubuntu i am trying to install the PTXdist but after .\configure i have given make like that it asked the password i have given but even though its not going to next step.please help me.
Regards
--
ELLAPPAN P

Gmane