Merge - eLua master and eLua bike-nomad

classic Classic list List threaded Threaded
9 messages Options
Pito Pito
Reply | Threaded
Open this post in threaded view
|

Merge - eLua master and eLua bike-nomad

Hi,
would it be possible to merge these two distros somehow? In
bike-nomad there is ie STMF4discovery board supported, which would
be nice to have in standard master as well.
I've build the bike-nomad for F4discovery board with Yagarto under
winXP (scons board=STM32F4DSCY toolchain=codesourcery prog) and it
has been built, so maybe we may add Yagarto (latest) to the
toolchains as well..
p.

--
- - Reklama - - - - - - - - - - - - - -
Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
http://bit.ly/LfImCR

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

Hi Pito,

On Thu, Jun 28, 2012 at 6:29 PM, pito <[hidden email]> wrote:
> Hi,
> would it be possible to merge these two distros somehow? In
> bike-nomad there is ie STMF4discovery board supported, which would
> be nice to have in standard master as well.
> I've build the bike-nomad for F4discovery board with Yagarto under
> winXP (scons board=STM32F4DSCY toolchain=codesourcery prog) and it
> has been built, so maybe we may add Yagarto (latest) to the
> toolchains as well..

We could merge the branch, but that backend would become extremely
messy and hard to maintain. I'm working on a large rewrite of our
build structure and I'm hesitant to pull any new platform changes
until that's ready (probably about a month from now, if everything
goes well).
About Yagarto: I tried that a while ago, but the version I tried
didn't play well with eLua because of the way Newlib was build in the
toolchain. If the current version works, then yes, we should
definitely add it to eLua.

Best,
Bogdan

> p.
>
> --
> - - Reklama - - - - - - - - - - - - - -
> Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
> studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
> http://bit.ly/LfImCR
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Pito Pito
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

> We could merge the branch, but that backend would
> become extremely
> messy and hard to maintain.
.. maybe each board has to have its separate "makefile", so adding a
XY board would mean to copy a XY folder into the master distro.. So
you must not edit sconstruct etc..

> About Yagarto: .. If the current version works, then yes,
> we should
> definitely add it to eLua.
.. the bike-nomad's stm32f4disco builds w/o error with Yagarto
under winxp (Yagarto - binutils:2.22, gcc:4.7.1, newlib:1.20.0,
gdb:7.4.1) and it works at least with my LIFE(60,55) and hanoi :)
well. It seems the .hex is a little bit smaller than with CS.
p.


--
- - Reklama - - - - - - - - - - - - - -
Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
http://bit.ly/LfImCR

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

On Fri, Jun 29, 2012 at 10:38 AM, pito <[hidden email]> wrote:
>> We could merge the branch, but that backend would
>> become extremely
>> messy and hard to maintain.
> .. maybe each board has to have its separate "makefile", so adding a
> XY board would mean to copy a XY folder into the master distro.. So
> you must not edit sconstruct etc..

This is one of the things the new build structure will allow you to
do, but you won't need a separate makefile (ideally).

>
>> About Yagarto: .. If the current version works, then yes,
>> we should
>> definitely add it to eLua.
> .. the bike-nomad's stm32f4disco builds w/o error with Yagarto
> under winxp (Yagarto - binutils:2.22, gcc:4.7.1, newlib:1.20.0,
> gdb:7.4.1) and it works at least with my LIFE(60,55) and hanoi :)
> well. It seems the .hex is a little bit smaller than with CS.

What about the filesystem? Can you test MMCFS?

Thanks,
Bogdan

> p.
>
>
> --
> - - Reklama - - - - - - - - - - - - - -
> Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
> studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
> http://bit.ly/LfImCR
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Pito Pito
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

> This is one of the things the new build structure
> will allow you to
> do, but you won't need a separate makefile
> (ideally).
.. make it as simple as possible :)

> What about the filesystem? Can you test MMCFS?
.. what kind of test you recommend?
p.


--
- - Reklama - - - - - - - - - - - - - -
Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
http://bit.ly/LfImCR

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

On Fri, Jun 29, 2012 at 11:08 AM, pito <[hidden email]> wrote:
>> This is one of the things the new build structure
>> will allow you to
>> do, but you won't need a separate makefile
>> (ideally).
> .. make it as simple as possible :)
>
>> What about the filesystem? Can you test MMCFS?
> .. what kind of test you recommend?

Enable MMCFS and try to read a file from a SD card in the shell (with cat).

Thanks,
Bogdan

> p.
>
>
> --
> - - Reklama - - - - - - - - - - - - - -
> Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
> studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
> http://bit.ly/LfImCR
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Pito Pito
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

> Enable MMCFS and try to read a file from a SD card
> in the shell (with cat).
Built with CS:
===================
eLua v0.8  Copyright (C) 2007-2011 www.eluaproject.net
eLua# ls

/rom
adcpollt2.lua                  1648 bytes
life.lua                       3362 bytes
adcscope.lua                   2269 bytes
adcpollt1.lua                  1808 bytes
led.lua                        1559 bytes
pwmled.lua                     1057 bytes

Total on /rom: 11703 bytes

/mmc
hanoi.lua                      7954 bytes
lifebig.lua                    3431 bytes

Total on /mmc: 11385 bytes

eLua# cat /mmc/lifebig.lua
-- life1.lua
-- eLua version by Bogdan Marinescu, www.eluaproject.net
...

Built with Yagarto:
======================

