-   Linux - Embedded & Single-board computer (
-   -   Installing Linux onto Teac WAP audio player (

mbee 11-03-2012 02:46 PM

Installing Linux onto Teac WAP audio player
Hi, I have a Teac WAP AX100 audio player which is an embedded linux board. Details here:
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:// \
cd emlinux-str81xx/apps/non-gpl
svn co svn://

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

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
[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, "" is used to generate
the target embedded Linux package. To build the whole system, type:

# 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. also supports partial build process:

# sh ./ kernel
-> Only build kernel tree and pack the f/w image
# sh ./ libs
-> Only build libraries tree and pack the f/w image
# sh ./ apps
-> Only build applications tree and pack the f/w image
# 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/, 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 to do

# sh ./ kernelconfig -> to configure kernel

# sh ./ busyboxconfig -> to configure busybox

# 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) In the last post there is the following line:
PS. forgot to mention that tftp By default, the server looks for the address of 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.

All times are GMT -5. The time now is 07:13 PM.