<
ganbold>
naobsd: I don't know it loads :) but occasionally after building kernel it hangs at boot
<
ganbold>
naobsd: no any msg
<
naobsd>
then you need to convert /usr/obj/arm.armv6/usr/src/sys/RADXA/kernel to binary with objcopy... isn't it?
<
ganbold>
no, I just use that kernel and rkcrc it
<
ganbold>
so maybe because I'm using elf, it sometimes doesn't load or maybe different reason there
<
naobsd>
can you show me readelf -h kernel?
<
naobsd>
I guess so
<
naobsd>
it has elf header... hmm... I have no idea how it can boot
<
naobsd>
vector table is redefined by kernel?
<
ganbold>
vector table?
<
naobsd>
I need to go soon
<
ganbold>
maybe I should try kernel.bin which should be elf stripped
<
naobsd>
please try to convert to binary
<
ganbold>
kernel.bin is binary :)
<
naobsd>
you may need to care about entry point
<
naobsd>
relative location may be different in elf
<
ganbold>
so loading elf is kind of magic now :)
<
naobsd>
it will be fixed in binary, but I'm not sure entry point in kernel.bin is same as RK bootloader want
<
ganbold>
naobsd: you work for night shift?
<
naobsd>
I'm nearly late today
naobsd has quit [Quit: Page closed]
<
hipboi_>
if i change the parameter from MACHINE: 3066 to 3188
<
hipboi_>
the kernel won't boot :)
hipboi_ has quit [Ping timeout: 265 seconds]
hipboi_ has joined #radxa
rellla has joined #radxa
ganbold_ has joined #radxa
hipboi_ has quit [Remote host closed the connection]
naobsd has joined #radxa
<
ganbold_>
naobsd: I was thinking to change compiling using gcc, and found out that one
<
ganbold_>
naobsd: that is wip so we can change that
<
ganbold_>
naobsd: probably will change it back
<
naobsd>
well, "compiling using gcc"?
<
naobsd>
I think rkcrc can be compiled by any toolchain
<
naobsd>
anyway, wip, I see
<
naobsd>
is booting kernel.bin stable?
<
naobsd>
(compared to elf)
<
ganbold_>
naobsd: tried only once
<
ganbold_>
naobsd: worked
<
ganbold_>
naobsd: so I think it should be more stable
<
ganbold_>
naobsd: please try when you have time
<
naobsd>
it's not in svn, right?
<
ganbold_>
please ignore dwc patch, you can use otg cable with rootfs usb stick
<
ganbold_>
will try to commit src tree tomorrow
<
ganbold_>
naobsd: or can you add Makefile for rkutils?
<
naobsd>
it should be easy, but please try "make rkcrc" on my rkutils directory...
<
naobsd>
you may add rkcrc.c into FreeBSD, to make kernel.img from kernel.bin
<
ganbold_>
cool, make rkcrc works
<
ganbold_>
wiki is changed back :)
<
ganbold_>
thanks naobsd
tonikasch has joined #radxa
ganbold_ has quit [Remote host closed the connection]