Re: [yocto] Adding libstdc++-dev path?

2019-12-03 Thread Gabriele
With a simple main: #include #include int main(void) { printf("Hello from %s\n", __func__); return 0; } And it get built just fine (`bitbake libstdtest`) Gabriele On Tue, Dec 3, 2019 at 12:23 PM Mauro Ziliani wrote: > I try, > > But libstdc++-dev is procudes by g

[yocto] Getting linux kernel version

2019-12-03 Thread Gabriele
Hi all, is there a standard way to get the Linux kernel version (output of `uname -r`)? I'm using a custom kernel recipe that inherit from kernel class. I need to get that version in a task executed after do_rootfs. Any help would be appreciated, best regards, Gabriele

Re: [yocto] Installing a Kernel module.

2019-11-25 Thread Gabriele
" g_multi"module_conf_g_multi = "options g_multi file=/dev/mtdblock9" Gabriele [1] https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-1.7-kernel-module-autoloading On Thu, Nov 21, 2019 at 10:15 AM Shravan Singh wrote: > Hello All, > > So I am havin

Re: [yocto] Yocto build to add root password

2019-11-25 Thread Gabriele
Hi JH, Take a look at this manual section, last example: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-extrausers Regards, Gabriele On Mon, Nov 25, 2019 at 11:19 AM JH wrote: > Hi, > > I built a Yocto image and I could log into the root without

Re: [yocto] permanently supercede kernel config with one of my own creation

2020-01-29 Thread Gabriele
;> * using devtool, then loading my .config into the expanded source, but > >> "devtool finish" throws out my changes! > >> > >> * doing "bitbake menuconfig", can build a kernel using my config, but > >> it doesn't stay

Re: [yocto] lost busybox mysteriously

2020-01-27 Thread Gabriele
only mount. - It's pretty weird that busybox has gone and the partition is intact. Didn't you messed with any script? Can you replicate on another board? BR Gabriele On Tue, Jan 28, 2020 at 7:25 AM JH wrote: > On 1/27/20, Quentin Schulz wrote: > > Hi JH, > > > > On Mon, J

Re: [yocto] permanently supercede kernel config with one of my own creation

2020-01-29 Thread Gabriele
; Next, I need to figure out how to make sure the built modules end up > in the rootfs, which is currently an fnsroot filesystem. > > Add this line to your machine config: >>>>>>>>> # Install the module in /lib/modules/${uname -r}/ MACHINE_EXTRA_RRECOMMENDS

Re: [yocto] Support UBI u-boot

2020-02-05 Thread Gabriele
changes to public repos (unless them are useful for others). BR Gabriele On Thu, Feb 6, 2020 at 7:35 AM JH wrote: > Hi, > > Sorry for cross-posting, I have been asking for helping solving the > issue many days ago, but could not get those work. > > (1) UBI support > >

Re: [yocto] Support UBI u-boot

2020-02-06 Thread Gabriele
Hi, On Thu, Feb 6, 2020 at 11:07 AM JH wrote: > Thanks Gabriele and Andy, > > On 2/6/20, Gabriele Zampieri wrote: > > Hi JH, > > > > have you tried what we suggested you in your last thread? More > specifically > > adding your defconfig and tweaking it th

Re: [yocto] lost busybox mysteriously

2020-01-28 Thread Gabriele
On Tue, Jan 28, 2020 at 11:40 AM JH wrote: > Hi Gabriele, > > On 1/28/20, Gabriele Zampieri wrote: > > HI JH, > > > > - Can you stop on uboot and try "nand bad"? This will list the bad blocks > > on your device. > => nand bad > > D

Re: [yocto] SDKPATH: how to change?

2020-03-12 Thread Gabriele
Ciao Mauro, you can change the directory during installation ./poky-glibc-x86_64-your-image-armv7at2hf-neon-toolchain-2.6.2.sh -d /install/path More info with ./poky-glibc-x86_64-your-image-armv7at2hf-neon-toolchain-2.6.2.sh --help Gabriele On Thu, Mar 12, 2020 at 3:06 PM Mauro Ziliani

Re: [yocto] MACHINE and inc files

2020-06-19 Thread Gabriele
You do not need to include anything. Maybe I did not understand you. Can you provide a file structure/use case? Gabriele NOTE: I won't be able to reply till Tuesday 23rd On Fri, Jun 19, 2020 at 3:36 PM Tomek The Messenger < tomekthemessen...@gmail.com> wrote: > And then d

Re: [yocto] MACHINE and inc files

2020-06-19 Thread Gabriele
Hi Tomek, you can specify machine-specific variables/function with the following syntax: _[MACHINE_NAME] = "value" ex: MAGIC_NUMBER_velismate-x21 = "12345" inside your temp.bb Regards, Gabriele On Fri, Jun 19, 2020 at 3:21 PM Tomek The Messenger < tomekthemessen...@gmai