Re: [Beremiz-devel] how to run Beremiz-service.py on embedded linux system.

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

Re: [Beremiz-devel] how to run Beremiz-service.py on embedded linux system.

gpfrank
Hello Andrey Skvortsov:
Thank you for your feedback quickly!
First I used busybox to make the ARM embedded linux file system, and cloned Beremiz folder.
but the Beremiz_service.py cannot work. because I cannot finish installing the zeroconf.(failed to install)
And I try to use the Debian system, install all of packages for the Beremiz. but the file system
need over 800MB. It is hard for me to reduce the size.

Because I don't understand Beremiz clearly, now I try to remake a connector based on LPCManager, don't use the
pyro and zeroconf.
Do you any suggestion for me? still use the Beremiz_service.py or rewirte a new connector?

Best regards!
Franklin.


>Message: 2
>Date: Tue, 17 Jul 2018 11:46:17 +0300 >From: Andrey Skvortsov <[hidden email]> >Cc: [hidden email] >Subject: Re: [Beremiz-devel] how to run Beremiz-service.py on embedded > linux system. >Message-ID: <[hidden email]> >Content-Type: text/plain; charset="utf-8" > >Hi Franklin, > >On 18-07-17 10:25, gpfrank wrote: >> Hello Developers! >> Now I want to run the Beremiz-service.py under a lean embedded linux system. >> but I found the latest version need a lot of python package. >> Do you have any suggestion for this condition. [small nand(128M-256M), not >> PC-based linux system. ] > >I thought for 128M-256M should be enough Beremiz_service to run. >Beremiz_service does require much less python packages that Beremiz >IDE, because you don't need any GUI libraries. > >Or I'm wrong? Does it really not fit in 256M? >Which packages have you installed for Beremiz_service? > >> Best regards! >> franklin > > >-- >Best regards, >Andrey Skvortsov >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: signature.asc >Type: application/pgp-signature >Size: 833 bytes >Desc: not available > >------------------------------ > >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >------------------------------ > >Subject: Digest Footer > >_______________________________________________ >Beremiz-devel mailing list >[hidden email] >https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > >------------------------------ > >End of Beremiz-devel Digest, Vol 92, Issue 13 >*********************************************


 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] how to run Beremiz-service.py on embedded linux system.

skv
Administrator
Hi Franklin,

On 18-07-17 23:05, gpfrank wrote:
> Hello Andrey Skvortsov:       Thank you for your feedback quickly!
> First I used busybox to make the ARM embedded linux file system, and
> cloned Beremiz folder.but the Beremiz_service.py cannot
> work. because I cannot finish installing the zeroconf.(failed to
> install)       And I try to use the Debian system, install all of
> packages for the Beremiz. but the file systemneed over 800MB.  It is
> hard for me to reduce the size.
I'm afraid that Debian-based image will not fit into 128Mb of NAND
flash with a kernel and space for user program and data. If you care
about rootfs size, you have to use something else.

Do you really use 128Mb raw NAND chips? I've heard they are pretty
rare and hard to buy nowadays. Everyone is switched to high-capacity
eMMC.

>
>        Because I don't understand Beremiz clearly, now I try to
>        remake a connector based on LPCManager, don't use the
>  pyro and zeroconf.
>        Do you any suggestion for me?  still use the
>        Beremiz_service.py or rewirte a new connector?
If you don't have any particular reasons to switch, use Beremiz_service.py.

To check space requirements I've created simple Buildroot-based image
with Beremiz_service (no GUI) and all its requirements for i386 architecture.
Rootfs takes 18.9Mb. So it'd certainly fit into 128Mb and a lot of
space would be left for user's program and data.


>
> Best regards!
> Franklin.
>
>
>
>
> >Message: 2
> >Date: Tue, 17 Jul 2018 11:46:17 +0300
> >From: Andrey Skvortsov <[hidden email]>
> >Cc: [hidden email]
> >Subject: Re: [Beremiz-devel] how to run Beremiz-service.py on embedded
> > linux system.
> >Message-ID: <[hidden email]>
> >Content-Type: text/plain; charset="utf-8"
> >
> >Hi Franklin,
> >
> >On 18-07-17 10:25, gpfrank wrote:
> >> Hello Developers!
> >>       Now I want to run the Beremiz-service.py under a lean embedded linux system.
> >> but I found the latest version need a lot of python package.
> >>       Do you have any suggestion for this condition. [small nand(128M-256M), not
> >> PC-based linux system. ]
> >
> >I thought for 128M-256M should be enough Beremiz_service to run.
> >Beremiz_service does require much less python packages that Beremiz
> >IDE, because you don't need any GUI libraries.
> >
> >Or I'm wrong? Does it really not fit in 256M?
> >Which packages have you installed for Beremiz_service?
> >
> >> Best regards!
> >> franklin
> >
> >
> >--
> >Best regards,
> >Andrey Skvortsov
> >-------------- next part --------------
> >A non-text attachment was scrubbed...
> >Name: signature.asc
> >Type: application/pgp-signature
> >Size: 833 bytes
> >Desc: not available
> >
> >------------------------------
> >
> >------------------------------------------------------------------------------
> >Check out the vibrant tech community on one of the world's most
> >engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >
> >------------------------------
> >
> >Subject: Digest Footer
> >
> >_______________________________________________
> >Beremiz-devel mailing list
> >[hidden email]
> >https://lists.sourceforge.net/lists/listinfo/beremiz-devel
> >
> >
> >------------------------------
> >
> >End of Beremiz-devel Digest, Vol 92, Issue 13
> >*********************************************

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Beremiz-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/beremiz-devel


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] how to run Beremiz-service.py on embedded linux system.

gpfrank
In reply to this post by gpfrank
Hello Andrey Skvortsov:
Thank you for your suggestion!
1) Now I used 256MB raw NAND.  I will consider the eMMC. but I am afraid that it working temperature and shrink problems. 
2) I will try to use the Buildroot to make the rootfile system instead of busybox. I am a fresher for buildroot. By the way, can you share your buildroot source codes that includes beremiz_service only?     
Thanks again!

Best regards!
Franklin.




