Re: [yocto] OE Linux & board-support-package

2022-05-05 Thread jchludzinski via lists.yoctoproject.org
d patching and all that, so in that case it comes pretty close to the perfect world that Michael mentioned. Greetz, Josef (who did that video, actually) On 2022-05-05 03:16, Michael Opdenacker via lists.yoctoproject.org wrote: > On 5/5/22 08:39, jchludzinski via lists.yoctoproject.org wrot

Re: [yocto] OE Linux & board-support-package

2022-05-05 Thread jchludzinski via lists.yoctoproject.org
OK, let's go with that. I've watched the "Live Coding with Yocto Project #1: download and first build" youtube video. Where is the BSP built in this procedure? On 2022-05-05 03:16, Michael Opdenacker via lists.yoctoproject.org wrote: On 5/5/22 08:39, jchlud

Re: [yocto] OE Linux & board-support-package

2022-05-05 Thread jchludzinski via lists.yoctoproject.org
of device specifics. On 2022-05-05 01:54, Zoran Stojsavljevic wrote: Hello J, Please, could you be more specific? Thank you, Zee ___ On Thu, May 5, 2022 at 5:42 AM jchludzinski via lists.yoctoproject.org wrote: OE Linux uses device tree files (*.dts and *.dtsi files), so is there any need

[yocto] OE Linux & board-support-package

2022-05-04 Thread jchludzinski via lists.yoctoproject.org
OE Linux uses device tree files (*.dts and *.dtsi files), so is there any need for a board-support-package? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56996): https://lists.yoctoproject.org/g/yocto/message/56996 Mute This Topic:

Re: [yocto] Specified SDKMACHINE value is not valid

2022-04-02 Thread jchludzinski via lists.yoctoproject.org
sys time0.18 secs2.96 millis0.17 secs On 2022-04-01 18:09, Khem Raj wrote: On Fri, Apr 1, 2022 at 2:02 PM jchludzinski wrote: But obviously commented out. On 2022-04-01 16:43, jchludzinski via lists.yoctoproject.org wrote: There's this: #SDKMACHINE ?= "i686" OK

Re: [yocto] Specified SDKMACHINE value is not valid

2022-04-01 Thread jchludzinski via lists.yoctoproject.org
But obviously commented out. On 2022-04-01 16:43, jchludzinski via lists.yoctoproject.org wrote: There's this: #SDKMACHINE ?= "i686" ---John On 2022-04-01 16:22, Khem Raj wrote: On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org [1 [1]] wrote: I'm trying an

Re: [yocto] Specified SDKMACHINE value is not valid

2022-04-01 Thread jchludzinski via lists.yoctoproject.org
There's this: #SDKMACHINE ?= "i686" ---John On 2022-04-01 16:22, Khem Raj wrote: On Fri, Apr 1, 2022 at 1:09 PM jchludzinski via lists.yoctoproject.org [1 [1]] wrote: I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not

[yocto] Specified SDKMACHINE value is not valid

2022-04-01 Thread jchludzinski via lists.yoctoproject.org
I'm trying an experiment building yocto/OE on a Raspberry Pi 4 to host on the same RP4. Admittedly, a not practical platform for this purpose but it should work. I'm trying to target the ARM ISA for the image using yocto-3.4.2. I've tried simply using the default setting and end up with:

[yocto] Specified SDKMACHINE value is not valid

2021-11-01 Thread jchludzinski via lists.yoctoproject.org
NEWBIE question! I tried building and I get: "_Specified SDKMACHINE value is not valid_" pi@raspberrypi ~/p/build> bitbake core-image-minimal /usr/lib/python3/dist-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from

[yocto] Bitbake build failures?

2021-04-27 Thread jchludzinski via lists.yoctoproject.org
When I trying using bitbake to build openembedded Linux kernel, it dies with these download failures: NOTE: Fetching uninative binary shim

[yocto] ERROR: Fetcher failure: Fetch command export...

2021-04-27 Thread jchludzinski via lists.yoctoproject.org
When I trying using bitbake to build openembedded Linux kernel, it dies with these download failures: NOTE: Fetching uninative binary shim

[yocto] OpenBIOS

