openwrt build on raspberry pi4

I cloned GitHub - MorseMicro/openwrt and ran the make command to create the image file.

When I booted up on the Raspberry Pi 4, the LuCI interface did not appear.

What is the problem?

Hi @iwashita

Do you mean to say the LuCI web interface doesn’t show when navigating to 10.42.0.1 from your web browser?

The default configuration of the EKH01 image should provide a DHCP server. So a laptop or PC connected directly the the ethernet port should receive an IP address in the 10.42.0.0/24 subnet. Simply navigating to 10.42.0.1 from the laptop or PC should show the web interface!

Hi ajudge.

Yes. This error occur “The response time from 10.42.0.1 is too long.”

my ubuntu 24.04.1.
Therefore, Install build environment packages with

sudo apt install build-essential clang flex bison g++ gawk
gcc-multilib g+±multilib gettext git libncurses5-dev libssl-dev
python3-setuptools rsync swig unzip zlib1g-dev file wget

Do you see what the problem is?

I will definitely need more information before I can safely claim to know what the problem would be!

Can you send the output of the following commands run on your ubuntu machine with the EKH01 attached, after a few minutes of it being plugged in?

  • ifconfig
  • ip route show
  • ping 10.42.0.1

Also, if you plug a USB null modem cable between the EKH01 and your PC, you should be able to interact with the EKH01 via a serial console. This will allow you to capture logs to help us debug why you might not be able to connect to it.

It is possible that the OS is not up and running.

I made the image file again.
I followed these steps to create an image file.

git clone -b mm/v23.05.3 https://github.com/MorseMicro/openwrt.git


./scripts/feeds update luci
./scripts/feeds install -a -p luci

./scripts/feeds update morse
./scripts/feeds install -a -p morse


./scripts/morse_setup.sh -i -b ekh01


make -j1 V=s

The following error occurred

How should I deal with this?

What is the version of your system python, ie python3 --version?

To keep things simple, I would probably just remove the wireshark package from the build. make menuconfig and then in Utilities disable Wireshark3. It is not a critical utility for operation of the EVK.

The issue looks like it may be caused by a character in the path for the Wireshark CMakeLists being inappropriately escaped. See Configure build fails in paths with spaces: extra escapes with python path to native (#17487) · Issues · Wireshark Foundation / Wireshark · GitLab
So other solutions may include moving the project to a simpler folder path, or updating the Wireshark package to a version which has fixed this compilation issue.

python version is 3.12.3

wireshark error is resolved.

new error is occured

SHELL= flock /home/iwashitakirio/morsemicro/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/iwashitakirio/morsemicro/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/packages/.pkgdir/kmod-video-codec-bcm2835/. /home/iwashitakirio/morsemicro/openwrt/staging_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/'
touch /home/iwashitakirio/morsemicro/openwrt/staging_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/stamp/.kmod-video-codec-bcm2835_installed
echo "kmod-video-codec-bcm2835" >> /home/iwashitakirio/morsemicro/openwrt/staging_dir/target-aarch64_cortex-a72_musl/pkginfo/linux.default.install
make[3]: Leaving directory '/home/iwashitakirio/morsemicro/openwrt/package/kernel/linux'
time: package/kernel/linux/compile#4.95#0.56#8.91
make[2]: Leaving directory '/home/iwashitakirio/morsemicro/openwrt'
make[1]: *** [package/Makefile:123: /home/iwashitakirio/morsemicro/openwrt/staging_dir/target-aarch64_cortex-a72_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/iwashitakirio/morsemicro/openwrt'
make: *** [/home/iwashitakirio/morsemicro/openwrt/include/toplevel.mk:232: world] Error 2

Unfortunately this error just indicates an error occurred earlier in the log.

Please run with make -j1 V=s 2>&1 | tee log.txt and attach the resulting log.txt to the thread.