Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
1 answers
1499 views
How can I install mysql on an angstrom distribution?
I tried using a different distribution (debian) but the rest of my application did not work. I've tried opkg install mysql-client and opkg install mysql-server however I get the error Unknown package for both.
I tried using a different distribution (debian) but the rest of my application did not work. I've tried opkg install mysql-client and opkg install mysql-server however I get the error Unknown package for both.
E. Lee (21 rep)
Aug 25, 2013, 05:27 PM • Last activity: Feb 19, 2023, 03:01 AM
1 votes
2 answers
136 views
Can't Make a LDD for a Devkit8000
I'm trying to build a Linux Device Driver for a Devkit 8000. I'm getting the following errormessage: ![Error Message][1] When I try to follow it's directions I get asked a bunch of yes/no questions I don't really understand. In the end, I get to choose between 25 different processors(?): ![Processor...
I'm trying to build a Linux Device Driver for a Devkit 8000. I'm getting the following errormessage: Error Message When I try to follow it's directions I get asked a bunch of yes/no questions I don't really understand. In the end, I get to choose between 25 different processors(?): Processor selection Here's my makefile: ifeq ($(KERNELRELEASE),) KERNELDIR = ~/sources/linux-3.2.6 PWD := $(shell pwd) modules: $(MAKE) ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- -C $(KERNELDIR) M=$(PWD) modules .PHONY: modules clean else # called from kernel build system: just declare what our modules are obj-m := LED_timer.o endif I don't think my code itself is relevant yet, plus I **know** that my sourcecode is riddled with bugs, you don't want to see that, haha.
Mathias Siig Nørregaard (13 rep)
Nov 17, 2014, 06:14 PM • Last activity: Jun 2, 2022, 07:08 AM
46 votes
8 answers
103667 views
Is there a way to list the connected devices on my wifi access point?
I have an Angstrom Linux device acting as an access point, running `hostapd`, `dhcpd`, which works fine. Can I get a list of devices connected to the Wi-Fi? I know I can get the DHCP leases, but I need to know which devices connect through `wlan0`. I've tried this (`iwlist` has options): iwlist wlan...
I have an Angstrom Linux device acting as an access point, running hostapd, dhcpd, which works fine. Can I get a list of devices connected to the Wi-Fi? I know I can get the DHCP leases, but I need to know which devices connect through wlan0. I've tried this (iwlist has options): iwlist wlan0 ap iwlist wlan0 accesspoints iwlist wlan0 peers but all return: wlan0 Interface doesn't have a list of Peers/Access-Points iwconfig, iwgetid, iwpriv and iwspy are also present in /sbin, but don't seem to have options to display the client list.
Jeff (731 rep)
Jun 5, 2012, 05:47 PM • Last activity: Dec 31, 2021, 06:46 PM
0 votes
2 answers
1386 views
Instantly getting Write Failed: Broken Pipe with SSH to an embedded system
As said above, when I try to SSH into my embedded system (a De0-Nano-SoC FPGA development board running Angström with Kernel 4.1) I get a "Write Failed: Broken Pipe"-Error and get disconnected. I read that this is often linked to network problems and timeouts, but in my case it's happening inst...
As said above, when I try to SSH into my embedded system (a De0-Nano-SoC FPGA development board running Angström with Kernel 4.1) I get a "Write Failed: Broken Pipe"-Error and get disconnected. I read that this is often linked to network problems and timeouts, but in my case it's happening instantly, so it can't be a timeout-issue (can it?). I'm searching for other solutions to this problem or other problems that might cause this error message. Update: The other direction (SSH from embedded to host PC) works flawlessly! Here's the output from tcpdump | grep cyclone5, juggernaut is the host PC, cyclone5 the embedded device and fritz.box is my router: 16:56:01.080879 IP6 juggernaut.fritz.box.48641 > fritz.box.domain: 3129+ A? cyclone5. (26) 16:56:01.080885 IP6 juggernaut.fritz.box.48641 > fritz.box.domain: 28063+ AAAA? cyclone5. (26) 16:56:01.082341 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [S], seq 1263535780, win 28640, options [mss 1432,sackOK,TS val 932516 ecr 0,nop,wscale 7], length 0 16:56:01.083400 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [S.], seq 983702311, ack 1263535781, win 28400, options [mss 1432,sackOK,TS val 55053 ecr 932516,nop,wscale 7], length 0 16:56:01.083410 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 1, win 224, options [nop,nop,TS val 932516 ecr 55053], length 0 16:56:01.083528 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 1:40, ack 1, win 224, options [nop,nop,TS val 932516 ecr 55053], length 39 16:56:01.084584 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 40, win 222, options [nop,nop,TS val 55053 ecr 932516], length 0 16:56:01.117746 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1:22, ack 40, win 222, options [nop,nop,TS val 55056 ecr 932516], length 21 16:56:01.117773 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 22, win 224, options [nop,nop,TS val 932525 ecr 55056], length 0 16:56:01.118222 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], seq 40:1460, ack 22, win 224, options [nop,nop,TS val 932525 ecr 55056], length 1420 16:56:01.118415 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 1460:2008, ack 22, win 224, options [nop,nop,TS val 932525 ecr 55056], length 548 16:56:01.118667 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2008, win 253, options [nop,nop,TS val 55056 ecr 932525], length 0 16:56:01.121526 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 22:934, ack 2008, win 253, options [nop,nop,TS val 55057 ecr 932525], length 912 16:56:01.123158 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2008:2056, ack 934, win 246, options [nop,nop,TS val 932526 ecr 55057], length 48 16:56:01.159565 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2056, win 253, options [nop,nop,TS val 55061 ecr 932526], length 0 16:56:01.164976 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 934:1214, ack 2056, win 253, options [nop,nop,TS val 55061 ecr 932526], length 280 16:56:01.167861 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2056:2072, ack 1214, win 261, options [nop,nop,TS val 932538 ecr 55061], length 16 16:56:01.168671 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2072, win 253, options [nop,nop,TS val 55061 ecr 932538], length 0 16:56:01.168678 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2072:2116, ack 1214, win 261, options [nop,nop,TS val 932538 ecr 55061], length 44 16:56:01.169453 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2116, win 253, options [nop,nop,TS val 55061 ecr 932538], length 0 16:56:01.169760 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1214:1258, ack 2116, win 253, options [nop,nop,TS val 55062 ecr 932538], length 44 16:56:01.169857 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2116:2176, ack 1258, win 261, options [nop,nop,TS val 932538 ecr 55062], length 60 16:56:01.209580 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2176, win 253, options [nop,nop,TS val 55066 ecr 932538], length 0 16:56:01.491968 IP6 fritz.box.domain > juggernaut.fritz.box.49687: 37977* 1/1/3 PTR cyclone5.fritz.box. (208) 16:56:03.119066 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1258:1334, ack 2176, win 253, options [nop,nop,TS val 55256 ecr 932538], length 76 16:56:03.119134 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2176:2252, ack 1334, win 261, options [nop,nop,TS val 933025 ecr 55256], length 76 16:56:03.119954 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2252, win 253, options [nop,nop,TS val 55257 ecr 933025], length 0 16:56:03.122701 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1334:1394, ack 2252, win 253, options [nop,nop,TS val 55257 ecr 933025], length 60 16:56:03.159841 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 1394, win 261, options [nop,nop,TS val 933036 ecr 55257], length 0 16:56:11.034026 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2252:2328, ack 1394, win 261, options [nop,nop,TS val 935004 ecr 55257], length 76 16:56:11.069809 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2328, win 253, options [nop,nop,TS val 56052 ecr 935004], length 0 16:56:11.165970 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1394:1438, ack 2328, win 253, options [nop,nop,TS val 56061 ecr 935004], length 44 16:56:11.165983 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 1438, win 261, options [nop,nop,TS val 935037 ecr 56061], length 0 16:56:11.166024 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2328:2404, ack 1438, win 261, options [nop,nop,TS val 935037 ecr 56061], length 76 16:56:11.166816 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2404, win 253, options [nop,nop,TS val 56061 ecr 935037], length 0 16:56:11.167921 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1438:1466, ack 2404, win 253, options [nop,nop,TS val 56061 ecr 935037], length 28 16:56:11.167985 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2404:2508, ack 1466, win 261, options [nop,nop,TS val 935038 ecr 56061], length 104 16:56:11.173648 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [R.], seq 1466, ack 2508, win 253, options [nop,nop,TS val 0 ecr 935038], length 0
TheBrillowable (1 rep)
Apr 19, 2016, 02:39 PM • Last activity: Jun 27, 2020, 02:00 PM
0 votes
1 answers
776 views
** File not found /boot/uImage ** When using Angstrom Pre-built Images on BeagleBoneBlack Rev C
I'm trying to boot my BeagleBone Black into Angstrom using pre-built images found [here][1]. My SD card has two partitions `BOOT` & `ROOTFS`, and was formatted according to the procedures found [here][2]. [![enter image description here][3]][3] Below are the contents of both partitions: [![contents...
I'm trying to boot my BeagleBone Black into Angstrom using pre-built images found here . My SD card has two partitions BOOT & ROOTFS, and was formatted according to the procedures found here . enter image description here Below are the contents of both partitions: contents of BOOT & ROOTFS The lost+found folder was the result of formatting the SD card and I haven't been able to delete it. I don't think this would cause u-boot to hang. However when booting, u-boot repeatedly tells me that it can't find /boot/uImage & /boot/am335x-boneblack.dtb: boot-up sequence The first of the following 2 images is my uEnv.txt, it uses load mmc 0:2 to both load these files. The second image is the result after attempting to use ext4load mmc 0:2 since the ROOTFS partition is formatted as ext4: uEnv.txt entering uboot and using ext4load The ROOTFS (mmc 0:2) partition contains the rootfile system, but when I attempt to list the contents of the /boot directory u-boot returns nothing. When I had the SD card plugged into my comp and mounted. I attempted to ls the /boot directory and denied permission despite using sudo. listing the contents of my ROOTFS partition (mmc 0:2) Why can't uboot locate the uImage and dtb files?
Niko_Jako (57 rep)
May 24, 2020, 10:51 PM • Last activity: May 25, 2020, 06:11 PM
0 votes
1 answers
1169 views
Bash script for Angstrom
I have written a bash script to automate cross-compiling an OpenCV program: echo "Compiling started for: $1" if [[ $1 == *.c ]] then gcc -ggdb `pkg-config --cflags opencv` -o `basename $1 .c` $1 `pkg-config --libs opencv`; elif [[ $1 == *.cpp ]] then g++ -ggdb `pkg-config --cflags opencv` -o `basena...
I have written a bash script to automate cross-compiling an OpenCV program: echo "Compiling started for: $1" if [[ $1 == *.c ]] then gcc -ggdb pkg-config --cflags opencv -o basename $1 .c $1 pkg-config --libs opencv; elif [[ $1 == *.cpp ]] then g++ -ggdb pkg-config --cflags opencv -o basename $1 .cpp $1 pkg-config --libs opencv; else echo "Only c or c++ files" fi echo "Output: ${1%.*}" But now I noticed that there does not exist a bashrc at the Angstrom distribution. So what can I do?
Amadeus (101 rep)
Nov 3, 2012, 01:50 PM • Last activity: Mar 10, 2019, 04:17 AM
4 votes
1 answers
4782 views
Trouble with opkg package manager in Angstrom embedded linux on Colibri module ARM v7 processor
I am working on a Colibri module having Angstrom linux installed in it! The processor is ARM v7. I am having trouble updating the softwares installed in the system. Whenever I tried the command `opkg update`, I'd get a bunch of errors. Probably, it seems that the support from Angstrom project has be...
I am working on a Colibri module having Angstrom linux installed in it! The processor is ARM v7. I am having trouble updating the softwares installed in the system. Whenever I tried the command opkg update, I'd get a bunch of errors. Probably, it seems that the support from Angstrom project has been withdrawn as it gives 404 content not found error. The error message is: $ opkg update Downloading http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/base/Packages.gz . wget: server returned error: HTTP/1.1 404 Not Found Downloading http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/debug/Packages.gz . wget: server returned error: HTTP/1.1 404 Not Found Downloading http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/gstreamer/Packages.gz . wget: server returned error: HTTP/1.1 404 Not Found Downloading http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/all/Packages.gz . Inflating http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/all/Packages.gz . Updated list of available packages in /var/lib/opkg/lists/no-arch. Downloading http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/perl/Packages.gz . wget: server returned error: HTTP/1.1 404 Not Found Downloading http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/python/Packages.gz . wget: server returned error: HTTP/1.1 404 Not Found Collected errors: * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/base/Packages.gz , wget returned 1. * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/debug/Packages.gz , wget returned 1. * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/gstreamer/Packages.gz , wget returned 1. * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/perl/Packages.gz , wget returned 1. * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2014.06/ipk/eglibc/armv7ahf-vfp-neon/python/Packages.gz , wget returned 1. 404 Not Found feeds.angstrom-distribution.org Also, I tried installing package gcc by using the command opkg install gcc, but the same result. Again, surprisingly, the error message is unbelievable... $ opkg install gcc Unknown package 'gcc'. Collected errors: * opkg_install_cmd: Cannot install package gcc. I have no idea as to how to resolve this error as it is completely surprising. Also, it is of immense importance as I have to complete it within 2 days of installing gcc and running C programs...
Am_I_Helpful (721 rep)
Oct 14, 2014, 12:01 PM • Last activity: Mar 9, 2019, 12:40 PM
7 votes
2 answers
31020 views
How to fix make error "No rule to make target 'menuconfig'" when building a kernel for Beagleboard?
The aim is to build and install the USB Video Class (UVC) module, via `make modules_install`. I'm trying to configure the kernel via `make menuconfig` on Angstrom distribution, running on BeagleBoard-xM. Angstrom image (console only) was build on [Narcissus][1] online image builder. Angstrom kernel...
The aim is to build and install the USB Video Class (UVC) module, via make modules_install. I'm trying to configure the kernel via make menuconfig on Angstrom distribution, running on BeagleBoard-xM. Angstrom image (console only) was build on Narcissus online image builder. Angstrom kernel is 2.6.32. I receive the following error: make: *** No rule to make target 'menuconfig'. Stop. It seems that there are no kernel sources because usr/src contains nothing. Should I have to download Linux kernel 2.6.32 from kernel.org and what should be my next steps in order to configure the kernel?
dempap (745 rep)
Jan 19, 2014, 10:28 PM • Last activity: Nov 13, 2018, 07:26 AM
1 votes
0 answers
395 views
cheese doesn't work in beagleboneblack installed with angstrom, using chipsee LCD
I am using chipsee LCD + beaglebone black and Logitech Webcam C270. I am using the Angstrom OS distribution provided by Chipsee. I wanted to use Cheese to see if the webcam works fine or not. When I open cheese, it opens and shows a waiting animation and then closes without any error messages or any...
I am using chipsee LCD + beaglebone black and Logitech Webcam C270. I am using the Angstrom OS distribution provided by Chipsee. I wanted to use Cheese to see if the webcam works fine or not. When I open cheese, it opens and shows a waiting animation and then closes without any error messages or anything. Any suggestions/pointers for debugging this issue? Adding journalctl -a -f output when I run cheese Jul 19 16:01:05 beaglebone-exp kernel: usb 2-1: reset high-speed USB device number 14 using musb-hdrc Jul 19 16:01:05 beaglebone-exp kernel: usb 2-1: USB disconnect, device number 14 Jul 19 16:01:06 beaglebone-exp kernel: usb 2-1: new high-speed USB device number 15 using musb-hdrc Jul 19 16:01:06 beaglebone-exp kernel: usb 2-1: New USB device found, idVendor=046d, idProduct=0825 Jul 19 16:01:06 beaglebone-exp kernel: usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2 Jul 19 16:01:06 beaglebone-exp kernel: usb 2-1: SerialNumber: FD382030 Jul 19 16:01:06 beaglebone-exp kernel: uvcvideo: Found UVC 1.00 device (046d:0825) Jul 19 16:01:06 beaglebone-exp kernel: input: UVC Camera (046d:0825) as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/input/input17
ART (1221 rep)
Jul 19, 2014, 02:27 PM • Last activity: Sep 18, 2018, 10:20 PM
0 votes
1 answers
4903 views
Video4Linux installation
I 'm running Angstrom distribution (console only) on BeagleBoard-xM. Image was build on Narcissus, with Bootloader Files (x-load/u-boot/scripts) added. I want to connect a USB webcam (Logitech Pro 9000). Problem is that device isn't recognised by the kernel (/dev/video0 not listed). I have some ques...
I 'm running Angstrom distribution (console only) on BeagleBoard-xM. Image was build on Narcissus, with Bootloader Files (x-load/u-boot/scripts) added. I want to connect a USB webcam (Logitech Pro 9000). Problem is that device isn't recognised by the kernel (/dev/video0 not listed). I have some questions: 1. Is Video4Linux the driver I 'm looking for? 2. Should I had include a toolchain on Narcissus, in order to build Video4Linux, before installing it? (any installation guide would really be appreciated). 3. Is there any way instead, to rebuild Angstrom image including the appropriate drivers? Any help, would be really appreciated.
dempap (745 rep)
Jan 16, 2014, 06:33 PM • Last activity: Aug 21, 2018, 03:06 AM
1 votes
0 answers
262 views
write error for rmem_max on Angstrom
I am trying to tune the UDP receive and transmit buffer size. According to my real time application needs, I need to configure the Tx buffer as 6 bytes and Rx buffer as 22 bytes. I am running Angstrom on a ARM A9 processor. (Altera cyclone v soc). The client and server are communicating over WiFi in...
I am trying to tune the UDP receive and transmit buffer size. According to my real time application needs, I need to configure the Tx buffer as 6 bytes and Rx buffer as 22 bytes. I am running Angstrom on a ARM A9 processor. (Altera cyclone v soc). The client and server are communicating over WiFi in adhoc mode. root@cyclone5:/proc/sys/net/core# cat rmem_max 163840 root@cyclone5:/proc/sys/net/core# sysctl -w rmem_max=22 sysctl: cannot stat /proc/sys/rmem_max: No such file or directory The file is located at the path /proc/sys/net/core , however the stat is looking for the file at path /proc/sys/ I have also tried the following : root@cyclone5:/proc/sys/net/core# sysctl -w net.core.rmem_max=22 sysctl: setting key "net.core.rmem_max": Invalid argument net.core.rmem_max = 22 Does anyone have a hand on this problem? The purpose of tuning the buffer sizes is because, I do not want to queue up the packets in the buffers. It is ok to overwrite the old packet with new packets, every time the call to recvfrom and sendto is made. Edit: A little more debugging to this issue, I found out that the minimum bytes I can set to this buffer is 2240 bytes. root@cyclone5:/proc/sys/net/core# echo 2238 > rmem_max -sh: echo: write error: Invalid argument root@cyclone5:/proc/sys/net/core# echo 2239 > rmem_max -sh: echo: write error: Invalid argument root@cyclone5:/proc/sys/net/core# echo 2240 > rmem_max root@cyclone5:/proc/sys/net/core# cat rmem_max 2240 Is there anyway to reduce this number, to as low as 22 bytes ?
gst (171 rep)
Dec 11, 2017, 10:32 AM • Last activity: Dec 11, 2017, 01:34 PM
1 votes
0 answers
67 views
Multiple graphical modes switching during startup
I have a small ARM board with Linux (Angström, kernel 4.1) and have connected it to a HDMI display. It works at the moment. I would like to show a splashscreen during the whole startup but it seems to be impossible. I use an `init.d` script with the `fbi` utility to display a picture but it's s...
I have a small ARM board with Linux (Angström, kernel 4.1) and have connected it to a HDMI display. It works at the moment. I would like to show a splashscreen during the whole startup but it seems to be impossible. I use an init.d script with the fbi utility to display a picture but it's shown only for 3-4 seconds in the middle of startup. I have analyzed bootup sequence and found that the graphical mode was switched many times during the startup. I have an HDMI display with a 1024x600 resolution. The bootup sequence is attached. You can see the following switches: - 0.21 s - 720x576 - 0.37, 1.37 s - 640x480 - 1.42 s - 640x480 1.87 s - 640x480 - 2.22 s - 1024x600 (the right one! The splashscreen is probably displayed after that action) - 9 - 14s - 6 (!) times the same resolution 1024x600, what should it mean? I start the kernel from Uboot with the following command: mxc_hdmi.only_cea=0 video=mxcfb0:dev=hdmi,1024x600M@60,if=RGB24 And the picture was shown just for ca. 3-4 seconds after 2 seconds, so there is something wrong between the 7th second and the 9th second, no switching was here but also no picture on the screen. How should I fix it and let the picture in the screen for the full duration of the startup routine? Why does the system switch the resolutions so many times during startup? The GUI of the system is LXDE. Bootup log
Alex (19 rep)
Jun 23, 2017, 01:06 PM • Last activity: Aug 3, 2017, 12:59 PM
2 votes
0 answers
247 views
How can a package's license be determined using OPKG package manager?
OPKG is used as the package manager in an embedded Linux system. I would like to be able to determine the license of a package prior to installing the package. Is there a simple way to achieve this through the package manager (or related utility included with the Angstrom distribution)? Alternativel...
OPKG is used as the package manager in an embedded Linux system. I would like to be able to determine the license of a package prior to installing the package. Is there a simple way to achieve this through the package manager (or related utility included with the Angstrom distribution)? Alternatively, can the package manager list the license(s) of an installed package?
shibley (556 rep)
Apr 1, 2015, 04:58 PM • Last activity: Dec 4, 2016, 03:41 AM
1 votes
1 answers
44 views
Is bootloader code linked to any other Software?
I want to use DAS U-boot and a form of embedded Linux. Is bootloader code linked in any way to other source code (e.g. statically, dynamically)? Or is it standalone?
I want to use DAS U-boot and a form of embedded Linux. Is bootloader code linked in any way to other source code (e.g. statically, dynamically)? Or is it standalone?
user_ABCD (143 rep)
Aug 23, 2016, 12:52 PM • Last activity: Aug 23, 2016, 12:59 PM
0 votes
1 answers
2919 views
opkg can't find apache
I'm trying to get a LAMP stack running on my BeagleBone Black, but I'm getting foiled early: opkg can't seem to find the apache2 package. According to the Angstrom page, it should exist: http://www.angstrom-distribution.org/repo/ (search "apache" for confirmation) ...but when I run opkg, it can't fi...
I'm trying to get a LAMP stack running on my BeagleBone Black, but I'm getting foiled early: opkg can't seem to find the apache2 package. According to the Angstrom page, it should exist: http://www.angstrom-distribution.org/repo/ (search "apache" for confirmation) ...but when I run opkg, it can't find it. This is what I see: root@beaglebone:~# opkg install apache2 Unknown package 'apache2'. Collected errors: * opkg_install_cmd: Cannot install package apache2. root@beaglebone:~# opkg list | grep apache2 php-fpm-apache2 - 5.3.19-r4.0.1 - php version 5.3.19-r4.0 ...and naturally, that's after running opkg update.
baudot (111 rep)
Jun 8, 2013, 06:39 AM • Last activity: Aug 17, 2016, 11:57 PM
1 votes
0 answers
1364 views
Making ppp connection over 3G modem as stable as possible
I am using portuxG20 platform under Angstrom linux. The device collects data and sends it to the server via #g network using 3G modem. In the pppd log i have found following: chat: Aug 05 20:05:23 CONNECT Serial connection established. using channel 28 Using interface ppp0 Connect: ppp0 /dev/ttyUSB_...
I am using portuxG20 platform under Angstrom linux. The device collects data and sends it to the server via #g network using 3G modem. In the pppd log i have found following: chat: Aug 05 20:05:23 CONNECT Serial connection established. using channel 28 Using interface ppp0 Connect: ppp0 /dev/ttyUSB_utps_modem sent [LCP ConfReq id=0x1 ] rcvd [LCP ConfReq id=0x6c ] No auth is possible sent [LCP ConfRej id=0x6c ] rcvd [LCP ConfAck id=0x1 ] rcvd [LCP ConfReq id=0x6d ] sent [LCP ConfAck id=0x6d ] sent [CCP ConfReq id=0x1 ] sent [IPCP ConfReq id=0x1 ] rcvd [LCP DiscReq id=0x6e magic=0x14ad140] rcvd [IPCP ConfNak id=0x1 ] sent [IPCP ConfReq id=0x2 ] rcvd [IPCP ConfNak id=0x2 ] sent [IPCP ConfReq id=0x3 ] rcvd [IPCP ConfReq id=0x36] sent [IPCP ConfNak id=0x36 ] rcvd [IPCP ConfRej id=0x3 ] sent [IPCP ConfReq id=0x4 ] rcvd [IPCP ConfReq id=0x37] sent [IPCP ConfAck id=0x37] rcvd [IPCP ConfNak id=0x4 ] sent [IPCP ConfReq id=0x5 ] rcvd [IPCP ConfAck id=0x5 ] Could not determine remote IP address: defaulting to 10.64.64.64 local IP address 10.21.23.245 remote IP address 10.64.64.64 primary DNS address 10.74.210.210 secondary DNS address 10.74.210.211 Script /etc/ppp/ip-up started (pid 8441) Script /etc/ppp/ip-up finished (pid 8441), status = 0x0 sent [CCP ConfReq id=0x1 ] rcvd [LCP ProtRej id=0x6f 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00] Connect script failed Terminating on signal 15 Modem hangup Connection terminated. Connect script failed Terminating on signal 15 Modem hangup Connection terminated. Connect script failed Terminating on signal 15 Modem hangup . . . After some time the connection is established. How can I find out why is this happening and what was the cause of the problem? My provider script looks like this: debug logfile /home/logs/pppd.log user "vodafone" connect "/usr/sbin/chat -v -f /home/scripts/chatscripts/pap" /dev/ttyUSB_utps_modem 115200 noipdefault usepeerdns defaultroute persist noauth I have a script that is checking whether ping to ntdp server works, and if not it kills pppd and makes a new call (I am not sure if this is the correct way for something like that and maybe that makes problem): #!/bin/bash source /home/scripts/isconnected TTY="$(cat /home/scripts/.gsm_plugged)" SERVER="0.de.pool.ntp.org" sed s/isconnected=[0-9]/isconnected=0/ -i /home/scripts/isconnected while [ -c $TTY ] do sleep 30 ping -c 10 $SERVER > /dev/null if [ $? -ne 0 ] ; then echo "ping failed" echo "restarting" pkill pppd sleep 2 /usr/sbin/pppd call provider sleep 10 ntpdate -s 0.de.pool.ntp.org sed s/isconnected=[0-9]/isconnected=0/ -i /home/scripts/isconnected else sed s/isconnected=[0-9]/isconnected=1/ -i /home/scripts/isconnected fi done
Nexy_sm (143 rep)
Aug 9, 2016, 03:57 PM
3 votes
1 answers
5090 views
Setting up tty ports on Beaglebone Black with Angstrom linux
I'm using a Beaglebone Black running the Angstrom v2012.12 build that came pre-loaded. I want to be able to connect another device to a serial port via the UART connections on the GPIO headers. The problem is I can't tell which `/dev/tty` devices these map to. When I try to access the `/dev/ttyS?` d...
I'm using a Beaglebone Black running the Angstrom v2012.12 build that came pre-loaded. I want to be able to connect another device to a serial port via the UART connections on the GPIO headers. The problem is I can't tell which /dev/tty devices these map to. When I try to access the /dev/ttyS? devices (e.g. using od /dev/ttyS2) I get a "read error: Input/output error". Can anyone tell me if the UARTS are mapped to tty devices by default, if so, which ones and if not how I can create the right devices?
DougC (131 rep)
May 31, 2013, 12:07 PM • Last activity: Apr 26, 2016, 12:19 AM
0 votes
1 answers
330 views
How to install kernel sources
I 'm running Angstrom distribution (console only) on BeagleBoard-xM. Image was build on [Narcissus][1], with Bootloader Files (x-load/u-boot/scripts) added. I noticed that `usr/src` directory is empty. I intend to install kernel source packages. For this reason, I downloaded Linux kernel 2.6.32 from...
I 'm running Angstrom distribution (console only) on BeagleBoard-xM. Image was build on Narcissus , with Bootloader Files (x-load/u-boot/scripts) added. I noticed that usr/src directory is empty. I intend to install kernel source packages. For this reason, I downloaded Linux kernel 2.6.32 from https://www.kernel.org . What should be my next steps? I 've been searching for days, but I didn't find anything. Any help would really be appreciated.
dempap (745 rep)
Feb 6, 2014, 10:51 PM • Last activity: Mar 22, 2016, 09:16 AM
1 votes
1 answers
3268 views
no internet through wwan0 when cable attached to eth0
On my Beaglebone card I run Angstrom Linux. It has one cable in the ethernet port (etho) and a USB 3G modem dongle in the USB port whose interface is named wwan0. At the other end of the crossover ethernet cable is another Linux computer running on Raspberry Pi. When the ethernet cable is disconnect...
On my Beaglebone card I run Angstrom Linux. It has one cable in the ethernet port (etho) and a USB 3G modem dongle in the USB port whose interface is named wwan0. At the other end of the crossover ethernet cable is another Linux computer running on Raspberry Pi. When the ethernet cable is disconnected, I have internet access, but when the cable is attached, internet traffic gets directed on the eth0 interface. The ip route table looks like this: root@beaglebone:~# ip route default dev eth0 scope link default via 95.192.114.29 dev wwan0 95.192.114.28/30 dev wwan0 proto kernel scope link src 95.192.114.30 169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.29.204 When doing ping 8.8.8.8 this fails, but when I do ping -I wwan0 8.8.8.8 This works fine. I can also ping ping 169.254.1.N # 'far' end of ethernet crossover cable which is the other end of the ethernet crossover cable and it works. So how do I make sure that internet traffic goes out on the right interface? Is this one of the cases where the "Advanced router" option must be selected in menuconfig before recompiling the kernel? Or is it enough to swap the order between the two default routes? This card doesn't route any data coming from somewhere else, it receives data on an I2C bus and is supposed to write this data to one server on the internet and another server on the other end of the crossover cable. /etc/network/interfaces iface eth0 inet static address 169.254.1.N+1 # 'near' end of crossover cable netmask 255.255.0.0 gateway 169.254.1.2 allow-hotplug wwan0 iface wwan0 inet dhcp Another issue which might be related is that the IP address isn't correctly set to the static one I set in /etc/network/interfaces above, it's on the correct subnet 169.254.0.X but it isn't what I statically configured. EDIT 4 ------ If I try to delete the default route under EDIT 2 route del default gw 0.0.0.0 dev eth0 connman jumps into action and immediately re-adds it again, as visible via journalctl: beaglebone connmand: eth0 {del} route 0.0.0.0 gw 0.0.0.0 scope 0 beaglebone connmand: eth0 {add} route 0.0.0.0 gw 0.0.0.0 scope 0 (the timestamps of those two lines are identical as viewed with journalctl --follow) EDIT 3 ------ root@beaglebone:~# ip a 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: can0: mtu 16 qdisc pfifo_fast state UNKNOWN qlen 10 link/can 3: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 34:b1:f7:1b:02:86 brd ff:ff:ff:ff:ff:ff inet 169.254.252.60/16 brd 169.254.255.255 scope global eth0 4: wwan0: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 00:01:02:03:04:05 brd ff:ff:ff:ff:ff:ff inet 78.78.88.67/29 scope global wwan0 EDIT 2 ------ In my opinion the first row looks suspicious. netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0 0.0.0.0 95.196.157.233 0.0.0.0 UG 0 0 0 wwan0 95.196.157.232 0.0.0.0 255.255.255.252 U 0 0 0 wwan0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 EDIT 0 & EDIT 1 --------------- As per comment by FloHimself below, the only subnet involved is 169.254.0.0/16 and one beginning with 192 is a typo. However, changing the static IP address doesn't keep the static IP from changing and the ping -I wwan0 is still the only way to reach the world wide web.
Adam.at.Epsilon (191 rep)
Jun 25, 2015, 02:15 PM • Last activity: Aug 6, 2015, 12:52 PM
4 votes
2 answers
11885 views
Auto connect to a wireless network (Ångström Linux)
I am using [Ångström][1] Linux on [BeagleBoard-xM][2]. I have installed a [RTL8188SU USB Wi-Fi adapter][3] and configured it properly. But it doesn't connect automatically even though I have marked the interface as `auto` in `/etc/network/interfaces` file. My `/etc/network/interfaces` file...
I am using Ångström Linux on BeagleBoard-xM . I have installed a RTL8188SU USB Wi-Fi adapter and configured it properly. But it doesn't connect automatically even though I have marked the interface as auto in /etc/network/interfaces file. My /etc/network/interfaces file is seen below (only wlan0 settings pasted): auto wlan0 iface wlan0 inet static address 192.168.2.50 netmask 255.255.255.0 gateway 192.168.2.1 wireless_mode managed wireless_essid MY NETWORK ESSID wireless_key MY_PASS And here is the output of ifconfig command after system boot: root@beagleboard:~# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:24 errors:0 dropped:0 overruns:0 frame:0 TX packets:24 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1632 (1.5 KiB) TX bytes:1632 (1.5 KiB) wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet6 addr: fe80::2e0:4cff:fe03:cbb1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:241 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) As you can see, there is no inet connection on interface wlan0. When I type ifdown wlan0 and ifup wlan0 consecutively, the wireless connection can be established successfully according to interface settings. The output of ifconfig after restarting wlan0 is shown below: wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet addr:192.168.2.50 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:974 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) I want my wireless connection to be established automatically on system boot (and preferably after replugging Wi-Fi adapter). Is there anything that I am missing to do so? **EDIT:** I have traced boot log and seen a message that is complaining about setting ESSID: Error for wireless request "Set ESSID" (8B1A) : SET failed on device wlan0 ; Operation not permitted. However, I haven't realized the source of the problem. After the system boot I can establish connection by restarting networking.
Emre Yazici (599 rep)
Jan 3, 2012, 02:55 PM • Last activity: Jul 2, 2015, 08:44 PM
Showing page 1 of 20 total questions