This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM1808 - How to install new packages onto target file system?

Other Parts Discussed in Thread: AM1808, OMAP-L137

Hello all,

I am wondering what is the better way to install new packages onto the am1808 board.

Currently, I have to manually copy 'dpkg' binary and all its associated libraries to the target file system, and manually install all dependencies of 'apt-get' to finally have a working 'apt-get' on the board. Then use 'apt-get' to install new packages.

It's a time consuming process. I am wondering is there any easier way of doing this.

Thank you!

 

  • The method I am using seems to corrupt the file system on the board.  After installing the packages, I always have errors as below the next time I boot up the board.

    I really need your help here. Could someone share how you install new packages to the target file system? 

    Thank you!!

     

     

    ---------------------------------------------------

    EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
    .
    .
    .
     /lib/init/rw/rootdev is mounted.  e2fsck: Cannot continue, aborting.

    fsck died with exit status 8                                                    

    failed (code 8).                                                                

    An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. ... failed!

    ---------------------------------------------------

     

  • Probably not the solution your want to hear. I'm using an OMAP-L137 EVM, DVSDK-03.32.00.04 and Arago FS on SD Card. I use opkg to install packages from the Arago repo. The Arago FS does not have dpkg. No problems so far. Maybe you need to do a proper shutdown to sync the FS.

     

  • Hi Norman. Thank you so much!

    You actually pointed me to the right direction. I started working with debian packages initially, so I kind of forgetting that I can still use opkg for non-debian packages.

    EDIT: opkg works with debian packages but just don't work with the packages built for armel.