[yocto] x86_64 kernel with i586 userland plus SDK?

2018-11-27 Thread Richard Weinberger
Hi! I have a hard time understanding how to build a distro with x86_64 kernel, i586 userland and an SDK for that. In the beginning I assumed and have been told on IRC that multilib is the way to go. But it seems that building and SDK is currently broken/disabled: http://git.yoctoproject.org/cgit/

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-11-28 Thread Richard Weinberger
Richard, On Wed, Nov 28, 2018 at 9:42 AM Richard Purdie wrote: > > But it seems that building and SDK is currently broken/disabled: > > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e153efde9754a650e555f46cba09680baabd7d7e > > I see a bug was opened for this but its not valid and th

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-12-03 Thread Richard Weinberger
On Wed, Nov 28, 2018 at 9:26 PM Richard Weinberger wrote: > > Richard, > > On Wed, Nov 28, 2018 at 9:42 AM Richard Purdie > wrote: > > > But it seems that building and SDK is currently broken/disabled: > > > > > http://git.yoctopr

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-12-17 Thread Richard Weinberger
On Wed, Nov 28, 2018 at 9:42 AM Richard Purdie wrote: > The system can definitely do it, its just not something we tend to do > very often so its not entirely clear the best way to do it. > > What may work is selecting the i586 tune from an x64-64 target machine? > > Copying qemux86-64.conf to qem

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-12-17 Thread Richard Weinberger
[Resending with correct mail] Richard, On Mon, Dec 17, 2018 at 11:34 AM wrote: > > On Mon, 2018-12-17 at 11:26 +0100, Richard Weinberger wrote: > > On Wed, Nov 28, 2018 at 9:42 AM Richard Purdie > > wrote: > > > The system can definitely do it, its just not so

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-12-17 Thread Richard Weinberger
Bruce, On Mon, Dec 17, 2018 at 2:47 PM Bruce Ashfield wrote: > > Yocto seems to try a different approach. > > When I use qemux86-64.conf with DEFAULTTUNE being "i586" it generates a > > 32bit > > toolchain by default. > > > > Build Configuration: > > BB_VERSION = "1.38.0" > > BUILD_SYS

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-12-17 Thread Richard Weinberger
Bruce, On Mon, Dec 17, 2018 at 2:54 PM Bruce Ashfield wrote: > > Yes, it builds with i686-poky-linux. :-( > > It's Monday, and I've only had half a coffee .. so bear with me. When > I see i686, I'd expect that without -m32 it is generating 64bit by > default .. so there's definitely a -m32 sneaki

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-12-17 Thread Richard Weinberger
Bruce, On Mon, Dec 17, 2018 at 3:00 PM Richard Weinberger wrote: > When I set DEFAULTTUNE to i586 for a 64bit machine I'd expect > TARGET_SYS still being x86_64-poky-linux. > But it is i686-poky-linux. > > > Do you have a dump of the kernel build line that I could see ? &

Re: [yocto] x86_64 kernel with i586 userland plus SDK?

2018-12-18 Thread Richard Weinberger
Richard, Am Montag, 17. Dezember 2018, 11:34:08 CET schrieb richard.pur...@linuxfoundation.org: > On Mon, 2018-12-17 at 11:26 +0100, Richard Weinberger wrote: > > On Wed, Nov 28, 2018 at 9:42 AM Richard Purdie > > wrote: > > > The system can definitely do it, its just

[yocto] Disabling sshd is harder than it should be

2019-04-26 Thread Richard Weinberger
My thud based system installs openssh-sshd but I want to have sshd disabled by default. So I checked the docs how to disabled a systemd service by default and found SYSTEMD_AUTO_ENABLE, perfect. After I put that into my bbappend file I figured that sshd is still enabled by default. With one differ

Re: [yocto] Disabling sshd is harder than it should be

2019-04-29 Thread Richard Weinberger
On Mon, Apr 29, 2019 at 9:23 AM ChenQi wrote: > When selecting systemd as the init manager, the following line is > recommended. > DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" > Then you should only need: SYSTEMD_AUTO_ENABLE = "disable" Thanks a lot for your suggestion! But doesn't this line