2021-04-23 Thread jchludzinski via lists.yoctoproject.org
What is the relationship between OpenBIOS and YOCTO? Between OpenBIOS and U-boot? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53256): https://lists.yoctoproject.org/g/yocto/message/53256 Mute This Topic:

Re: [yocto] How is it possible to build a loadable module from spi-altera.c ...?

2021-03-21 Thread jchludzinski via lists.yoctoproject.org
My problem is I have an 1553 chip (an avionic data bus) connected to the HPS master (an ARM processor) via an FPGA (soft) SPI controller. This is where the spi-altera.c comes in. It provides the driver/interface to the soft SPI controller on the Arria 10 SoC. I need an interface now to

[yocto] How is it possible to build a loadable module from spi-altera.c ...?

2021-03-20 Thread jchludzinski via lists.yoctoproject.org
How is it possible to build a loadable module from _spi-altera.c_ when it has no code for creating _udev_ files (i.e., _/dev/spidevXX_); it has no: static int __init spidev_init(void) { int status; printk(KERN_ALERT "DEBUG: Passed %s %d \n", __FUNCTION__, __LINE__); /* Claim our 256

Re: [yocto] spidev.c ?

2021-03-20 Thread jchludzinski via lists.yoctoproject.org
tr_a10sr/spi0.0 /sys/bus/spi/drivers/spidev /sys/module/spidev /sys/module/spidev/drivers/spi:spidev /sys/module/spi_altera On 2021-03-18 03:44, Zoran wrote: I am guessing here But what do you have while executing the following command being in /sys as root? root@arm:/sys# find . -name

Re: [yocto] spidev.c ?

2021-03-18 Thread jchludzinski via lists.yoctoproject.org
But there are NO udev files for the SPI devices defined in the DTSI file. On 2021-03-18 17:12, jchludzinski via lists.yoctoproject.org wrote: That's with: root@arria10:~# lsmod Module Size Used by spi_altera 16384 0 spidev 20480 0 On 2021-03

Re: [yocto] spidev.c ?

2021-03-18 Thread jchludzinski via lists.yoctoproject.org
That's with: root@arria10:~# lsmod Module Size Used by spi_altera 16384 0 spidev 20480 0 On 2021-03-18 17:07, jchludzinski via lists.yoctoproject.org wrote: root@arria10:~# find /sys/ -name 'spi*' /sys/kernel/debug/clk/spi_m_clk /sys/kernel

Re: [yocto] spidev.c ?

2021-03-18 Thread jchludzinski via lists.yoctoproject.org
, Zoran wrote: I am guessing here But what do you have while executing the following command being in /sys as root? root@arm:/sys# find . -name spi* Zee ___ On Wed, Mar 17, 2021 at 5:41 PM jchludzinski via lists.yoctoproject.org wrote: In the YOCTO/Linux source tree there's drivers

[yocto] spidev.c ?

2021-03-17 Thread jchludzinski via lists.yoctoproject.org
In the YOCTO/Linux source tree there's _drivers/spi/_ which has all the source for SPI drivers. There's only 1 file, _spidev.c_, which has: static int __init spidev_init(void) { int status; /* Claim our 256 reserved device numbers. Then register a class * that will key

Re: [yocto] Building test code?

2021-03-17 Thread jchludzinski via lists.yoctoproject.org
: $ bitbake -b spidev-test.bb I get into those licencing issues. How do I extricate myself from this conundrum? ---John On 2021-03-16 14:43, Robert P. J. Day wrote: On Tue, 16 Mar 2021, jchludzinski via lists.yoctoproject.org wrote: I tried to build spidev-test using the bitbake recipe

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. What's this about licences? ---John On 2021-03-16 11:50, jchludzinski via lists.yoctoproject.org wrote: I'm 'bitbaking' now. On 2021-03-16 10:53, jchludzinski via lists.yoctoproject.org wrote: W

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
I'm 'bitbaking' now. On 2021-03-16 10:53, jchludzinski via lists.yoctoproject.org wrote: Well, because time is of the essence, could you give me a little assist here and explain how I might build spidev-test using OpenEmbedded? THANKS for your help! ---John On 2021-03-16 05:58, Josef

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
, 2021 at 8:07 AM jchludzinski via lists.yoctoproject.org wrote: > > It certainly appears to be BUT I'm not certain what I'm looking at? > > What is meta-openembedded? > > Is it a GIT repo that can be cloned and built? Short answer is yes. The whole Yocto Project / Open Embedde

Re: [yocto] Building test code?

2021-03-16 Thread jchludzinski via lists.yoctoproject.org
It certainly appears to be BUT I'm not certain what I'm looking at? What is _meta-openembedded_? Is it a GIT repo that can be cloned and built? How do I use this to build _spidev-test_? ---John On 2021-03-15 19:54, akuster wrote: On 3/15/21 4:11 PM, jchludzinski via

[yocto] Building test code?

2021-03-15 Thread jchludzinski via lists.yoctoproject.org
I got a piece of code from github: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c I'd like to add it somewhere under _tools/testing_ and build it there. Not sure if this is appropriate? If so, how do I go about this? If not, what's the best

Re: [yocto] Assign IP address at boot time

2021-03-11 Thread jchludzinski via lists.yoctoproject.org
Can this be done using boot parameters? Something like(?): LABEL Arria10 SOCDK SDMMC KERNEL ../zImage FDT ../socfpga_arria10_phead.dtb APPEND root=/dev/mmcblk0p2 rw rootwait earlyprintk console=ttyS0,115200n8 ip=192.168.0.101:255.255.255.0:eth0 -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [yocto] Assign IP address at boot time

2021-03-10 Thread jchludzinski via lists.yoctoproject.org
Create the file /etc/systemd/network/eth0.conf: [Match] Name=eth0 [Network] Address= Gateway= DNS= That didn't work BUT editing /lib/systemd/network/80-wired.network [Match] Name=en* eth* KernelCommandLine=!nfsroot [Match] Name=eth0 [Network] Address=192.168.0.101/24 #Gateway= #DNS=

Re: [yocto] Assign IP address at boot time

2021-03-10 Thread jchludzinski via lists.yoctoproject.org
What is your startup manager? systemd or SysVInit? systemd -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52652): https://lists.yoctoproject.org/g/yocto/message/52652 Mute This Topic: https://lists.yoctoproject.org/mt/81212608/21656 Group

Re: [yocto] Assign IP address at boot time

2021-03-09 Thread jchludzinski via lists.yoctoproject.org
To start, do you have the driver required for your network interface? Yes, the network/Ethernet device is recognized by Linux and the appropriate driver is loaded. If I use: $ ip add add 192.168.9.101/24 dev eth0 I’m up and running. But I want the IP assignment to happen during boot time.

[yocto] Assign IP address at boot time

2021-03-09 Thread jchludzinski via lists.yoctoproject.org
Where do I assign a static IP address to my sole network interface? I tried using the Linux boot parameters (in extlinux.conf): LABEL Arria10 SOCDK SDMMC KERNEL ../zImage FDT ../socfpga_arria10_phead.dtb APPEND root=/dev/mmcblk0p2 rw rootwait earlyprintk console=ttyS0,115200n8

[yocto] Kernel panic - not syncing: VFS: Unable to mount root fs ...

2021-03-01 Thread jchludzinski via lists.yoctoproject.org
I rebuilt socfpga_arria10_socdk_sdmmc.dtb in ./sd_card/sdfs/ using modified files: arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts arch/arm/boot/dts/socfpga_arria10_socdk.dtsi When I try booting I now get: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

Re: [yocto] RT patch for 5.4.74?

2021-02-04 Thread jchludzinski via lists.yoctoproject.org
From Altera/Intel? On 2021-02-04 17:20, jchludzinski via lists.yoctoproject.org wrote: Is there an RT patch for 5.4.74? (I've used patch-5.4.44-rt27.patch.) ---John -- NULL -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52230): https

[yocto] RT patch for 5.4.74?

2021-02-04 Thread jchludzinski via lists.yoctoproject.org
Is there an RT patch for 5.4.74? (I've used patch-5.4.44-rt27.patch.) ---John -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52229): https://lists.yoctoproject.org/g/yocto/message/52229 Mute This Topic: