thanks. I added > /dev/ttyS0 to rc.local. It works fine. Thanks a lot.
red arrows are my outputs of my app.
Posts made by Fikret UYSAL
-
RE: rc.local doesn't work on boot
-
RE: rc.local doesn't work on boot
Just a python file: sayHello.py file content is:
print("hello")İ wanted to see whether it would work.
-
RE: rc.local doesn't work on boot
Hi. Thanks for attention. I designed two different pcb. One is gsm+gps module supported vehicle tracking project. the other is a hub of lots of gpio and sensor connection pcb.
I load bin file from repo.onioniot.io/omega2/images
B239 latest image, made update, install python3, pyserial.Module is still waiting to press enter before "crng init done" line.
İf I press enter omega2 busybox screen comes and prints what will you want, if i don't press enter, it waits for enter key. Do nothing else.
I load b202 image and made update, install python, pyserial and reboot.
Omega2+ waits to press enter,
When i press enter it prints busybox screen. İf i don't press enter, omega2 waits for enter key, do nothing else.I added to rc.local file, the line below:
python /home/sayHello.pyWhen i give this command at terminal window, it works fine and prints "hello" word. But at rc.local file it does nothing.
Two different images (b202 and b239) and two different omega2+ chip, i couldn't boot properly and rc.local file didn't work.
Now, sun is rising when i am writing this sentences. Morning is coming up.
I try to take a youtube video of boot process and give link to you.
Thanks for your attention @crispyoz and @Lnx-Prof and @György-Farkas
-
RE: rc.local doesn't work on boot
@György-Farkas
I downloaded from repo.onion.io, b239 official image.
I used b200 and b233 images before. They have been waiting for enter key too.
Can you offer image link? -
RE: rc.local doesn't work on boot
@György-Farkas
I want omega2 to boot up without help of any keystrokes.
Which settings should I do for this? -
RE: rc.local doesn't work on boot
@György-Farkas
Maybe, if it is so, nothing is change.
Omega2 can't boot standalone and doesn't run rc.local file. -
RE: rc.local doesn't work on boot
@György-Farkas
On the other hand, boot process wait at 87.xxx line.
It waits until press enter.
So boot process never attends standalone. Why it waits enter key.İf I don't press enter key, it never complete boot process.
-
RE: rc.local doesn't work on boot
@György-Farkas
I add rc.local the code below.
python3 /home/sayHello.pyWhen I gave this command on terminal window, it prints "hello" text.
İf I can run rc.local file, I will run a python file that controls gsm module and gps tracking app.
It runs normally when I gave the command below:
python3 /home/arts/gets.pyI have no problem with files.
I have problem with rc.local startingI tried this at raspberry pi. It works fine.
-
rc.local doesn't work on boot
hi. I am interested in omega2+ by two years. I designed and shared some pcbs including omega2+.
When developing software it doesn't matter. But i want to run my omega2+ standalone at my car.
It boot until then line below.[ 87.656889] random: 6 urandom warning(s) missed due to ratelimiting
omega2+ wait until pressing enter key. (I am connected to omega2+ with usb serial converter)
Then i pressed enter, it boots and shows Omega what will you invent screen.
At this point boot process ends but rc.local doesn't work.I have this problem with b200ü, b233, b239 versions.
I tried it 3 different omega2+ chip. All of them didn't work.I asked this before. Someone answered that create a service under /etc/rc.d .
I couldn't have success.I want to run a python file on boot of Omega2+.
![alt metni](Boot screen) -
RE: etc/rc.local doesn't work o omega2+
@crispyoz, I read article.
I tried on several times. Service has been created by didn't work.
Also rc.local didn't work.
I tried it two different omega2+. They are same version b233. -
RE: etc/rc.local doesn't work o omega2+
@crispyoz I am newbee in linux. Mostly work on windows.
I don't know how it sould be done.
Can you help with this. -
etc/rc.local doesn't work o omega2+
Hi. I develop python3 codes on omega2+. I want to run my codes on boot. I updated my omega2+ to 0.3.2 b233 version. Everything is allright but rc.local didn't work. I couldn't start my app on boot.
Omega2+ waits to hit enter to pass post screen.
If I solve this, I design a vehicle tracking app with gps/gnss location.
Thanks.
Fikret UYSAL -
RE: My Omega2+ Development Board
@Alexandr-Didenko
here is another projects link with omega.
https://www.pcbway.com/project/shareproject/W225760ASH9_FD_PYT_DEV___CADCAM.html
here is the gerber files for omega2 development board.I remember that i have shared this project on pcbway but i couldn't find it.
if i find i will add post here. -
Python GPS data parse (OMEGA2+ application)
I am developing a tracking system that contains OMEGA2+, quectel MC60 GSM / GNSS chip. I shared codes on my device. I hope it is useful for someone.
http://fidenetgaraj.blogspot.com/2018/06/python-gps-verisi-isleme-uygulamas.html
-
OMEGA2+ serial port send-receive data
I wrote something on my blog about using serial port on OMEGA2+.
http://fidenetgaraj.blogspot.com/2018/05/omega2-ile-seri-port-veri-alma-gonderme.html
I hope it is useful for someone.
-
Communicate with OMEGA2+ using SSH
I lived difficulties about writing python codes on OMEGA2+. I got succeed. Now i have a python-OMEGA2+ board that I designed.
I wrote something on my blog. People who have difficulties about communicating with OMEGA2+, can read my article.http://fidenetgaraj.blogspot.com/2018/05/omega2-ile-konusmak.html
-
Omega2+ SQLite3 Application
I wrote about something on my blog. fidenetgaraj.blogspot.com
It is written Turkish Language.http://fidenetgaraj.blogspot.com/2018/05/omega2-uzerinde-sqlite3-uygulamas-yapalm.html
I hope it is useful for someone.