At 2018-07-18 20:14:39, [hidden email] wrote: >Send Beremiz-devel mailing list submissions to > [hidden email] > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/beremiz-devel >or, via email, send a message with subject or body 'help' to > [hidden email] > >You can reach the person managing the list at > [hidden email] > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Beremiz-devel digest..." > > >Today's Topics: > > 1. Re: how to run Beremiz-service.py on embedded linux system. > (gpfrank) > 2. Re: how to run Beremiz-service.py on embedded linux system. > (Andrey Skvortsov) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Tue, 17 Jul 2018 23:05:34 +0800 (CST) >From: gpfrank <[hidden email]> >To: [hidden email] >Subject: Re: [Beremiz-devel] how to run Beremiz-service.py on embedded > linux system. >Message-ID: <[hidden email]> >Content-Type: text/plain; charset="gbk" > >Hello Andrey Skvortsov: Thank you for your feedback quickly! First I used busybox to make the ARM embedded linux file system, and cloned Beremiz folder.but the Beremiz_service.py cannot work. because I cannot finish installing the zeroconf.(failed to install) And I try to use the Debian system, install all of packages for the Beremiz. but the file systemneed over 800MB. It is hard for me to reduce the size. > > Because I don't understand Beremiz clearly, now I try to remake a connector based on LPCManager, don't use the > pyro and zeroconf. > Do you any suggestion for me? still use the Beremiz_service.py or rewirte a new connector? > > >Best regards! >Franklin. > > > > >>Message: 2 >>Date: Tue, 17 Jul 2018 11:46:17 +0300 >>From: Andrey Skvortsov <[hidden email]> >>Cc: [hidden email] >>Subject: Re: [Beremiz-devel] how to run Beremiz-service.py on embedded >> linux system. >>Message-ID: <[hidden email]> >>Content-Type: text/plain; charset="utf-8" >> >>Hi Franklin, >> >>On 18-07-17 10:25, gpfrank wrote: >>> Hello Developers! >>> Now I want to run the Beremiz-service.py under a lean embedded linux system. >>> but I found the latest version need a lot of python package. >>> Do you have any suggestion for this condition. [small nand(128M-256M), not >>> PC-based linux system. ] >> >>I thought for 128M-256M should be enough Beremiz_service to run. >>Beremiz_service does require much less python packages that Beremiz >>IDE, because you don't need any GUI libraries. >> >>Or I'm wrong? Does it really not fit in 256M? >>Which packages have you installed for Beremiz_service? >> >>> Best regards! >>> franklin >> >> >>-- >>Best regards, >>Andrey Skvortsov >>-------------- next part -------------- >>A non-text attachment was scrubbed... >>Name: signature.asc >>Type: application/pgp-signature >>Size: 833 bytes >>Desc: not available >> >>------------------------------ >> >>------------------------------------------------------------------------------ >>Check out the vibrant tech community on one of the world's most >>engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >>------------------------------ >> >>Subject: Digest Footer >> >>_______________________________________________ >>Beremiz-devel mailing list >>[hidden email] >>https://lists.sourceforge.net/lists/listinfo/beremiz-devel >> >> >>------------------------------ >> >>End of Beremiz-devel Digest, Vol 92, Issue 13 >>********************************************* >-------------- next part -------------- >An HTML attachment was scrubbed... > >------------------------------ > >Message: 2 >Date: Wed, 18 Jul 2018 10:57:54 +0300 >From: Andrey Skvortsov <[hidden email]> >Cc: [hidden email] >Subject: Re: [Beremiz-devel] how to run Beremiz-service.py on embedded > linux system. >Message-ID: <[hidden email]> >Content-Type: text/plain; charset="utf-8" > >Hi Franklin, > >On 18-07-17 23:05, gpfrank wrote: >> Hello Andrey Skvortsov: Thank you for your feedback quickly! >> First I used busybox to make the ARM embedded linux file system, and >> cloned Beremiz folder.but the Beremiz_service.py cannot >> work. because I cannot finish installing the zeroconf.(failed to >> install) And I try to use the Debian system, install all of >> packages for the Beremiz. but the file systemneed over 800MB. It is >> hard for me to reduce the size. >I'm afraid that Debian-based image will not fit into 128Mb of NAND >flash with a kernel and space for user program and data. If you care >about rootfs size, you have to use something else. > >Do you really use 128Mb raw NAND chips? I've heard they are pretty >rare and hard to buy nowadays. Everyone is switched to high-capacity >eMMC. > >> >> Because I don't understand Beremiz clearly, now I try to >> remake a connector based on LPCManager, don't use the >> pyro and zeroconf. >> Do you any suggestion for me? still use the >> Beremiz_service.py or rewirte a new connector? >If you don't have any particular reasons to switch, use Beremiz_service.py. > >To check space requirements I've created simple Buildroot-based image >with Beremiz_service (no GUI) and all its requirements for i386 architecture. >Rootfs takes 18.9Mb. So it'd certainly fit into 128Mb and a lot of >space would be left for user's program and data. > > >> >> Best regards! >> Franklin. >> >> >> >> >> >Message: 2 >> >Date: Tue, 17 Jul 2018 11:46:17 +0300 >> >From: Andrey Skvortsov <[hidden email]> >> >Cc: [hidden email] >> >Subject: Re: [Beremiz-devel] how to run Beremiz-service.py on embedded >> > linux system. >> >Message-ID: <[hidden email]> >> >Content-Type: text/plain; charset="utf-8" >> > >> >Hi Franklin, >> > >> >On 18-07-17 10:25, gpfrank wrote: >> >> Hello Developers! >> >> Now I want to run the Beremiz-service.py under a lean embedded linux system. >> >> but I found the latest version need a lot of python package. >> >> Do you have any suggestion for this condition. [small nand(128M-256M), not >> >> PC-based linux system. ] >> > >> >I thought for 128M-256M should be enough Beremiz_service to run. >> >Beremiz_service does require much less python packages that Beremiz >> >IDE, because you don't need any GUI libraries. >> > >> >Or I'm wrong? Does it really not fit in 256M? >> >Which packages have you installed for Beremiz_service? >> > >> >> Best regards! >> >> franklin >> > >> > >> >-- >> >Best regards, >> >Andrey Skvortsov >> >-------------- next part -------------- >> >A non-text attachment was scrubbed... >> >Name: signature.asc >> >Type: application/pgp-signature >> >Size: 833 bytes >> >Desc: not available >> > >> >------------------------------ >> > >> >------------------------------------------------------------------------------ >> >Check out the vibrant tech community on one of the world's most >> >engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > >> >------------------------------ >> > >> >Subject: Digest Footer >> > >> >_______________________________________________ >> >Beremiz-devel mailing list >> >[hidden email] >> >https://lists.sourceforge.net/lists/listinfo/beremiz-devel >> > >> > >> >------------------------------ >> > >> >End of Beremiz-devel Digest, Vol 92, Issue 13 >> >********************************************* > >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> _______________________________________________ >> Beremiz-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > >-- >Best regards, >Andrey Skvortsov >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: signature.asc >Type: application/pgp-signature >Size: 833 bytes >Desc: not available > >------------------------------ > >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >------------------------------ > >Subject: Digest Footer > >_______________________________________________ >Beremiz-devel mailing list >[hidden email] >https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > >------------------------------ > >End of Beremiz-devel Digest, Vol 92, Issue 16 >*********************************************


 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] how to run Beremiz-service.py on embedded linux system.

