Re: Mounting/Accessing SD-Card on BBB

2019-08-17 Thread Christian Mauderer
Hello Nils, "sometimes" sounds odd. That needs a difference on each run. Do you use a shell command to open the file (so that there is a timing difference)? Some guesses for typical "sometimes" problems: - Do you have some pointer problem (use of an uninitialized one, unhandled error cases for

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Gedare Bloom
On Fri, Aug 16, 2019 at 6:04 AM Christian Mauderer wrote: > > Hello Nils, > > you are right that system freezes are not a wanted behaviour. But > hot-plugging a disk isn't that common in embedded systems (except maybe > for USB drives). It's a case that isn't tested that often. So most > likely

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
Hello Nils, you are right that system freezes are not a wanted behaviour. But hot-plugging a disk isn't that common in embedded systems (except maybe for USB drives). It's a case that isn't tested that often. So most likely no one noticed that bug. I wouldn't see it critical as long as I don't

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Nils Hölscher
Hi, Thanks for the info. I already ordered a replacement. Thanks, Nils On Fri, 16 Aug 2019 at 11:38, Christian Mauderer wrote: > Hello Nils, > > if the U-Boot doesn't start from eMMC any more it won't be easy. > Theoretically it is possible to boot via serial. See for example > > >

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
PS: If neither the SD nor the eMMC has a bootable image your BBB falls back to serial and then USB boot anyway. So no need to change any boot pins. On 16/08/2019 11:38, Christian Mauderer wrote: > Hello Nils, > > if the U-Boot doesn't start from eMMC any more it won't be easy. > Theoretically it

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
Hello Nils, if the U-Boot doesn't start from eMMC any more it won't be easy. Theoretically it is possible to boot via serial. See for example http://linuxkernel51.blogspot.com/2015/08/booting-beagle-bone-black-over-uart.html With that you could load an U-Boot (via X-Modem) that could start a

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Nils Hölscher
Hi Christin, Thanks for the hint. But how can I alter the U- Boot on eMMC? Problem is I have a Linux version with an U-Boot that disables emmc on the emmc... And I guess I cant flash emmc without SD. Best, Nils On Fri, 16 Aug 2019 at 11:03, Christian Mauderer wrote: > On 16/08/2019 10:55,

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
On 16/08/2019 10:55, Nils Hölscher wrote: > Hi, > > It seems the problem was hardware related. > My SD-Card connector just died. > I hope I can get a new BBB oin a timely manner. > > Best, > Nils Hello Nils, thanks for the information. That's annoying. Good luck finding a replacement. For a

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Nils Hölscher
Hi, It seems the problem was hardware related. My SD-Card connector just died. I hope I can get a new BBB oin a timely manner. Best, Nils On Fri, 16 Aug 2019 at 10:48, Christian Mauderer wrote: > Hello Nils, > > thanks for the file list. I can't reproduce your problem with it. > > On

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
Hello Nils, thanks for the file list. I can't reproduce your problem with it. On 16/08/2019 10:01, Nils Hölscher wrote: > Hi, > > Short update. > > It seems the device only hangs while I am connected with the debugger. Is that true for the original file system tree? You are debugging via

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Nils Hölscher
Hi, Short update. It seems the device only hangs while I am connected with the debugger. looks like a Heisenberg bug. Best, Nils On Fri, 16 Aug 2019 at 09:50, Nils Hölscher wrote: > > On Thu, 15 Aug 2019 at 19:51, Christian Mauderer > wrote: > >> Hello Nils, >> >> maybe another bug in our