Re: Mounting/Accessing SD-Card on BBB

2019-08-15 Thread Christian Mauderer
Hello Nils, does some other access to the file system work? Like a ls on the console or creating a file. Can you do a `cat` on some text file on the file system? If not: Does it work for a file in the root file system (should be a IMFS)? Best regards Christian On 15/08/2019 15:54, Nils Hölscher

Re: Mounting/Accessing SD-Card on BBB

2019-08-15 Thread Nils Hölscher
Hi, I when my app wants to open a file on the SD card dev=mmcsd-0-0 rtems freezes. Exact call is: fd = open(file, O_RDONLY); With file being the pru binary I want to upload. Thanks, Nils On Tue, 13 Aug 2019 at 17:56, Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Hello Nil

Re: Mounting/Accessing SD-Card on BBB

2019-08-13 Thread Nils Hölscher
Hi, I was able to mount the sd card. It was FAT, that was missing. Thanks, Nils On Tue, 13 Aug 2019 at 17:46, Nils Hölscher wrote: > Hi, > > Thanks for the input I will try the SD card first. > That way I won't have to alter the code when I want to run other stuff on > the pru. > > Best, > Nil

Re: Mounting/Accessing SD-Card on BBB

2019-08-13 Thread Christian Mauderer
Hello Nils, a third possibility: You could start a FTP server and push the file via network. Best regards Christian Am Dienstag, 13. August 2019 schrieb Nils Hölscher: > Hi, > > > Thanks for the input I will try the SD card first. > That way I won't have to alter the code when I want to run o

Re: Mounting/Accessing SD-Card on BBB

2019-08-13 Thread Nils Hölscher
Hi, Thanks for the input I will try the SD card first. That way I won't have to alter the code when I want to run other stuff on the pru. Best, Nils On Tue, 13 Aug 2019 at 17:32, Gedare Bloom wrote: > You can also build the PRU image into the RTEMS binary. See > examples-v2.git/file_io/crc/ini

Re: Mounting/Accessing SD-Card on BBB

2019-08-13 Thread Gedare Bloom
You can also build the PRU image into the RTEMS binary. See examples-v2.git/file_io/crc/init.c On Tue, Aug 13, 2019 at 8:46 AM Christian Mauderer wrote: > > Hello Nils, > > that's a bit odd. I attached an expected output below. Some guesses: > > - Did you add FAT file system to your application?

Re: Mounting/Accessing SD-Card on BBB

2019-08-13 Thread Christian Mauderer
Hello Nils, that's a bit odd. I attached an expected output below. Some guesses: - Did you add FAT file system to your application? - Is there some odd formatting on the SD? Normally at least the FAT partition used by U-Boot should be visible. - Is your BDBUF configuration OK? - Do you have enoug

Re: Mounting/Accessing SD-Card on BBB

2019-08-13 Thread Nils Hölscher
Hi, Thanks for the help. I tried to use your code, but I always get "ERROR: SD could not be mounted after timeout". Even after raising the waiting time. The sources I use start here: https://github.com/nilhoel1/rtems-pru/blob/pruss-shell/main.c#L110 And my uart output is: "" waiting for SD... u

Re: Mounting/Accessing SD-Card on BBB

2019-08-12 Thread Christian Mauderer
On 12/08/2019 07:28, Nils Hölscher wrote: > Hi, > > Can anyone help me with this? > I need to access the BBB's SD-Card, so that I can load my pru example on > the pru. > > Thanks, > Nils > Hello Nils, take a look at the following application: https://gitlab.com/c-mauderer/rtems-bbb/blob/maste

Mounting/Accessing SD-Card on BBB

2019-08-11 Thread Nils Hölscher
Hi, Can anyone help me with this? I need to access the BBB's SD-Card, so that I can load my pru example on the pru. Thanks, Nils ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users