skv
Administrator
On 18-07-19 09:56, gpfrank wrote:
> Hello Andrey Skvortsov:

> Thank you for your suggestion!1) Now I used
> 256MB raw NAND.  I will consider the eMMC. but I am afraid that it
> working temperature and shrink problems. 2) I will try to use the
> Buildroot to make the rootfile system instead of busybox. I am a
> fresher for buildroot. By the way, can you share your buildroot
> source codes that includes beremiz_service only?
I'll write wiki article about that soon.

> Thanks again!
>
> Best regards!
> Franklin.
>
> >
> >Hi Franklin,
> >
> >On 18-07-17 23:05, gpfrank wrote:
> >> Hello Andrey Skvortsov:       Thank you for your feedback quickly!
> >> First I used busybox to make the ARM embedded linux file system, and
> >> cloned Beremiz folder.but the Beremiz_service.py cannot
> >> work. because I cannot finish installing the zeroconf.(failed to
> >> install)       And I try to use the Debian system, install all of
> >> packages for the Beremiz. but the file systemneed over 800MB.  It is
> >> hard for me to reduce the size.
> >I'm afraid that Debian-based image will not fit into 128Mb of NAND
> >flash with a kernel and space for user program and data. If you care
> >about rootfs size, you have to use something else.
> >
> >Do you really use 128Mb raw NAND chips? I've heard they are pretty
> >rare and hard to buy nowadays. Everyone is switched to high-capacity
> >eMMC.
> >
> >>
> >>        Because I don't understand Beremiz clearly, now I try to
> >>        remake a connector based on LPCManager, don't use the
> >>  pyro and zeroconf.
> >>        Do you any suggestion for me?  still use the
> >>        Beremiz_service.py or rewirte a new connector?
> >If you don't have any particular reasons to switch, use Beremiz_service.py.
> >
> >To check space requirements I've created simple Buildroot-based image
> >with Beremiz_service (no GUI) and all its requirements for i386 architecture.
> >Rootfs takes 18.9Mb. So it'd certainly fit into 128Mb and a lot of
> >space would be left for user's program and data.
> >
> >
> >>
> >> Best regards!
> >> Franklin.
--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] how to run Beremiz-service.py on embedded linux system.

skv
Administrator
In reply to this post by gpfrank
Hi Franklin,

On 18-07-19 09:56, gpfrank wrote:

> Hello Andrey Skvortsov:Thank you for your suggestion!1) Now I used
> 256MB raw NAND.  I will consider the eMMC. but I am afraid that it
> working temperature and shrink problems. 2) I will try to use the
> Buildroot to make the rootfile system instead of busybox. I am a
> fresher for buildroot. By the way, can you share your buildroot
> source codes that includes beremiz_service only?     Thanks again!
>
>
> Best regards!
> Franklin.
>
I've added wiki article how to build the minimal system image for Beremiz_service.
https://bitbucket.org/automforge/beremiz/wiki/Build%20minimal%20Beremiz%20runtime%20with%20Buildroot
Happy hacking!

--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment