Difference between revisions of "Talk:Ox64"

From PINE64
Jump to navigation Jump to search
 
(16 intermediate revisions by 3 users not shown)
Line 5: Line 5:
== I disagree with the name of section 10 ==
== I disagree with the name of section 10 ==


:)
[Placeholder for the initial message by [[User:Pavlos1]]]
 
: Hello!  Did you mean that the "Flashing Ox64 SBC and SD Card for Newbies" section title should be reworded?  I'd agree about that, and I'd suggest that the "for Newbies" part is simply dropped. -- [[User:Dsimic|Dsimic]] ([[User talk:Dsimic|talk]]) 17:00, 4 January 2024 (UTC)
 
:: Went ahead and implemented [https://wiki.pine64.org/index.php?title=Ox64&type=revision&diff=21262&oldid=21257 this edit]. -- [[User:Dsimic|Dsimic]] ([[User talk:Dsimic|talk]]) 17:55, 4 January 2024 (UTC)
 
== Regarding PIP and --break-system-packages ==
 
To [[User:Giorez]] and other editors:
 
The instructions in the [https://wiki.pine64.org/wiki/Ox64#Open-Source_Flashing_Using_CLI Open-Source Flashing Using CLI] section involve installing a PIP package. Doing so is a bit awkward due to conflicts with system packages. I used to do it as follows, but for whatever reason that doesn't work anymore (at least on Gentoo and Arch).
 
<pre>
pip install --user $PACKAGE
</pre>
 
In the article itself I suggested creating a virtual environment as follows. That seems to be the "preferred" way of managing a separate set of Python packages to the ones installed by the OS package manager.
 
<pre>
python -m venv ~/ox64_venv
. ~/ox64_venv/bin/activate
pip install $PACKAGE
</pre>
 
Note that when you run <code>pip install</code> with the virtual environment activated, it installs the package ''to'' the virtual environment. So you need to re-activate the virtual environment each time you open a new terminal window; otherwise <code>bflb-iot-tool</code> will not be in your <code>PATH</code>.
 
The following is not recommended since it is instructing PIP to potentially introduce conflicts with system packages. And to be clear: running the command below is *not* necessary if you have already set up the virtual environment as described above.
 
<pre>
sudo pip install $PACKAGE --break-system-packages
</pre>
 
-- [[User:Pavlos1|Pavlos1]] ([[User talk:Pavlos1|talk]]) 03:22, 6 January 2024 (UTC)
 
: I agree with the way you described it above. -- [[User:Dsimic|Dsimic]] ([[User talk:Dsimic|talk]]) 17:13, 6 January 2024 (UTC)
 
I agree, sorry for keep editing my original post. I'm not expert in linux system. I just started this article, because i has been really frustrated to find a full tutorial for newbies. And i usually look for newbie tips to share/get help from expert people like you. thank for your contribution. -- [[User:Giorez|Giorez]] ([[User talk:Giorez|talk]]) 10:53, 7 January 2024 (UTC)
 
: That's all good. Thanks for testing out my flashing instructions &mdash; these things don't always work the same way across different Linux systems. -- [[User:Pavlos1|Pavlos1]] ([[User talk:Pavlos1|talk]]) 12:12, 7 January 2024 (UTC)
 
== Does DevCube 1.8.8 work? ==
 
If so, we don't have to have a direct-download link (or SHA hashes) to any particular version; we can just instruct users to download the latest release. But please confirm that DevCube 1.8.8 does in fact successfully flash OpenBouffalo images before doing so. -- [[User:Pavlos1|Pavlos1]] ([[User talk:Pavlos1|talk]]) 03:57, 19 January 2024 (UTC)

Latest revision as of 03:57, 19 January 2024

Flash memory producer

Hello. On this page I see datasheets for Gigadevice flash memory, but on my boards placed Winbond flash. Maybe we need to update datasheets?--ElektroNIK (talk) 11:58, 20 January 2023 (UTC)

I disagree with the name of section 10

[Placeholder for the initial message by User:Pavlos1]

Hello! Did you mean that the "Flashing Ox64 SBC and SD Card for Newbies" section title should be reworded? I'd agree about that, and I'd suggest that the "for Newbies" part is simply dropped. -- Dsimic (talk) 17:00, 4 January 2024 (UTC)
Went ahead and implemented this edit. -- Dsimic (talk) 17:55, 4 January 2024 (UTC)

Regarding PIP and --break-system-packages

To User:Giorez and other editors:

The instructions in the Open-Source Flashing Using CLI section involve installing a PIP package. Doing so is a bit awkward due to conflicts with system packages. I used to do it as follows, but for whatever reason that doesn't work anymore (at least on Gentoo and Arch).

pip install --user $PACKAGE

In the article itself I suggested creating a virtual environment as follows. That seems to be the "preferred" way of managing a separate set of Python packages to the ones installed by the OS package manager.

python -m venv ~/ox64_venv
. ~/ox64_venv/bin/activate
pip install $PACKAGE

Note that when you run pip install with the virtual environment activated, it installs the package to the virtual environment. So you need to re-activate the virtual environment each time you open a new terminal window; otherwise bflb-iot-tool will not be in your PATH.

The following is not recommended since it is instructing PIP to potentially introduce conflicts with system packages. And to be clear: running the command below is *not* necessary if you have already set up the virtual environment as described above.

sudo pip install $PACKAGE --break-system-packages

-- Pavlos1 (talk) 03:22, 6 January 2024 (UTC)

I agree with the way you described it above. -- Dsimic (talk) 17:13, 6 January 2024 (UTC)

I agree, sorry for keep editing my original post. I'm not expert in linux system. I just started this article, because i has been really frustrated to find a full tutorial for newbies. And i usually look for newbie tips to share/get help from expert people like you. thank for your contribution. -- Giorez (talk) 10:53, 7 January 2024 (UTC)

That's all good. Thanks for testing out my flashing instructions — these things don't always work the same way across different Linux systems. -- Pavlos1 (talk) 12:12, 7 January 2024 (UTC)

Does DevCube 1.8.8 work?

If so, we don't have to have a direct-download link (or SHA hashes) to any particular version; we can just instruct users to download the latest release. But please confirm that DevCube 1.8.8 does in fact successfully flash OpenBouffalo images before doing so. -- Pavlos1 (talk) 03:57, 19 January 2024 (UTC)