LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 10-11-2022, 06:10 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Issue installing Wine in Box86 on a raspbian pi2; HowTo?


Hello,
I have installed Box86 on a pi2 with raspbian bullseye on it

Quote:
uname -a
Code:
Linux 5.15.61+ #1579 Fri Aug 26 11:08:59 BST 2022 armv6l GNU/Linux
Quote:
sudo apt-get update
Quote:
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
OK:3 https://itai-nelken.github.io/weekly-box86-debs/debian InRelease
Holen:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13,2 MB]
Es wurden 13,2 MB in 1 min 38 s geholt (135 kB/s).
Paketlisten werden gelesen… Fertig

according this list of command https://docs.google.com/document/d/1...g0Crwq9Eg/edit
I should install the wine Linux32bits binaries from Debian.

Now at the step "wine wineboot" I receive the message "non valid command"

so far I have tried the install of both packages of wine
and
with the same error message.

Any hint where it could come from (and to come around) is welcome.

Update 1: according https://ptitseb.github.io/box86/X86WINE.html#examples
Raspberry Pi users: Wine requires a 3G/1G split memory kernel. Raspberry Pi OS for the Pi 4 already has a 3G/1G split kernel and works with Wine, but the Pi 3B+ and earlier models have a 2G/2G kernel and require a custom-compiled 3G/1G kernel to get Wine working.
So now, I am looking how to compile a 3G/1G kernel

Last edited by floppy_stuttgart; 10-11-2022 at 06:22 AM.
 
Old 10-11-2022, 11:08 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
The error "non valid command" seems strange. Is that the exact error message?
 
Old 10-12-2022, 04:25 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
yes, for me it looks like arm and intel packages are mixed, but I'm not really sure about that. From the other hand rpi2 is not really capable to run wine.
 
Old 10-12-2022, 04:50 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by pan64 View Post
yes, for me it looks like arm and intel packages are mixed, but I'm not really sure about that. From the other hand rpi2 is not really capable to run wine.
That was my first thought too, but I think that is what Box64 is all about. There are "tricks" that let you run foreign architecture binaries in a chroot, and I guess Box64 does something like that.

Evo2.
 
Old 10-12-2022, 05:28 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
The pi 2 really isn't up to that. Now is this a recent purchase? Because as of version 1.2 Arm have upgraded the Pi 2 from the A7 32bit core to the 64bit A53 core

I don't even think there's a straight Arm32 windows package any more.

All the development has gone to 64bit arm. Even they suck. 28nm Lithography on the BCM2711 in the RazPi 4. That's bad. There's been success using qemu, and I'd look at going that road. You might get there without wine. But I still feel you should start with more horsepower.
 
Old 10-12-2022, 08:21 AM   #6
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Hello,
my small project was running on a pi4.
But I got the question from a person asking if it runs on a pi2. Now I try to compile a new kernel ("custom-compiled 3G/1G kernel to get Wine working" according Box86 advice) for the pi2 since 24h running time. Now I am thinking in starting the kernel in qemu, compiling there, then send it back to the pi2. Then see if the error message is still there. Now I am searching for this possibility.
 
Old 10-12-2022, 12:26 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Quote:
But I got the question from a person asking if it runs on a pi2.
Is he paying you? If not, then send me your contact details on PM and I'll ask you questions every time I want something difficult done for nothing .
 
Old 10-15-2022, 11:24 AM   #8
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Hello,
In fact that is a PI 1 (guess Pi2 was wrong).

Quote:
cat /proc/cpuinfo
Quote:
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2835
Revision : 000e
Serial : 000000002a35d1af
Model : Raspberry Pi Model B Rev 2
I cross compiled a new kernel 3G/1G.
Quote:
Memory: 112064K/393216K available (9232K kernel code, 1335K rwdata, 2912K rodata, 432K init, 546K bss, 19008K reserved, 262144K cma-reserved)
.. and error still there..

Quote:
wine wineboot
Quote:
Ungültiger Maschinenbefehl
wine is there..

ls -l /usr/local/bin/wine
Quote:
lrwxrwxrwx 1 root root 22 11. Okt 11:33 /usr/local/bin/wine -> /home/pi/wine/bin/wine
ls -l /home/pi/wine/bin/wine
Quote:
-rwxr-xr-x 1 pi pi 13867 15. Okt 17:32 /home/pi/wine/bin/wine

Last edited by floppy_stuttgart; 10-15-2022 at 11:38 AM.
 
Old 10-15-2022, 01:53 PM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Take my advice and don't do this to yourself. It would be a good box for building into something, but you're not at the races with that equipment.
 
Old 10-16-2022, 02:06 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
Ungültiger Maschinenbefehl
usually means the binary is not executable on the current system, because of incompatibility.
For example you want to run 64bit code on a 32bit system or arm code on intel or something similar.
 
Old 10-16-2022, 02:54 PM   #11
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by business_kid View Post
Take my advice and don't do this to yourself. It would be a good box for building into something, but you're not at the races with that equipment.
I know. The working hobby project cost 350Eur (pi4 + etc.).
I was thinking about a low cost version (hobby again).
 
Old 10-17-2022, 01:57 AM   #12
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
https://ptitseb.github.io/box86/COMPILE.html

show
Quote:
"A build for model 2, 3 and 4 can be done. Model 1 and 0 cannot (at least not with Dynarec, as they lack NEON support)"
= I stop here since I have a Model 1 board.
 
Old 12-07-2022, 05:14 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Just as a matter of interest, I managed to compile box64 on my RazPi 4, w/4G of ram. I wanted it for Zoom, but with over 1G of system, and 3-4G of Zoom & emulation, I'm trespassing into swap. That said, the Zoom client works for a basic meeting. The video is good, startup is dead slow, ~1 minute to draw the border for windows, ~2 mins to fill them in. Frankly, you'd want the 8G model. I'm overclocking at 2Ghz and once startup is over I hardly pass 250% cpu.

Edit: I had a Pi 0 once. My son saw it as an sbc, and grabbed it for some low traffic server he needed. He tried with three sbcs, but ended up replacing them all with a smart monitor! Not one of his better efforts.

Last edited by business_kid; 12-07-2022 at 05:21 AM.
 
  


Reply

Tags
raspbian, wine error



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] raspbian buster issue with scanning on hp deskjet 2544 in raspberry pi2 printer/scanner server floppy_stuttgart Linux - Embedded & Single-board computer 1 01-17-2021 07:41 PM
Videos : Twister OS / BOX86 and Windows games and programs on the Raspberry Pi 4 NicoD SBC Linux - Embedded & Single-board computer 0 09-08-2020 01:44 PM
LXer: Raspbian GNU/Linux upgrade from Jessie to Raspbian Stretch 9 LXer Syndicated Linux News 0 03-01-2018 07:50 PM
LXer: Raspbian GNU/Linux upgrade from Wheezy to Raspbian Jessie 8 LXer Syndicated Linux News 1 06-09-2016 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration