-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 4 - SOF_TIMESTAMPING_TX_SOFTWARE #10
Comments
I followed the instruction from here and it worked perfectly. These are the commands (including saving an image to USB): # kernel building MIDAS
sudo apt update && sudo apt upgrade
sudo apt install ethtool linuxptp git bc bison flex libssl-dev make exfat-fuse exfat-utils
sudo sed -i -e 's/time_stamping.*$/time_stamping\t\tsoftware/' /etc/linuxptp/ptp4l.conf
git clone --depth=1 --branch rpi-5.6.y https://github.com/raspberrypi/linux
cd linux
KERNEL=kernel7l
make bcm2711_defconfig
# change in .config: CONFIG_LOCALVERSION="-v7l-MIDAS_KERNEL"
make -j6 zImage modules dtbs
echo 'CONFIG_NETWORK_PHY_TIMESTAMPING=y' >> .config
echo 'CONFIG_PTP_1588_CLOCK=y' >> .config
make olddefconfig
make -j6 zImage modules dtbs
sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img
halt
# check if correct
ethtool -T eth0
# CREATE IMAGE
#To check the partitions are what you are expecting:
lsblk
#Create the directory for mounting:
sudo mkdir /media/usb
sudo chmod 775 /media/usb
# Mount the USB connected device. A single partition Fat32 USB stick on sdb1 in this case:
sudo mount -t exfat /dev/sda1 /media/usb -o rw,umask=0000
# Make an img file from the card inserted in the Pi microSD card slot. Will take some time:
sudo dd if=/dev/mmcblk0 of=/media/usb/imgfile.img bs=1M status=progress |
You appear to be compiling twice with this line! |
Thanks for this, @GillesC.
... does it have to be
I get:
I also notice that
gives,
... I did not change my I checked
I am using a raspberry pi 4B. |
Ok, following up on my previous message, I built and configured with kernel
|
using raspberry pi 4 can't enable SOF_TIMESTAMPING_TX_SOFTWARE
The text was updated successfully, but these errors were encountered: