Commit Graph

21 Commits

Author SHA1 Message Date
Chiao Yang
84d85c432b ampere/jade: Fix patch and go get for cpud
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
2b68bc345a ampere/jade: Upgrade kernel to 5.15
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Nhi Pham
c72e499418 ampere/jade: Specify the -uroot-source path
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2023-03-13 11:24:41 -07:00
Nhi Pham
29e6406b19 ampere/jade: Fix geturoot failling to download u-root/cpu
For go version 1.17, the 'go get' command is a combination of
downloading and installing a package. We have to use -d flag to skip
installing the package. For future go versions, the -d flag will be
enabled by default, so we have to use 'go install' to install the
package instead.

This patch also fixes the go/u-root version to avoid unexpected
compatibility issue between golang and u-root. Without specifying the
version, the go always gets the latest version.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2023-03-13 11:24:41 -07:00
Nhi Pham
01386b74fb ampere/jade: replace oldconfig to olddefconfig
Compiling Linux kernel with making olddefconfig helps set all new config
symbols to their default values without prompting.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2022-05-23 08:56:34 -07:00
Nhi Pham
ccd8eaca33 ampere/jade: fix CI issues with the Go modules
This fixes the CI pipeline failure per Ron's suggestion in the PR#69.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2022-05-23 08:56:34 -07:00
Dexter Fryar
2e07e640b0 Ampere README describing LinuxBoot and Plan9 cpu commands
Enabled Plan9 support in the LinuxBoot kernel config

Added systemboot as the default init for LinuxBoot and added cpud to the command set

Signed-off-by: Dexter Fryar <dexter@amperecomputing.com>
2022-05-12 09:57:06 -07:00
Nhi Pham
c96c441b8f mainboards/ampere/jade: Workaround Linuxboot for Ubuntu 20.04
This supports adding the DT node "linux,uefi-secure-boot" into the EFI
Stub for kexecing Ubuntu 20.04+. Otherwise, the Ubuntu will make the
kernel crash.

Signed-off-by: Tam Chi Nguyen <tamng@amperecomputing.com>
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2022-03-17 08:48:22 -07:00
Ryan O'Leary
9beedb7e76 Another round of fixes for the CI system
Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2021-09-14 13:15:44 -07:00
Vanshidhar Konda
404cbb1143 ampere/jade: Add additional drivers for Mt. Jade
Enable IGB for Intel I210 NIC.

Enable MPT3SAS driver for SAS controller.

Enable XFS and EXFAT for supporting boot from more types
of partitions.

Signed-off-by: Vanshidhar Konda <vkonda@amperecomputing.com>
2021-09-14 13:14:59 -07:00
Gabriel Huang
54d5871d55 add disk_unlock, acpi, dmi tools into u-root
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
0fe95de7b5 Update Makefile for making qemu working with flashkernel
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
98249637fe Enable IOMMU to solve Marvell SATA compatibility issue
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
ddf3a161d0 Enable SATA AHCI support
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
0cee99ee41 kexec to secondary kernel require CONFIG_HOTPLUG_CPU=y
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
83f8acf18f change Filesystem settings to boot to CentOS 8 provided
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
f3e04fffdf enable I2C support and IPMI feature for IPMI support
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Ronald G. Minnich
0c0410a46e Force the built-in command line, add uroot.nohwrng
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
f3071b5758 add all -root tools to image and only use xz for initrd
Now on boot you'll have tools:

~/> dhclient eth0
1970/01/01 00:00:50 Bringing up interface eth0...
1970/01/01 00:00:51 Attempting to get DHCPv4 lease on eth0
^CException: dhclient killed by signal interrupt
[tty], line 1: dhclient eth0
~/> ip l
1: lo: <UP,LOOPBACK> mtu 65536 state UNKNOWN
    link/loopback
2: eth0: <UP,BROADCAST,MULTICAST> mtu 1500 state UP
    link/ether 0c:42:a1:54:21:16
3: eth1: <BROADCAST,MULTICAST> mtu 1500 state DOWN
    link/ether 0c:42:a1:54:21:17
4: tunl0: <0> mtu 1480 state DOWN
    link/ipip
~/>

which are handy. ls /bbin for more.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0a167b85a4 Ampere Jade Mountain support
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
5865456c19 Add ampere/jade
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00