Brian
Forum Replies Created
-
AuthorPosts
-
BrianParticipant
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.
BrianParticipantIf 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.
BrianParticipantReinstalling 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.
BrianParticipantI 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.
BrianParticipantWhen 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.
BrianParticipantA 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.
BrianParticipantThanks. I’ll try that.
-
AuthorPosts