<jceel_>
naobsd: load plain kernel binary (without rkcrc header) to address it's expected to be loaded (0x60400000) and then rkflashtool B 0x60400000
<naobsd>
jceel_: you need u-boot bin in my zip
<AstralixNB>
naobsd, does the uboot code you have use the uboot header instead of the rkcrc?
<jceel_>
naobsd: FlashBoot_uboot.bin?
<jceel_>
naobsd: I'll try!
<jceel_>
naobsd: anyway, thanks for all your support
<naobsd>
jceel_: and 0x60400000 may conflict u-boot, you should use kernel with rkcrc -k, my u-boot hack relocate it
<naobsd>
AstralixNB: no, RK header(KRNL) or fastboot header(ANDROID!)
<AstralixNB>
naobsd, I've moved my internal NAND to the external sd card and modified the kernel command line, so the loader and kernel reside in NAND, the working rootfs on SD.
<AstralixNB>
So I am pretty much ready to start again kernel-ing :)
<jceel_>
btw
<jceel_>
can I write regular MBR to offset 0x0 on SD card?
<jceel_>
and it won't overwrite something belonging to boot process?
<AstralixNB>
yes
<naobsd>
jceel_: yes of course
<jceel_>
ok, thanks
<jceel_>
ah, I seee... everything starts at 0x2000
<jceel_>
for loader
<AstralixNB>
parameter is in the boot sector that is not targeted by the partiton table
<naobsd>
jceel_: don't overlap header, parameter, kernel, etc. that's all.
<AstralixNB>
careful!
<AstralixNB>
kernel is overlapping a normal partition
<AstralixNB>
you have to keep some free space in front of the first partiton
<naobsd>
well, yes, it's ok to overlap if you understand well :)
<naobsd>
e.g. 1st partition for parameter, 2nd partition for kernel etc
<naobsd>
don't format them ;)
<jceel_>
I think I'll just add first MBR partition starting at 40MB
<jceel_>
which seems safe
<naobsd>
agree
<AstralixNB>
right, that is what is written at radxa wiki too. keep abt. 32MB free in front of first partiton
<AstralixNB>
btw... starting Sclipse on NAND: 2min. starting Eclipse on SD: 34s
<naobsd>
lol
<naobsd>
I'm using USB HDD for root fs
<AstralixNB>
cross-compiling mid size AVR project on NAND: 36s, on SD: 26s
wickwire_ has joined #radxa
<AstralixNB>
I'll upgrade to your rkflashtool tonight and check what I have left on my drives from my improvements for it from last year
wickwire has quit [Ping timeout: 244 seconds]
<AstralixNB>
Then I will probably figure out some short cuts to download and start a kernel image. These M commands look very promising!
<naobsd>
I'll improve "fastboot boot", then my USB boot hack will be obsoleted ;)
<AstralixNB>
with external sd you should not need any initramfs as the rootfs is available after starting the driver
<AstralixNB>
while NAND needs installation of the rknand.ko
jceel_ has quit [Ping timeout: 260 seconds]
<naobsd>
maybe /dev/ need to be populated
<naobsd>
it depend how distro rootfs boot
<AstralixNB>
could be. I check that later
jceel has joined #radxa
<ganbold_>
jceel: booted freebsd?
AstralixNB has quit [Ping timeout: 250 seconds]
FreezingCold has quit [Read error: Connection reset by peer]
FreezingCold has joined #radxa
jceel has quit [Ping timeout: 244 seconds]
<naobsd>
ganbold_: is he FreeBSD committer?
<ganbold_>
naobsd: yes
FreezingCold has quit [Read error: Connection reset by peer]
FreezingCold has joined #radxa
mrcan__ has joined #radxa
mrcan_ has quit [Ping timeout: 258 seconds]
akaizen has joined #radxa
FreezingCold has quit [Read error: Connection reset by peer]
FreezingCold has joined #radxa
gb_master has joined #radxa
Astralix has joined #radxa
bengal has joined #radxa
gb_master has quit [Remote host closed the connection]
wickwire_ has quit [Quit: Leaving]
akaizen has quit [Remote host closed the connection]
akaizen has joined #radxa
akaizen has quit [Ping timeout: 250 seconds]
FreezingCold has quit [Read error: Connection reset by peer]
FreezingCold has joined #radxa
akaizen has joined #radxa
akaizen has quit [Ping timeout: 260 seconds]
akaizen has joined #radxa
akaizen_ has joined #radxa
akaizen has quit [Ping timeout: 272 seconds]
wickwire has joined #radxa
hramrach_ has quit [Remote host closed the connection]
hramrach_ has joined #radxa
bengal has quit [Quit: Leaving]
wickwire has quit [Remote host closed the connection]