Skip to content

Commit 0f0e7ab

Browse files
Staphylolguohan
authored andcommitted
Add support 4.9 support for 7260CX3 (#34)
1 parent 6a0909e commit 0f0e7ab

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

files/Aboot/boot0.j2

+2
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ platform_specific() {
175175
echo "hugepages=128" >> /tmp/append
176176
fi
177177
if [ "$platform" = "rook" ]; then
178+
echo "iommu=on intel_iommu=on tsc=reliable pcie_ports=native" >>/tmp/append
179+
echo "rhash_entries=1 usb-storage.delay_use=0" >>/tmp/append
178180
if [ -x /bin/readprefdl ]; then
179181
readprefdl -f /tmp/.system-prefdl -d > /mnt/flash/.system-prefdl
180182
elif [ -f /etc/prefdl ]; then

files/initramfs-tools/arista-convertfs.j2

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ get_flash_dev() {
4141
wait_for_root_dev() {
4242
local try_rounds=30
4343
while [ $try_rounds -gt 0 ]; do
44+
if blkid | sed 's/"//g' | grep -q "$root_dev"; then
45+
return 0
46+
fi
4447
if [ -e "$root_dev" ]; then
4548
return 0
4649
fi

0 commit comments

Comments
 (0)