<Ke>
oh right, you had a working kernel on raspberry pi, then no idea
ayaka has quit [Ping timeout: 248 seconds]
<Ke>
spi might not be supported on the board
<ameel>
it is supported
<ameel>
device tree has spi listed as well
<ameel>
i downloaded the compiled boot image
<ameel>
i'll replace the dtb with the one i converted on the system
<ameel>
and try flash that and see what happens
<Ke>
sure
<ameel>
im just not sure how to compress the files back into img
<ameel>
ideas?
<Ke>
nope
<Ke>
mkimage is often the tool, but I have no idea, what bootloader you are using
ayaka has joined #linux-rockchip
<ameel>
uboot
<ameel>
cheers
<Ke>
on aarch64 sometimes u-boot can boot the Image directly
<Ke>
either with bootefi or the other command that I forgot
ayaka has quit [Ping timeout: 260 seconds]
ayaka has joined #linux-rockchip
<ameel>
yeah i have no idea
<ameel>
lease use below command to pack image for Debian ./mkfirmware.sh debian
<ameel>
if only i could find the freaking file mkfirmware.sh
<Ke>
the standard way I did this, was to look at printenv on u-boot console
<Ke>
then follow what bootcmd variable contains
<Ke>
then use help to understand, what the commands mean
<ameel>
hmm
<Ke>
it will tell you, where u-boot gets the image and what is the format of the image
anton___ has joined #linux-rockchip
anton___ has quit [Client Quit]
BenG83 has quit [Ping timeout: 240 seconds]
<ameel>
Ke
<ameel>
uboot and boot images are 2 separate things
<ameel>
oh
<ameel>
i can just mount the boot partition
<ameel>
and swap the files
<ameel>
ill try that
yann|work has joined #linux-rockchip
lkcl has quit [Ping timeout: 248 seconds]
lkcl has joined #linux-rockchip
rompelstompel has joined #linux-rockchip
<ameel>
Ke you there mate?
<ameel>
so i checked the dtb file on the boot partition
<ameel>
it has similar spi stuff
<ameel>
status = "disabled"
<ameel>
is it just a matter of changing it to "enabled"?
<Ke>
don't know
<ameel>
lol
<ameel>
let's see what happens....
<ameel>
worst case I just reflash, sigh
<ameel>
oh it's booted
<ameel>
ok status "enabled" probably not it
<ameel>
should have written "okay"
<ameel>
ke
<ameel>
changing to "okay" killed it
<ameel>
lol
<ameel>
[ 1.988185] rockchip-pinctrl pinctrl: pin gpio1-15 already requested by ff350000.spi; cannot claim for ff3c0000.i2c [ 1.989123] rockchip-pinctrl pinctrl: pin-47 (ff3c0000.i2c) status -22 [ 1.989696] rockchip-pinctrl pinctrl: could not request pin 47 (gpio1-15) from group i2c0-xfer on device rockchip-pinctrl [ 1.990669] rk3x-i2c ff3c0000.i2c: Error applying setting, reverse things back
<ameel>
fair enough
<ameel>
Ke
<ameel>
so i had spi32763 spi32764 spi32765 spi32766 in /sys/class/spi_master
<ameel>
but my wifi died
LargePrime has joined #linux-rockchip
<Ke>
ameel: you are so brave that eventually you will break a board
<Ke>
but it's a learning experience, if you can afford it