eLua v0.8  Copyright (C) 2007-2011 www.eluaproject.net
eLua# ls

/rom
hanoi.lua                      7963 bytes
lifebig.lua                    3432 bytes

Total on /rom: 11395 bytes

/mmc
hanoi.lua                      7954 bytes
lifebig.lua                    3431 bytes

Total on /mmc: 11385 bytes

eLua# cat /mmc/lifebig.lua
File /mmc/lifebig.lua not found
eLua# cat /mmc/hanoi.lua
File /mmc/hanoi.lua not found
eLua#

=================
A pity ;( p.



--
- - Reklama - - - - - - - - - - - - - -
Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
http://bit.ly/LfImCR

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Pito Pito
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

Important - the build with CS is older one (Nov2011), the build with
Yagarto is as of today (downloaded from bike-nomad yesterday).
p.

----- PŮVODNÍ ZPRÁVA -----
Od: "pito" <[hidden email]>
Komu: [hidden email], [hidden email],
[hidden email]
Předmět: Re: [eLua-dev] Merge - eLua master and eLua bike-nomad
Datum: 29.6.2012 - 11:25:36

> > Enable MMCFS and try to read a file from a SD
> > card
> > > in the shell (with cat).
> Built with CS:
> ===================
> eLua v0.8  Copyright (C) 2007-2011
> www.eluaproject.net
> eLua# ls
>
> /rom
> adcpollt2.lua                  1648 bytes
> life.lua                       3362 bytes
> adcscope.lua                   2269 bytes
> adcpollt1.lua                  1808 bytes
> led.lua                        1559 bytes
> pwmled.lua                     1057 bytes
>
> Total on /rom: 11703 bytes
>
> /mmc
> hanoi.lua                      7954 bytes
> lifebig.lua                    3431 bytes
>
> Total on /mmc: 11385 bytes
>
> eLua# cat /mmc/lifebig.lua
> -- life1.lua
> -- eLua version by Bogdan Marinescu,
> www.eluaproject.net
> ...
>
> Built with Yagarto:
> ======================
>
> eLua v0.8  Copyright (C) 2007-2011
> www.eluaproject.net
> eLua# ls
>
> /rom
> hanoi.lua                      7963 bytes
> lifebig.lua                    3432 bytes
>
> Total on /rom: 11395 bytes
>
> /mmc
> hanoi.lua                      7954 bytes
> lifebig.lua                    3431 bytes
>
> Total on /mmc: 11385 bytes
>
> eLua# cat /mmc/lifebig.lua
> File /mmc/lifebig.lua not found
> eLua# cat /mmc/hanoi.lua
> File /mmc/hanoi.lua not found
> eLua#
>
> =================
> A pity ;( p.
>
>
>
> --
> - - Reklama - - - - - - - - - - - - - -
> Maturity, přijímací zkoušky, státnice, diplomky...
> Vše o závěru
> studia na středních a vysokých školách čtěte na
> portálu VOLNÝ.cz na
> http://bit.ly/LfImCR
>
>

--
- - Reklama - - - - - - - - - - - - - -
Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
http://bit.ly/LfImCR

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Merge - eLua master and eLua bike-nomad

In reply to this post by Pito
On Fri, Jun 29, 2012 at 12:25 PM, pito <[hidden email]> wrote:

>> Enable MMCFS and try to read a file from a SD card
>> in the shell (with cat).
> Built with CS:
> ===================
> eLua v0.8  Copyright (C) 2007-2011 www.eluaproject.net
> eLua# ls
>
> /rom
> adcpollt2.lua                  1648 bytes
> life.lua                       3362 bytes
> adcscope.lua                   2269 bytes
> adcpollt1.lua                  1808 bytes
> led.lua                        1559 bytes
> pwmled.lua                     1057 bytes
>
> Total on /rom: 11703 bytes
>
> /mmc
> hanoi.lua                      7954 bytes
> lifebig.lua                    3431 bytes
>
> Total on /mmc: 11385 bytes
>
> eLua# cat /mmc/lifebig.lua
> -- life1.lua
> -- eLua version by Bogdan Marinescu, www.eluaproject.net
> ...
>
> Built with Yagarto:
> ======================
>
> eLua v0.8  Copyright (C) 2007-2011 www.eluaproject.net
> eLua# ls
>
> /rom
> hanoi.lua                      7963 bytes
> lifebig.lua                    3432 bytes
>
> Total on /rom: 11395 bytes
>
> /mmc
> hanoi.lua                      7954 bytes
> lifebig.lua                    3431 bytes
>
> Total on /mmc: 11385 bytes
>
> eLua# cat /mmc/lifebig.lua
> File /mmc/lifebig.lua not found
> eLua# cat /mmc/hanoi.lua
> File /mmc/hanoi.lua not found
> eLua#
>
> =================
> A pity ;( p.

That's actually very interesting. I was expecting this test to be an
all-or-nothing deal; in other words, the MMCFS should have been
completely functional or not at all. Hmmm. It might be that my recent
commits broke MMCFS. I'll try to test this. In any case, this doesn't
look like a toolchain issue.

Thanks,
Bogdan

>
>
>
> --
> - - Reklama - - - - - - - - - - - - - -
> Maturity, přijímací zkoušky, státnice, diplomky... Vše o závěru
> studia na středních a vysokých školách čtěte na portálu VOLNÝ.cz na
> http://bit.ly/LfImCR
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev