Ok, seems something is wrong with firmware
as i can see in you dmesg output cores did try to start
[ 150.260639] watchdog: watchdog0: watchdog did not stop!
[ 173.942074] remoteproc remoteproc1: powering up 4a334000.pru
[ 173.953095] remoteproc remoteproc1: Booting fw image am335x-pru0-fw, size 102680
[ 173.953343] remoteproc remoteproc1: unsupported resource 5
[ 173.953822] pru-rproc 4a334000.pru: Allocated carveout doesn’t fit device address request
[ 173.953888] pru-rproc 4a334000.pru: Allocated carveout doesn’t fit device address request
[ 173.960584] remoteproc1#vdev0buffer: registered virtio0 (type 7)
[ 173.960612] remoteproc remoteproc1: remote processor 4a334000.pru is now up
[ 173.961075] remoteproc remoteproc2: powering up 4a338000.pru
[ 173.990910] remoteproc remoteproc2: Booting fw image am335x-pru1-fw, size 193512
[ 173.991076] remoteproc remoteproc2: remote processor 4a338000.pru is now up
[ 174.241331] 8<— cut here —
[ 174.264347] Unable to handle kernel NULL pointer dereference at virtual address 00000000
but when PRU0 is starting we get error: Allocated carveout doesn’t fit device address request
and when PRU1 started you get kernel error.
Weird part is following:
your firmwares have different sizes than mine
yours:
[ 173.953095] remoteproc remoteproc1: Booting fw image am335x-pru0-fw, size 102680
[ 173.990910] remoteproc remoteproc2: Booting fw image am335x-pru1-fw, size 193512
Mine:
[ 75.783870] remoteproc remoteproc1: Booting fw image am335x-pru0-fw, size 97236
[ 75.818240] remoteproc remoteproc2: Booting fw image am335x-pru1-fw, size 188600
also I don’t see this 2 messages from kernel when PRU1 was starting up:
[ 75.818276] remoteproc remoteproc2: header-less resource table
[ 75.835993] remoteproc remoteproc2: header-less resource table
Question: did you disable all additional options for “BeagleBone PRU” when executing make menuconfig
during install sequence ?
Let’s try to rebuild firmware again, do following actions:
cd ~/klipper
make clean
make menuconfig
you will get "Klipper Firmware Configuration " window
enter into “Micro-controller Architecture
” and chose “BeagleBone PRU”
next enter into “Optional features (to reduce code size)
” and make sure both options have removed checkboxes, they are called “Support GPIO Bit-banging devices
” and “Support LCD devices
”
Next exit from that tool by pressing “ESC” button, when it will ask to save changes - answer YES
then execute following commands:
sudo service klipper stop
make flash
all these steps are the same as during installation sequence.
now check dmesg
again and collect output from “make flash” command and from “dmesg”.
there could be 3 outcomes:
outcome 1. you will see that firmware sizes did change but Kernel most probably is unstable because of previous error, so do proper shutdown of BeagleBone sudo halt -p
wait for it to properly shutdown, then remove power and start again. After boot, wait 1 minute and check dmesg
outcome 2. you will see that firmware sizes are same as previously, - then send me output from previously executed “make flash” and latest output from “dmesg”
outcome 3. your system will just die and stop responding - this means your kernel did finally die and board is rebooting - in this case repeat all the steps for rebuilding firmware again and after command “make flash” immediately initiate reboot, command sudo reboot
, after proper reboot wait 1 min and analyze dmesg output