- 14 May, 2020 1 commit
-
-
Rabeeh Khoury authored
Previously multistrap was used to download and create an ubuntu rootfs; but multistrap failed under docker build since it required binfmt installed. This technique of installing ubuntu rootfs is totally different method, takes more time to build but works under the native runme.sh script and under docker build. The method idea is - 1. Build a simple rootfs with a kernel that can be booted via qemu-system-aarch64. 2. Install an initi script called S99bootstrap-ubuntu.sh under /etc/init.d. 3. Run a qemu-system-aarch64 virtual machine with 1GByte of system memory and use cortex-a57 which is the closed to cortex-a72, virtualization wise and has the buildroot rootf as initrd and the destination ubuntu-core.ext4 partition as a drive. 4. The VM would boot the kernel, mount the rootfs and run the S99bootstrap-ubuntu.sh script 5. The script would download an ubuntu base image and then 'apt install' in a virtual chrooted environment the reset of the packages to make this rootfs to be bootable. 6. Use 'reboot' in the VM which triggers the '-no-reboot' flag for qemu that makes the vm exit; and thus installation is continued. 7. ubuntu-core.ext4 partition is now ready to be used further on for imaging and installations. Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 05 May, 2020 1 commit
-
-
Rabeeh Khoury authored
not needed for LX2 Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 04 May, 2020 1 commit
-
-
Rabeeh Khoury authored
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 22 Apr, 2020 1 commit
-
-
Rabeeh Khoury authored
1. moved from ubuntu disco to focal 2. updated documentation on the unified image that auto-detects boot device Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 13 Apr, 2020 1 commit
-
-
Rabeeh Khoury authored
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 12 Apr, 2020 4 commits
-
-
Rabeeh Khoury authored
runme.sh: Convert to bash defaults, use switch for serdes config
-
Rabeeh Khoury authored
docker: add python3
-
Olof Johansson authored
Signed-off-by: Olof Johansson <olof@lixom.net>
-
Olof Johansson authored
Python3 is needed to build now. Also, when doing the second install step, I get some URL errors so do the apt-get update once more (not sure why it's needed twice). Signed-off-by: Olof Johansson <olof@lixom.net>
-
- 24 Mar, 2020 1 commit
-
-
Rabeeh Khoury authored
Using conditional load and jump in RCW and boot=auto as a parameter for ATF it is possible now to build a single image that can be booted from SPI, SD or eMMC. Still there is a small difference BL2 stage where on SPI it is located on address 0x0 and SD/eMMC is located with 0x1000 (8 blocks of 512 bytes) offset. Additional feature is runtime RCW file creation; this will be further enhanced to create the SERDES and PLL multipliers creation in runtime too. Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 23 Mar, 2020 1 commit
-
-
Rabeeh Khoury authored
This commit incorporates the following features / fixes - 1. Add support for lx2160a-early-access-bsp0.7 which includes rev1 and rev 2 support 2. Split linux/rcw/u-boot patches to be dependent on release based on 3. rcw added feature to use loadc/jumpc/jump PBI commands to differentiate between rev1 and rev2 Under debug - 1. LX2 rev2 u-boot reset and linux reboot are not functional. Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 03 Feb, 2020 1 commit
-
-
Rabeeh Khoury authored
u-boot patches split into lsdk-19.06 and lsdk-19.09 and added patch 0015-.... that adds the support to lsdk-19.09. Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 26 Jan, 2020 1 commit
-
-
Rabeeh Khoury authored
This patch holds the following modifications and support - 1. Added support to LSDK 19.09. Notice that conflicting patch directories will hold the release prefix (look at patch/linux-*). 2. We don't use lsdk.config config file any more and added the required kernel driver via lx2k_additions.config file 3. Add 4 eeprom support (512Kb I2C bootable, two SPD and 2Kb for misc) Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 12 Jan, 2020 2 commits
-
-
Rabeeh Khoury authored
this patch adds ltc3882 to the device tree and exposes it via 'sensors' - as an example - root@localhost:~# sensors ltc3882-i2c-5-5c Adapter: i2c-0-mux (chan_id 2) vin: +12.00 V (min = +6.30 V, crit max = +15.50 V) (highest = +12.16 V) vout1: +0.78 V (crit min = +0.72 V, min = +0.73 V) (max = +0.84 V, crit max = +0.86 V) (highest = +0.78 V) vout2: +0.78 V (crit min = +0.72 V, min = +0.73 V) (max = +0.84 V, crit max = +0.86 V) (highest = +0.78 V) temp1: +49.6°C (high = +85.0°C, crit low = -40.0°C) (crit = +90.0°C, highest = +55.8°C) temp2: +48.8°C (high = +85.0°C, crit low = -40.0°C) (crit = +90.0°C, highest = +55.3°C) temp3: +53.0°C (high = +85.0°C, crit low = -40.0°C) (crit = +90.0°C, highest = +57.4°C) pout1: 6.13 W pout2: 5.87 W iout1: +7.79 A (max = +50.00 A, crit max = +50.00 A) (highest = +16.44 A) iout2: +7.57 A (max = +50.00 A, crit max = +50.00 A) (highest = +16.78 A) Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
Rabeeh Khoury authored
spr2803 pcie base class id is 0x0; this patch removes the case where it doesn't allocate resources for such a device. Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 26 Dec, 2019 2 commits
-
-
Rabeeh Khoury authored
- more tools to install prior to build - strip kernel modules and copy them over Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
Rabeeh Khoury authored
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
- 26 Nov, 2019 2 commits
-
-
Rabeeh Khoury authored
patches: u-boot: add nvme fixes from upstream
-
Rabeeh Khoury authored
Fix NVMe init issue
-
- 23 Nov, 2019 1 commit
-
-
Olof Johansson authored
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>
-
- 21 Nov, 2019 1 commit
-
-
Damjan Marion authored
Signed-off-by: Damjan Marion <dmarion@me.com>
-
- 18 Nov, 2019 3 commits
-
-
Rabeeh Khoury authored
A few more docker/script fixes
-
Olof Johansson authored
Signed-off-by: Olof Johansson <olof@lixom.net>
-
Olof Johansson authored
Signed-off-by: Olof Johansson <olof@lixom.net>
-
- 17 Nov, 2019 6 commits
-
-
Olof Johansson authored
Signed-off-by: Olof Johansson <olof@lixom.net>
-
Olof Johansson authored
Signed-off-by: Olof Johansson <olof@lixom.net>
-
Olof Johansson authored
Signed-off-by: Olof Johansson <olof@lixom.net>
-
Olof Johansson authored
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>
-
Rabeeh Khoury authored
docker: add missing packages for script
-
Olof Johansson authored
runme.sh checks for these and fails, so add them during image creation. Signed-off-by: Olof Johansson <olof@lixom.net>
-
- 13 Nov, 2019 1 commit
-
-
Rabeeh Khoury authored
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>
-
- 12 Nov, 2019 1 commit
-
-
SolidRun Docker Tools authored
Signed-off-by: Josua Mayer <josua@solid-run.com>
-
- 11 Nov, 2019 3 commits
-
-
Rabeeh Khoury authored
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>
-
Rabeeh Khoury authored
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
-
Rabeeh Khoury authored
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>
-
- 05 Nov, 2019 1 commit
-
-
Rabeeh Khoury authored
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>
-
- 26 Sep, 2019 2 commits
-
-
Rabeeh Khoury authored
-
Rabeeh Khoury authored
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>
-
- 12 Sep, 2019 2 commits
-
-
Rabeeh Khoury authored
runme: Use --keep-cr when applying edk2-platforms patches
-
Daniel Thompson authored
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.
-