<tmn505>
then set CROSS_COMPILE to the path and prefix of the toolchain bin dir and ARCH to powerpc
<SlimeyX>
t1024
<tmn505>
oh, then the one You mentioned is the right one
<SlimeyX>
the p1010 i will use later also
totkeks has quit [Ping timeout: 480 seconds]
<SlimeyX>
looks like it may be working thanks :)
<SlimeyX>
spoke too soon, should have not said anything
<SlimeyX>
LDS u-boot.lds
<SlimeyX>
LD u-boot
<SlimeyX>
powerpc64-buildroot-linux-gnu-ld.bfd: powerpc:common architecture of input file `arch/powerpc/cpu/mpc85xx/resetvec.o' is incompatible with powerpc:common64 output
<SlimeyX>
powerpc64-buildroot-linux-gnu-ld.bfd: powerpc:common architecture of input file `arch/powerpc/cpu/mpc85xx/start.o' is incompatible with powerpc:common64 output
<SlimeyX>
this target is cursed, finally got everything together and nothing will build with it heh
<SlimeyX>
its not the target per say i cantg even build the default shit uboot comes with
<tmn505>
well it clearly says You are trying to build mpc85xx (which ist 32 bit) with 64 bit toolchain. Try it with the OpenWrt toolchain.
<tmn505>
maybe the t1024 uses some small 32-bit core to initialise
<SlimeyX>
no when i say no other targets will build even the ones that come pre-defined in u-boot :P
<SlimeyX>
the only thing i got to work was buildroot but its not realy user friendly
<tmn505>
well when trying to bisect something with kernel I always used buildroot, since OpenWrt has too much patches on top
<SlimeyX>
i just want to .config u-boot and type make :P
lucas_ has joined #openwrt-devel
<tmn505>
pfff... first world problems
lucascastro has quit [Ping timeout: 480 seconds]
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]
digitalcircuit has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<SlimeyX>
:)
<SlimeyX>
but it seems like once its done then u-boot is gone so ill have to make the changes before hand? i doesnt download it until you run make
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
danitool has joined #openwrt-devel
n3ph_ has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
n3ph_ has quit [Remote host closed the connection]
lucas_ has quit []
lucascastro has joined #openwrt-devel
rua has quit [Quit: Leaving.]
xbr has quit [Remote host closed the connection]
xbr has joined #openwrt-devel
minimal has quit [Quit: Leaving]
valku has quit [Quit: valku]
sorinello has joined #openwrt-devel
rua has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
madwoota- has joined #openwrt-devel
madwoota has quit [Ping timeout: 480 seconds]
madwoota- is now known as madwoota
cp- has quit [Ping timeout: 480 seconds]
cp- has joined #openwrt-devel
cp-- has joined #openwrt-devel
cp- has quit [Ping timeout: 480 seconds]
lucascastro has quit [Ping timeout: 480 seconds]
eluks has quit [Remote host closed the connection]
eluks has joined #openwrt-devel
coiaprant has joined #openwrt-devel
<coiaprant>
hello?
coiaprant has quit []
eluks has quit [Remote host closed the connection]
slh has quit [Quit: leaving]
slh has joined #openwrt-devel
nixuser has quit [Read error: Connection reset by peer]
nixuser has joined #openwrt-devel
goliath has joined #openwrt-devel
rua has quit [Quit: Leaving.]
robimarko has joined #openwrt-devel
n3ph has joined #openwrt-devel
n3ph has quit [Read error: No route to host]
Sawzall has joined #openwrt-devel
Sawzallz has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
vincejv has quit [Remote host closed the connection]
swalker has quit [Read error: Connection reset by peer]
<grift>
if we can replace the /usr/sbin/ntpd symlink with a simple shell wrapper a la firstboot then that would allow me to target ntpd
merbanan has quit [Remote host closed the connection]
merbanan has joined #openwrt-devel
totkeks has joined #openwrt-devel
rua is now known as Guest5053
rua has joined #openwrt-devel
<totkeks>
Who do I need to add as reviewer for my PR to improve the github bug workflow? Or are file owners in `.github` folder automatically notified?
Guest5053 has quit [Quit: Leaving.]
<svanheule>
robimarko: yes, pushing that branch was not on purpose. Thankfully somebody cleaned up my little accident by now :)
valku has joined #openwrt-devel
valku has quit []
valku has joined #openwrt-devel
totkeks has quit [Ping timeout: 480 seconds]
n3ph has quit [Read error: No route to host]
jkg has joined #openwrt-devel
jkg has quit []
superior6570 has quit [Remote host closed the connection]
<svanheule>
linusw: have you ever encountered bit-banged I2C busses with shared clock lines? I've been trying to implement it with existing drivers, but I don't think anything covers that yet
<linusw>
svanheule: no I never saw that, but that's interesting ... I think we can implement it in bit-banged GPIO by explicitly sharing the GPIO line for clk but it will be tricky.
<linusw>
I implemented a special function (devm_gpiod_unhinge()) to take control of the refcount of a GPIO line but it's only used by regulators and really tricky
<svanheule>
oof, that looks far from trivial
<linusw>
I figure the DT part is trivial: just assign the same clk-gpios to several i2c-gpio devices... then it's the driver part :D
<linusw>
Create a global list of struct { struct list_head *list; struct gpio_desc *clk_gpiod };
<linusw>
Then as the consumers comes in just add to that list.
<linusw>
In i2c_gpio_get_desc() look in the list if another consumer has obtained the same GPIO as scl, in that case unhinge it and let the driver do lifetime management of that GPIO using the global list.
<linusw>
It's not trivial but not super complex either.
<linusw>
Maybe make the above conditional under a new Kconfig flag so it's not taking up space on systems that don't need it.
<svanheule>
thank for the info! I'll try to take a look at it when I have some more time