AMiLDA FORUM

You are not logged in.

Announcement

### Our Homepage is down at the moment...work in progress !! ###

#1 2006-02-23 14:20:06

iching
New member
Netherlands
From: Breda
Registered: 2006-02-23
Last visit: 2006-02-27
Posts: 3
Website

How to get started , building your own

It would be nice to have some quick starting guides for building AMiLDA from source.

Like : 'Do I need some packages , like toolchain / toolchain-mips to rebuild from source'
'Do I need the kernel source to be patched AFTER un-tarring the AMiLDA source 0.33'

THNX

Offline

 

#2 2006-02-23 16:43:30

MrZack
Administrator
Austria
Registered: 2006-02-15
Last visit: 2017-10-23
Posts: 106

Re: How to get started , building your own

Hi Iching
Welcome to the forum

AMiLDA started about a week ago, so we didn't get to that yet  big_smile
But all of this is planed and will be done in time  smile


Nothing is impossible....except that the state of your mind makes it so.

Offline

 

#3 2006-02-25 15:31:47

iching
New member
Netherlands
From: Breda
Registered: 2006-02-23
Last visit: 2006-02-27
Posts: 3
Website

Re: How to get started , building your own

Hi MrZack,

I just can't wait ...... After trying a few days I am still not able to compile the whole AMiLDA source (0.3.33) .
Specialy the go-ahead part stops with a not finding config.h in the main.c . I also had to make some softlinks in the /export/tools/bin dir to make sure the scripts could find the ar strip ranlib ...
I started with the toolchain and toolchain-mipsel available in RPM ( old somewhere from 2002 ).

But I'am still not sure if this is the way to build it.
I want to help with the USB storage problem and want to recreate BusyBox so I have the mknod command to make more /dev/led devices to control the leds after using admgpioconfig.
So...clues would be helpful  smile

Offline

 

#4 2006-02-25 16:00:19

MrZack
Administrator
Austria
Registered: 2006-02-15
Last visit: 2017-10-23
Posts: 106

Re: How to get started , building your own

I'm glad you want to help and like AMiLDA so much  cool

Try the tool-chain from http://downloads.amilda.org
I had no problems compiling the source v0.3.33


Nothing is impossible....except that the state of your mind makes it so.

Offline

 

#5 2006-02-25 17:57:24

iching
New member
Netherlands
From: Breda
Registered: 2006-02-23
Last visit: 2006-02-27
Posts: 3
Website

Re: How to get started , building your own

THNX !!

That realy helps me out  big_smile .  Hadn't seen the toolchain on de download page...I probably looked over it !
Have a succesfull build now already. I'm starting to  reconfiging Busybox and the script to make more /dev/led nod's

Offline

 

#6 2006-02-26 12:15:58

MrZack
Administrator
Austria
Registered: 2006-02-15
Last visit: 2017-10-23
Posts: 106

Re: How to get started , building your own

iching wrote:

....and want to recreate BusyBox so I have the mknod command to make more /dev/led devices to control the leds after using admgpioconfig.

I had a closer look at the admgpioconfig, and this tool controls the 8 GPIOs. On the 6104K only 4 of them are externely excessable.
And they are used as follows:

ADM5120 pin --> GPIO
148 --> GPIO[0] Power LED
149 --> GPIO[1] Free (No soldering point on the board. Have to solder to the ADM5120 chip)
150 --> GPIO[2] Reset switch
151 --> GPIO[3] Free (No soldering point on the board. Have to solder to the ADM5120 chip)

The rest of the GPIOs are used internally.

If you want to control the LEDs, i think we will have to write a new tool for that. Please correct me if i'm wrong!


Nothing is impossible....except that the state of your mind makes it so.

Offline

 

#7 2006-03-01 00:45:37

Wlanman
New member
Registered: 2006-02-28
Last visit: 2006-03-22
Posts: 2

Re: How to get started , building your own

MrZack wrote:

ADM5120 pin --> GPIO
148 --> GPIO[0] Power LED
149 --> GPIO[1] Free (No soldering point on the board. Have to solder to the ADM5120 chip)
150 --> GPIO[2] Reset switch
151 --> GPIO[3] Free (No soldering point on the board. Have to solder to the ADM5120 chip)

On 6104KP with Board Revision A Pins 1 and 3 are for Controlling two yellow ledīs labeled USB1 and USB2.
Later Boards dont have them, and i tink even edimax firmware didnīt used them.
Luckily they are under free controll, in no way directly connected with the USB engine.
I have silly knightrider now wink.

Greets
Wlanman

Offline

 

#8 2006-03-01 08:51:38

MrZack
Administrator
Austria
Registered: 2006-02-15
Last visit: 2017-10-23
Posts: 106

Re: How to get started , building your own

Wlanman wrote:

I have silly knightrider now wink.

Are you using all the LEDs?
If yes, how?
Tell us more about how you did it... even if it is a silly knightrider  wink  big_smile


Nothing is impossible....except that the state of your mind makes it so.

Offline

 

#9 2006-03-02 13:40:53

Wlanman
New member
Registered: 2006-02-28
Last visit: 2006-03-22
Posts: 2

Re: How to get started , building your own

Hi Zack

No, sorry if i created false hopes, i use only the 3 leds on my board that are on gpio0,1,3 (thus "silly" knighrider cause of only 3 leds *g*).
But if you need for something, you CAN solder wires to the gpio 1+3 on your board, see Here (Very slow).

Greets

Offline

 

#10 2006-04-15 13:49:48

TiTaN_pi8
Member
Belgium
Registered: 2006-04-15
Last visit: 2006-10-19
Posts: 10

Re: How to get started , building your own

Is there any difference between these 2 files in the AMiLDA download directory ?

[   ] Edimax-Tools.tgz        01-Apr-2006 15:22  22.8M 
[   ] tool-chain.tgz          06-Dec-2004 16:38  22.8M 

I looked at both of them, at first sight they are the same. But if they are the same, why are they both available for download  smile ?

Offline

 

#11 2006-04-15 15:12:56

sergioag
Developer
Peru
From: Lima
Registered: 2006-02-16
Last visit: 2011-08-15
Posts: 166
Website

Re: How to get started , building your own

iching wrote:

THNX !!

That realy helps me out  big_smile .  Hadn't seen the toolchain on de download page...I probably looked over it !
Have a succesfull build now already. I'm starting to  reconfiging Busybox and the script to make more /dev/led nod's

AMiLDA 0.4.2 already has that. Furthermore, use the admgpioconfig for configuring all the GPIO ports.

Regards,

Sergio

Offline

 

#12 2006-11-29 17:18:12

sebainones
Developer
Argentina
From: Mendoza
Registered: 2006-11-10
Last visit: 2007-04-06
Posts: 17

Re: How to get started , building your own

I would like to know if right now that Amilda isn't a new project and  there is more experimented people working on it if you know some good Tutorial, guide or whatever to get started.
I have compiled Amilda and i have managed to do a silly module that work's on it but i don't have any experience in cross compiling and  i would love to do things properly.
I would like to have some "Makefiles" for modules running on Amilda. I know there are some in the source tree but i would love to do external modules and I have problems about how to tell to my module where to find the source, the right compiler,the FLAGS, etc.

Thanks for ur help

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB