3

I am trying to create an image for raspberry using ptxdist, but I can not create an image that works.

I followed the tutorial "OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf"

Step:

  • Compile and install 2014.05.0.
  • Donwload toolchain.
  • Download OSELAS.BSP-Pengutronix-Generic-2014.07.0
  • Download platform-pengutronix-raspberrypi
  • ptxdist migrate (version plarform is ptxdist 2014.05.0)
  • ptxdist go
  • ptxdist image

The image is successfully created, copy it to a card but don't work only black screen.

ptxdist someone previously used and has managed to create a functional image?

System:

  • OSELAS.BSP-Pengutronix-Generic-2014.07.0
    • platform-pengutronix-raspberrypi
    • Toolchain :OSELAS.Toolchain-2013.12.0-arm-1136jfs-linux-gnueabihf-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized
  • ptxdist-2014.05.0
  • Ubuntu 14.04
  • Raspberry Pi model B.
  • The green light on the pi probably flashes steadily a fixed number of times when you try to boot. How many? – goldilocks Mar 23 '15 at 12:09
  • the green light don't flashes. When starting the green light is lights but then turns off. – Alex Mar 24 '15 at 9:40
  • I think it's not finding anything on the card. Two flashes is normal and would indicate a kernel was booted. 3 or more flashes indicates some of start.elf or the kernel failed to load. No green light ever will happen if there is no SD card or the SD card does not have an MBR. So your problem could be that there's something about the card it doesn't like. – goldilocks Mar 24 '15 at 12:03
  • ...If you have used that card in a pi before and it was okay with a different image, then obviously this image is screwed up in a very fundamental way. Have you tried examining the partitions in another machine? – goldilocks Mar 24 '15 at 12:04
  • there are 2 partitions: . * bootcode.bin * cmdline.txt * config.txt * fixup_cd.dat * fixup.dat * fixup_x.dat * kernel.img * start_cd.elf * start.elf * start_x.elf other with the system (bin,etc,home...) – Alex Mar 24 '15 at 12:23
0

Instead of creating the BSP all by yourself you can also try the DistroKit BSP by pengutronix. Upstream Git repository is at http://git.pengutronix.de/?p=DistroKit.git;a=summary and you can already get a lot of helpful inspiration. However when trying this by myself last year I got no functional image with the master tree of those repositories, some changes must be made to get it running.

I did that last year but didn't manage to get my patches upstream yet. However if you want to quickly have a running image to start playing with you could have a look at the migrate branches of my forks on my personal GitHub account.

0

There is an ready ptxdist project at https://gitlab.com/k6devel/ptxdist-raspberry-pi which is currently a little more recent than what comes from pengutronix.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.