aaeonaeu-sw / meta-up-board Goto Github PK
View Code? Open in Web Editor NEWYocto BSP meta layer for the UP Board
Home Page: https://up-community.org
Yocto BSP meta layer for the UP Board
Home Page: https://up-community.org
Hi,
I am getting an issue in accessing the GPIO pins,
when I am trying to create a GPIO pin access via command line I am getting below mentioned errors:-
root@up-board:~# echo 26 > /sys/class/gpio/export
-sh: echo: write error: Invalid argument
Below is the kernel debug output
root@up-board:~# cat /sys/kernel/debug/gpio
GPIOs 318-372, platform/INT33FF:03, INT33FF:03:
GPIOs 373-396, platform/INT33FF:02, INT33FF:02:
GPIOs 397-455, platform/INT33FF:01, INT33FF:01:
GPIOs 456-511, platform/INT33FF:00, INT33FF:00:
I am using kernel version:
uname -a
Linux up-board 4.4.26-rt19-yocto-preempt-rt #1 SMP PREEMPT RT Wed Apr 19 09:52:51 CEST 2017 x86_64 x86_64 x86_64 GNU/Linux
What is the solution for this kindly help me out regarding this, Thanks in advance.
Is there a plan to add missing boards from sumo
to warrior
?
Thanks.
I have an issue where the bitbake parsing recipes operation never ends on my system, stays at 99% and never finished. Do you have any idea why I have this problem?
Hi all, there seems to be a serious bug when running on the sumo kernel (version 4.14.154)
Trying to set-up a gpio as an interrupt source and setting the edge param makes the kernel oops.
Here are the steps:
echo 23 > /sys/class/gpio/export
then
echo in > /sys/class/gpio/gpio23/direction
and finally
echo falling > /sys/class/gpio/gpio23/edge
makes the kernel oops:
[ 58.380237] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[ 58.380264] IP: irq_chip_set_type_parent+0x9/0x30
[ 58.380268] PGD 0 P4D 0
[ 58.380280] Oops: 0000 [#1] PREEMPT SMP PTI
[ 58.380286] Modules linked in: ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 ip6table_filter ip6_tables ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user br_netfilter xt_owner snd_soc_sst_byt_cht_nocodec spidev intel_rapl intel_powerclamp coretemp efivars mei_txe mei snd_intel_sst_acpi snd_intel_sst_core ti_adc081c snd_soc_sst_atom_hifi2_platform industrialio_triggered_buffer kfifo_buf snd_soc_sst_match pwm_lpss_platform pwm_lpss spi_pxa2xx_platform industrialio snd_soc_core snd_compress ac97_bus int3403_thermal int340x_thermal_zone dwc3_pci snd_hdmi_lpe_audio snd_pcm snd_timer snd uio iwlwifi cfg80211 nls_cp437 vfat fat i915 video
[ 58.380423] CPU: 0 PID: 1738 Comm: bash Tainted: G U 4.14.154-yocto-standard #1
[ 58.380427] Hardware name: AAEON UP-CHT01/UP-CHT01, BIOS UPC1BM0S 06/04/2016
[ 58.380432] task: ffff8ea546478000 task.stack: ffffb20680798000
[ 58.380441] RIP: 0010:irq_chip_set_type_parent+0x9/0x30
[ 58.380445] RSP: 0018:ffffb2068079bcb0 EFLAGS: 00010002
[ 58.380453] RAX: ffffffffa5cde770 RBX: ffff8ea5593c4a00 RCX: 0000000000000000
[ 58.380456] RDX: ffffffffa7e72590 RSI: 0000000000000002 RDI: 0000000000000000
[ 58.380460] RBP: ffffb2068079bce0 R08: ffff8ea557c03500 R09: 0000000000000000
[ 58.380464] R10: 0000000000000040 R11: 0000000000000246 R12: 0000000000000000
[ 58.380467] R13: 0000000000000002 R14: 0000000000000000 R15: ffffffffa6ef8160
[ 58.380474] FS: 00007f91966df740(0000) GS:ffff8ea55ac00000(0000) knlGS:0000000000000000
[ 58.380478] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 58.380482] CR2: 0000000000000018 CR3: 000000003d8a6000 CR4: 00000000001006f0
[ 58.380485] Call Trace:
[ 58.380497] ? __irq_set_trigger+0x72/0x130
[ 58.380508] __setup_irq+0x5f2/0x6f0
[ 58.380516] ? kmem_cache_alloc_trace+0x1bc/0x1d0
[ 58.380523] request_threaded_irq+0xfb/0x160
[ 58.380532] ? gpio_is_visible+0x70/0x70
[ 58.380538] request_any_context_irq+0x4d/0x90
[ 58.380545] gpio_sysfs_request_irq+0xbf/0x140
[ 58.380551] edge_store+0xc6/0xf0
[ 58.380562] dev_attr_store+0x1b/0x30
[ 58.380570] sysfs_kf_write+0x3c/0x50
[ 58.380575] kernfs_fop_write+0x119/0x190
[ 58.380585] __vfs_write+0x1b/0x40
[ 58.380590] vfs_write+0xa9/0x170
[ 58.380597] SyS_write+0x5c/0xe0
[ 58.380604] ? __close_fd+0x8f/0xb0
[ 58.380613] do_syscall_64+0x65/0x120
[ 58.380624] entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[ 58.380631] RIP: 0033:0x7f9195dc5144
[ 58.380634] RSP: 002b:00007ffc1a768278 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 58.380640] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f9195dc5144
[ 58.380644] RDX: 0000000000000008 RSI: 000055e04b2b3d50 RDI: 0000000000000001
[ 58.380647] RBP: 000055e04b2b3d50 R08: 000000000000000a R09: 0000000000000000
[ 58.380651] R10: 000000000000000a R11: 0000000000000246 R12: 00007f919608f760
[ 58.380654] R13: 0000000000000008 R14: 00007f919608a760 R15: 0000000000000008
[ 58.380663] Code: 8b 40 58 48 85 c0 74 0e 55 0f b6 d2 48 89 e5 e8 9e 48 b2 00 5d c3 b8 da ff ff ff c3 66 0f 1f 44 00 00 0f 1f 44 00 00 48 8b 7f 28 <48> 8b 47 18 48 8b 40 68 48 85 c0 74 0b 55 48 89 e5 e8 71 48 b2
[ 58.380768] RIP: irq_chip_set_type_parent+0x9/0x30 RSP: ffffb2068079bcb0
[ 58.380771] CR2: 0000000000000018
[ 58.380778] ---[ end trace bf3308144cf53cde ]---
[ 58.380841] note: bash[1738] exited with preempt_count 1
Is this issue known to anybody?
Thank you
I have an Up Core Plus with a Vision Plus X companion card for Myriad X compatibility. I would like to use it with Yocto.
I am trying to set up Intel Inference Engine to use the Myriad X. Inference Engine has a Yocto recipe only compatible with Zeus: https://layers.openembedded.org/layerindex/recipe/106898/
However, it seems like meta-up-board only supports Sumo, with Warrior being in development.
Inference Engine might be non-trivial to backport to Sumo, as it relies on many new components only introduced in Zeus. It looks like porting meta-up-board to Zeus would be the easier route. Are there official plans for it? If not, I could attempt to do it myself. Would you accept contributions to upstream? Do you see any particular points or potential difficulties that I should pay attention to?
I flashed upboard-image-base.hddimg
on a USB and booted the Up Board. I then selected the "install"menu entry, told him that I wanted to install Poky on /dev/mmcblk0, then he asked me to unplug the installation media but it finally error-ed out with ./init.d/install-efi.sh: line 295: reboot: not found
. After manually rebooting Poky was however correctly installed. It's only a bit annoying to see that installation error.
I am using sumo
branch.
WARNING: Layer up-board should set LAYERSERIES_COMPAT_up-board in its conf/layer.conf file to list the core layer names it is compatible with.
Hi guys.
Are you guys working by any chance on the Poky Rocko support? I don't see a rocko branch in your bsp
Thanks
Could you populate the master branch (which should stand for the development branch), please? IMHO an empty master branch is very a strange thing.... Thanks!
It is mentionned in the datasheet of the X5-Z8300 there's an ISP. Is there / WIll there be support of it later?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.