Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependency list and add install commands for Arch and Ubuntu #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,8 @@ src/arm-trusted-firmware:
src/u-boot:
@echo "WGET u-boot"
@mkdir src/u-boot
@wget https://ftp.denx.de/pub/u-boot/u-boot-2020.04.tar.bz2
@tar -xf u-boot-2020.04.tar.bz2 --strip-components 1 -C src/u-boot
@cd src/u-boot && patch -p1 < ../u-boot-pinephone.patch
@wget https://ftp.denx.de/pub/u-boot/u-boot-2021.10.tar.bz2
@tar -xf u-boot-2021.10.tar.bz2 --strip-components 1 -C src/u-boot

src/u-boot-librem5:
@echo "WGET u-boot-librem5"
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,28 @@ The dependencies are:
- aarch64-linux-gnu- toolchain
- u-boot tools
- mtools
- bison
- flex
- cpio
- make
- wget
- swig
- bc
- python3
- python3 distutils
- parted
- mkfs.fat
- udev

#### To install the build dependencies in Arch :
```bash
sudo pacman -S aarch64-linux-gnu-gcc uboot-tools mtools cpio bison flex make wget swig bc python python-distlib parted dosfstools
```

#### To install the build dependencies in Ubuntu/Debian :
```bash
sudo apt install gcc-aarch64-linux-gnu u-boot-tools mtools cpio bison flex make wget swig bc python3 python3-distutils parted dosfstools udev
```

Additional dependencies for the Purism Librem 5:
- arm-none-eabi- toolchain
Expand Down