Skip to content

Commit

Permalink
change the address of ip
Browse files Browse the repository at this point in the history
  • Loading branch information
tingzhuwang authored and xingxg2022 committed Dec 26, 2024
1 parent efb9cfe commit 070a738
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions ramdisk/overlay/ap/etc/init.d/S60apveth
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ start() {
printf "set ap veth: "
ifconfig veth0 up

sleep 15
ip=$(devmem 0x1a1900044)
ip=$(devmem 0x1efa100044)

ip1=$(( (ip >> 24) & 0xFF ))
ip2=$(( (ip >> 16) & 0xFF ))
Expand Down
3 changes: 1 addition & 2 deletions ramdisk/overlay/rp/etc/init.d/S60rpveth
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ start() {
printf "set rp veth: "
ifconfig veth0 up

sleep 15
ip=$(devmem 0x1a1800044)
ip=$(devmem 0x1efa000044)

ip1=$(( (ip >> 24) & 0xFF ))
ip2=$(( (ip >> 16) & 0xFF ))
Expand Down
2 changes: 1 addition & 1 deletion scripts/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function build_rv_pcie_zsbl()
local err

pushd $RV_ZSBL_SRC_DIR
make CROSS_COMPILE=$RISCV64_LINUX_CROSS_COMPILE O=$RV_ZSBL_BUILD_DIR ARCH=riscv bm1690_pcie_defconfig
make CROSS_COMPILE=$RISCV64_LINUX_CROSS_COMPILE O=$RV_ZSBL_BUILD_DIR ARCH=riscv sg2044_defconfig
err=$?
popd

Expand Down

0 comments on commit 070a738

Please sign in to comment.