Skip to content

Commit

Permalink
Add support 4.9 support for 7260CX3 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Staphylo authored and lguohan committed Aug 5, 2018
1 parent 4ae46f7 commit 6df4cfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/Aboot/boot0.j2
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ platform_specific() {
echo "hugepages=128" >> /tmp/append
fi
if [ "$platform" = "rook" ]; then
echo "iommu=on intel_iommu=on tsc=reliable pcie_ports=native" >>/tmp/append
echo "rhash_entries=1 usb-storage.delay_use=0" >>/tmp/append
if [ -x /bin/readprefdl ]; then
readprefdl -f /tmp/.system-prefdl -d > /mnt/flash/.system-prefdl
elif [ -f /etc/prefdl ]; then
Expand Down
3 changes: 3 additions & 0 deletions files/initramfs-tools/arista-convertfs.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ get_flash_dev() {
wait_for_root_dev() {
local try_rounds=30
while [ $try_rounds -gt 0 ]; do
if blkid | sed 's/"//g' | grep -q "$root_dev"; then
return 0
fi
if [ -e "$root_dev" ]; then
return 0
fi
Expand Down

0 comments on commit 6df4cfd

Please sign in to comment.