5.6 Porting Madplay to the Development Board

Source: Internet
Author: User
Tags unpack

    1. Experiment 3-3 porting Madplay to the Development Board
    • Experimental Purpose:

Mastering the porting of embedded Linux open source projects

?

    • Experimental requirements:

      1. Prepare the source files needed for Madplay Open source project:

(1), madplay-0.15.2b.tar.gz

(2), libmad-0.15.1b.tar.gz

(3), libid3tag-0.15.1v.tar.gz

(4), zlib-1.1.4.tar.gz

?

    • Experimental steps:

      1, unpack the package configuration and compile zlib-1.1.4

(1), decompression: Tar xzvf zlib-1.1.4.tar.gz

(2), configuration: Copy the build-zlib.sh to the extract directory and run

(3), compile: Make

(4), Installation: Make install

2, unpack the package configuration and compile Libid3tag-0.15.1b

(1), decompression: Tar xzvf libid3tag-0.15.1v.tar.gz

?

(2), configuration: Copy the build-libid3.sh to the extract directory and run

?

(3), compile: Make

(4), Installation: Make install

3, unpack the package configuration and compile Libmad-0.15.1b

(1) Decompression: Tar xzvf libmad-0.15.1b.tar.gz

(2), configuration: Copy the build-libmad.sh to the extract directory and run

(3), remove the-FFORCE-MEM option in the Clfags variable in makefile, because

For 4.5.1 version of GCC is not supported in this option!

Remove:

(4), compile: Make

(5), Installation: Make install

4, unpack the package configuration and compile madplay-0.15.2b

(1) Decompression: Tar xzvf madplay-0.15.2b.tar.gz

(2), configuration: Copy the build-madplay.sh to the extract directory and run

(3), compile: Make

(4), in the current directory can see the compilation of the Madplay executable file

5. Confirm that Madplay is an ARM architecture executable file

File Madplay

6, compression removal madplay in line with the link

Arm-linux-strip Madplay

7, the Madplay through the NFS share copy to the development Board, the song Songs folder copied

Shell to the USB stick, insert the Development Board, confirm that the MP3 songs on the USB stick can be played properly.

./madplay/udisk/song/1.mp3

Plug in the headphones and hear the sound:

The entire transplant was successful. A pinch of sweat.

?

?

Experiment Experience:

???? This was my first embedded experiment to feel a sense of accomplishment because I made a music player. The whole process was very smooth. Of course, it is based on the conditions of embedded Foundation. I'll keep working on it.

5.6 Porting Madplay to the Development Board

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.