Age | Commit message (Collapse) | Author |
|
When building uboot4extlinux-sunxi with libremakepkg we have
the following error:
| BINMAN all
| Traceback (most recent call last):
| File "/build/uboot4extlinux-sunxi/src/u-boot-2021.07/./tools/binman/binman", line 39, in <module>
| from binman import control
| File "/build/uboot4extlinux-sunxi/src/u-boot-2021.07/tools/binman/../binman/control.py", line 11, in <module>
| import pkg_resources
| ModuleNotFoundError: No module named 'pkg_resources'
| make: *** [Makefile:1084: all] Error 1
| ==> ERROR: A failure occurred in build().
In u-boot 2021.07 in tools/binman/control.py, line 11 we have:
import pkg_resources
To find the package having pkg_resources we can use python to find
the files implementing it:
$ python
Python 3.9.5 (default, May 27 2021, 07:33:37)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> help(pkg_resources)
At the end of the help we see the following:
FILE
/usr/lib/python3.9/site-packages/pkg_resources/__init__.py
And we can finally use pacman to find the package having that file:
$ pacman -Q -o /usr/lib/python3.9/site-packages/pkg_resources/__init__.py
/usr/lib/python3.9/site-packages/pkg_resources/__init__.py
is owned by python-setuptools 1:52.0.0-1.0
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
When running parabola-repolint[1] for ppc64le, there is the
following error or warning:
unhandled SRCINFO key: "makedepends_ppc64le"
(makedepends_ppc64le = arm-none-eabi-gcc)
As ppc64le is still experimental, we can safely remove it from
the supported architectures in this PKGBUILD to avoid creating
too much noise for the people working on the ppc64le port of
Parabola.
This is a real concern as oaken-source, who run this
parabola-repolint had that issue and discussed with me about
it on the #parabola IRC channel on liberachat.
[1]https://git.parabola.nu/~oaken-source/parabola-repolint.git/
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
- We can now do cross builds of u-boot:
- We can now more easily work on the package as we don't need
an ARM computer for that anymore.
- It also enable people already using Parabola on x86 to more
easily install, test, or repair u-boot for an ARM computer
as users can simply install it on microSD cards without
needing to use ARM chroots.
- There is now an install script to install u-boot:
- It makes things easier for users as it is more similar to
grub-install than dd commands.
- It also does many checks at the same time to avoid data loss.
- The commands to split packages are now shared between all
package_ functions. This lower maintenance.
- How to add a new board has been made more clear.
Comparison with other distributions (for consistency):
- u-boot doesn't have anything to handle the installation and
update of u-boot binaries if UEFI is not used.
- Debian has an u-boot-install-sunxi script which handles way more
cases than what I wrote (it even handles GPT and so on and even
has a manual), but there seems to be no tools to update u-boot.
- Openembedded doesn't seem to have anything special in
the u-boot recipe in openembedded-core
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
This commit was accidentally pushed to master instead of
a branch.
This reverts commit 1f2f68301569e4918d2d1da122ff241f93561ab8.
|
|
This commit was accidentally pushed to master instead of
a branch.
This reverts commit 0a65e2a74db2ccc00dbf2c18f80f147ea29a99e6.
|
|
TODO:
- Create a hook script
- Finish the u-boot-sunxi-install script
- Add dependencies for the install script (utils-linux)
- Test on real hardware (lime2, pcduino-lite)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
There is some documentation in board/sunxi/README.sunxi64,
however we don't have packages for 64bit versions of u-boot yet.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Other changes
- extlinux.conf:
- Added the initramfs in the example configuration
- Added rootwait parameter in case the rootfs takes time to appear
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
All packages built fine.
This was also tested on a Lime2-EMMC:
- Booting worked fine with a extliux.conf tailored for the
configuration of the device being tested.
- An external display was connected to it and it worked
in u-boot, during boot and showed a console at the end.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
0001-parabola-arm-modifications.patch should not be necessary
anymore as u-boot configuration are now setup to support
configuration options for common GNU/Linux distributions.
More details are available in doc/README.distro in the u-boot
source code.
As for the sed command in prepare, the binman files already
have #!/usr/bin/env python2 in the current u-boot version.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
After reflashing it (in the postinstall) on a lime2
A20 with EMMC, and rebooting, it booted fine.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
|
|
|
|
|
|
also patch old u-boot tarballs to build with gcc7
|
|
|
|
|
|
|
|
|
|
|