Brian

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Programmatically detecting the SD card #3183
    Brian
    Participant

    I figured out why my CDP is behaving differently. I had a file open on the SD card, so it wasn’t unmounting properly on removal.

    There might not be a good way to detect a removal if the card is currently in use. Under normal use, this shouldn’t ever happen though, so maybe isn’t not worth worrying about.

    in reply to: Programmatically detecting the SD card #3181
    Brian
    Participant

    If the SD card is inserted on boot, there is no change in the file when the card is removed.

    I’m not sure how to detect the SD card in this case.

    in reply to: gdb troubles #3087
    Brian
    Participant

    Reinstalling lib6 and then installing libthread_db1, glibc-dbg, and gdb worked in that order. On one unit, gdb was already installed, and no amount of reinstalling those packages would make it work. I re-flashed the unit and installed the packages in that order and then it worked.

    Thanks.

    in reply to: gdb troubles #3084
    Brian
    Participant

    I installed gdb by copying over the .ipk file and its dependencies and using opkg to install it. Then to reinstall libc6, I copied over the libc6 ipk file and reinstalled it. However, this didn’t fix the issue.

    How do I add gdb and it’s dependencies to an image? I was looking at the getting started page where it discusses custom images, but I couldn’t find how to create them.

    in reply to: gdb troubles #3082
    Brian
    Participant

    When I try this, opkg says:

    # opkg update

    # opkg –force-reinstall install libc6

    Reinstalling libc6 (2.9-r37.4.6) on root…

    Collected errors:

    * ERROR: Package libc6 (parent libc6) is not available from any configured src.

    * Failed to download libc6. Perhaps you need to run ‘opkg update’?

    * Cannot find package libc6.

    #

    It seems like opkg can’t find whatever repository it needs to get it’s software. The device has internet access and can ping and resolve hostnames in the outside world.

    I think I may be missing some critical config files. Does this install method work for you? What does your /etc/opkg folder contain? Are you using any *-feed.conf files?

    Thanks.

    in reply to: Real Time Clock #3058
    Brian
    Participant

    A problem I have run in to is that using the NTP requires more data usage than is acceptable. If it’s possible, getting the real time from the cellular network would be preferable.

    Is there a way to get the real time from the cellular network?

    I’ve tried the real time clock command, but I can’t get it to initialize. Any help would be appreciated.

    in reply to: Real Time Clock #3057
    Brian
    Participant

    Thanks. I’ll try that.

Viewing 7 posts - 1 through 7 (of 7 total)