[ELDK] Just starting - ipkg errors
Larry Baker
baker at usgs.gov
Fri Aug 2 19:14:46 CEST 2013
I am just starting with ELDK. My hardware is an Atmel AT91SAM9G20 processor with 64 MB RAM and 256 MB flash. The board is a Glomation GESBC-9G20 (www.glomationinc.com). I have updated the Atmel at91loader and U-Boot to the most recent versions, and the kernel to the latest longterm 3.2 release, 3.2.48. (The vendor supplied kernel is 3.2.6, so I am sticking with a 3.2 release, for the moment.)
I have installed the ELDK-5.3 basic rootfs for armv5te. I wrote it to a USB stick, and it boots fine on my hardware. Great so far. Now, I want to customize the installed packages and configure the services.
1) I tried the command given in the FAQ (http://www.denx.de/wiki/view/ELDK-5/FrequentlyAskedQuestionsAndAnswers) to list the packages in the rootfs. I get nothing.
> [baker at lenovo armv5te]$ sudo $(type -p opkg-cl) -o /opt/eldk-5.3/armv5te/rootfs-basic list
I also get nothing when I leave out the -o option to list what is on the host.
> [baker at lenovo armv5te]$ sudo $(type -p opkg-cl) list
Same thing when I try list-installed.
> [baker at lenovo armv5te]$ sudo $(type -p opkg-cl) -o /opt/eldk-5.3/armv5te/rootfs-basic list-installed
> [baker at lenovo armv5te]$ sudo $(type -p opkg-cl) list-installed
I source'd the ELDK environment variables (type -p opkg-cl would have failed otherwise), and set CROSS_COMPILE and ARCH.
2) How do I start/stop services and enable/disable services? On CentOS, the "service" command starts/stops services, the "chkconfig" command enables/disables services. On Arch, it seems to all be done by the "systemctl" command. What are the ELDK equivalent procedures?
3) Relating to my question 2, can/are either or both of these done on the host (chkconfig only on the host, not service, of course), or the target (both)? I would like to be able to configure the services on the host, and both configure and control the services on the target.
Thank you,
Larry Baker
US Geological Survey
650-329-5608
baker at usgs.gov
More information about the eldk
mailing list