LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 11-03-2012, 02:46 PM   #1
mbee
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: Disabled
Installing Linux onto Teac WAP audio player


Hi, I have a Teac WAP AX100 audio player which is an embedded linux board. Details here: http://www.teac.eu/hifi-audio/audio-...ver/wap-ax100/
I want to get access to the board to install Squeezeserver. They provide the opensource code and the readme file details how to create the image. This is the instructions:
U-MEDIA Embedded Linux for Star STR8131 README

1. Installation note: These do not work so I am using the files provided by Teac. I don't know if exmlconfd is there under another name.
Download from Subversion repository:

svn co svn://10.4.3.50/emlinux/branches/emlinux-str81xx \
emlinux-str81xx
cd emlinux-str81xx/apps/non-gpl
svn co svn://10.4.3.50/emlxconfd/emlxconfd

The second checkout is because emlxconfd is not under embedded Linux's
repository.

Change to emlinux-str81xx/toolchain, there is EP93xx's tool chain and
installation readme. Since both EP93xx and STR81xx are ARM9 core, they
can share the same toolchaine without problem

2. Directory structure
Under the package root, refered as BMLXBASE, there are 8 major
subdirectories:
[apps] contains all gpl/non-gpl applications
[configs] kernel/uClibc/busybox and system's default config
[image] empty one, for storing final image package
[kernel] Linux kernel
[libs] all gpl/non-gpl libraries
[target] embedded linux's root directory on target system
[toolchain] source code or vendor provided toolchain
[tools] some helper scripts or tools here

3. Package build process
There is a shell script under EMLXBASE, "build_all.sh" is used to generate
the target embedded Linux package. To build the whole system, type:

# sh ./build_all.sh note: this does not work, nothing happens and there is no activity

This will compile all source codes and put the result in EMLXBASE/image.
Three files are generated: kernel.bin.gz, rootfs.cramfs and
emlx-x.x.x.x.img.

Buid_all.sh also supports partial build process:

# sh ./build_all.sh kernel
-> Only build kernel tree and pack the f/w image
# sh ./build_all.sh libs
-> Only build libraries tree and pack the f/w image
# sh ./build_all.sh apps
-> Only build applications tree and pack the f/w image
# sh ./build_all.sh image

4. Configuration modification
[1] System-wide configuration
System-wide configurations are stored in emlinux-rtl865xb/configs/env

[2] Flash partitions mapping
Please change kernel configuration and check drivers/mtd/devices/str8131_spiflash.c
serial flash driver.

Another file might need to tweak is EMLXBASE/tools/genimage.sh, in order
to generate correct firmware package.

[3] Kernel/uClibC/BusyBox
Default configurations are under EMLXBASE/configs, they will be copied
to kernel/uClibc/busybox's directories for compiling at the first time.
There are several commands supported in build_all.sh to do
configurations:

# sh ./build_all.sh kernelconfig -> to configure kernel

# sh ./build_all.sh busyboxconfig -> to configure busybox

# sh ./build_all.sh uclibcconfig -> to configure uClibc

5. Firmware loading
[1] Use flash programmer to program u-boot to the beginning of the flash.
u-boot must support "serial flash" and STR8131's internal ethernet phy.
[2] Follow u-boot's manual to configure u-boot's network settings.
[2] Setup a TFTP server on PC and follow u-boot's manual to download emlx image to RAM:
a. tftp 1000000 [image file]
b. cp.b 1000000 30040000 $(filesize)
c. setenv bootcmd go 1000010
d. saveenv
e. reset
u-boot will load 2MB bytes from 0x30040000 to 0x1000000 and bootcmd will start kernel
from 0x100010.

[4] Boot into Linux kernel to see if everything is OK.


Now, I am new to Linux so have the following questions:
Is this feasible and able to be reversed with the standard firmware?
Do I have to open it and connect a serial port? I found the following guide to reflashing a different model (but same chip) http://www.elektroda.pl/rtvforum/vie...958&highlight= In the last post there is the following line:
PS. forgot to mention that tftp By default, the server looks for the address of 192.168.1.50 and a file named C0A8010B.img, so the easiest way to set up such a server address and change the name of the image file.
If that works do I have to create u-boot as that bit seems complicated. How do I know I will have access once done, I tried Telnet usinng Putty but get nothing.

Note: I have found the uClinux runs on this type of board but have no idea how to compile.
Any help / ideas would be great, Thanks.

Last edited by mbee; 11-04-2012 at 01:17 PM. Reason: Added notes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio player for Linux Arcane Linux - Software 4 04-22-2011 11:51 AM
I am new to linux and i need audio player for redhat 4 redhatarun Linux - Newbie 1 02-14-2011 08:16 AM
Best audio player for linux nhendrick Linux - Software 5 09-05-2009 12:47 PM
LXer: Decibel Audio Player 1.0 - Simplistic Music Player for GNOME LXer Syndicated Linux News 0 07-19-2009 10:20 PM
[SOLVED] Which audio player in Linux? StefanP Linux - Newbie 31 05-08-2007 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration