I think the critical ones are really around cache management. With these,
I can consistently boot from NVMe (Samsung 970 Pro).
Signed-off-by: Olof Johansson <olof@lixom.net>
Running from /work means output is saved properly between runs (no
re-downloads).
Also, sudo -E passed in environment variables such that git was trying
to get the config from /root, which obviously didn't work when running
as a build user.
Signed-off-by: Olof Johansson <olof@lixom.net>
The patch adds AMD GPU modules to the kernel build, and instsall
iptables and rng-tools to the basic Ubuntu image.
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
1. add buildroot to the build targets (still not used as rootfs).
2. bootstrap ubuntu 19.04 rootfs using multistrap and
qemu-aarch64-static
3. build and install restool under ubuntu rootfs
4. Image and dtb are added to ubuntu 19.04 partition
5. The micro SD now contains a file called ubuntu-core.img. That image
can be copied to NVME drive, SATA drive or USB drive and using it's
PARTUUID the kernel finds the right root partition and mounts it.
To install the image on NVME M.2 drive; stop u-boot count down and run -
load mmc 0:1 0xa4000000 ubuntu-core.img
nvme scan
nvme write 0xa4000000 0 262144
nvme write 0xac000000 262144 262144
nvme write 0xb4000000 524288 204800
To install to SATA drive -
load mmc 0:1 0xa4000000 ubuntu-core.img
scsi reset
scsi write 0xa4000000 0 0xb2000
then run 'boot'.
First thing after booting ubuntu -
1. resize the main partition to include bigger partition than the default.
2. run resize2fs /dev/nvme0n1p1 or resize2fs /dev/sda1 to enlarge the
rootfs to new partition
3. run 'dhclient'
4. get ntp clock by running 'ntpdate pool.ntp.org'
5. store clock to RTC chip 'hwclock -w'
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
0007... dpl load into 0x80001000 fixes the 1Gbps network and all other ports
0008... adds NVME support to u-boot and distroboot
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
1. Set IRQs, EVT and others as GPIOs
2. Enables Serdes group 2 to neogotiate PCIe gen3
3. Set SPI divisor to 28 to meet 700MHz fabric clock
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
which $i exits with an error code that makes the script exit
ignore those exit codes only when checking for tools
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Currently the container build doesn't work because git in the container
needs configuration to correctly handle the CR line endings in
0003-lx2160a-fix-Pcie-bar-allocation.patch. Fix this.
amc6821 is not assembled anymore on LX2160A COM module rev 1.3.
it will be assembled in new revision; in order to avoid confusion where
it's pwm needs to be inverted or not.
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Can build SD/xspi bootable images, with different SERDES and DDR speed
RCW parameters.
The boot loader can be u-boot or uefi.
Based on LSDK-19.06 releases with patches to support SolidRun LX2160A
COM express type 7 modules; and HoneyComb as carrier board.
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>