leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
Astralix has quit [Ping timeout: 264 seconds]
Astralix has joined #linux-rockchip
hipboi has joined #linux-rockchip
Astralix1 has joined #linux-rockchip
Astralix has quit [Ping timeout: 264 seconds]
atiti has joined #linux-rockchip
Legitsu has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
hipboi has quit [Ping timeout: 260 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Quit: Leaving]
Topgun100 has joined #linux-rockchip
Theueip has quit [Quit: Leaving...]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
akaizen has quit [Ping timeout: 240 seconds]
atiti has quit [Ping timeout: 264 seconds]
Topgun100 has quit [Quit: Topgun100]
fonix232 has joined #linux-rockchip
<fonix232> good day to you all
<fonix232> I might be a bit late
<fonix232> but there's a guy who got down to bootrom on the 3066
<naobsd> what's "got down to bootrom on the 3066" ?
akaizen has joined #linux-rockchip
Topgun100 has joined #linux-rockchip
<fonix232> well
<fonix232> he dissected the bootloader
<fonix232> etcetera
<fonix232> like, half a year ago
<fonix232> paved up bootloader decompiling and basically provided a setup to get uboot ported
<naobsd> u-boot is ported? very nice
<fonix232> not ported
<fonix232> but, eh, we have the files to start
<fonix232> like
<fonix232> dram initializer
<fonix232> the maskrom mode stuff
<fonix232> so based on those (after disassembly etcetera), we could port u-boot
<naobsd> what's "files to start"?
akaizen has quit [Ping timeout: 240 seconds]
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-rockchip
atiti has joined #linux-rockchip
Topgun100 has quit [Quit: Topgun100]
Topgun100 has joined #linux-rockchip
tinti has quit [Quit: Leaving]
<fonix232> dram init, primary and secondary bootloader (decrypted), etc.
<naobsd> hmm. sorry, probably I missed something, but anyway it's nice if you can port u-boot with them
hramrach has quit [Remote host closed the connection]
vinifr has joined #linux-rockchip
hramrach has joined #linux-rockchip
mmind00 has joined #linux-rockchip
<fonix232> well, *I* can't do it, not nearly enough knowledge of this really basic stuff :D
<fonix232> here's all the info
<naobsd> I guess Astralix know about them, he said he disassembled boot code
<naobsd> ah, I didn't know he read that gist, what I said is he (probably) knows same thing
Topgun100 has quit [Quit: Topgun100]
hipboi has joined #linux-rockchip
<naobsd> hmm. I still have no idea about trailing extra 2 bytes which is added to ddr/usbplug control transfer, and no idea about crc for writing via bulk transfer
<naobsd> for former, there might be answer in bootrom, for latter, there might be answer in RK official .exe
<fonix232> well I'd preferably replace the whole thing with u-boot
<fonix232> and fastboot
<fonix232> for flashing
<naobsd> "replace whole thing" sounds very good, but personally I'm feeling "loading u-boot instead of kernel" may be enough
<naobsd> anyway, to make working u-boot will be hard
<naobsd> (for me)
<naobsd> there is no information about nand controller
hramrach has quit [Ping timeout: 240 seconds]
<fonix232> yes I know :\
<fonix232> that's the hardest part
<fonix232> hopefully we can convince Rockchip to release the information
<naobsd> for me, it's difficult to say "it can" for everything which doesn't exist now...
hramrach has joined #linux-rockchip
<fonix232> yes, I know
<fonix232> and understand
<fonix232> oh well
<fonix232> open bootloader is a nice dream, but it's sooo far
<fonix232> would be a lot easier to boot any generic linux on it
<naobsd> I can boot any linux kernel with stock(closed) bootloader
<naobsd> so I have interest to do something in kernel
<naobsd> (un?)fortunately, CWM/adb/flash_image runs nicely, so I can use them to flash images to nand
<naobsd> I'm sure it's not so nice for open source things, but I have no skill/time to do everything open ;)
<naobsd> "u-boot instead of kernel" will be good for me. I heard mmc is DesignWare, I guess there is some code for u-boot
akaizen has joined #linux-rockchip
akaizen has quit [Ping timeout: 260 seconds]
<fonix232> and how would u-boot instead of kernel help?
<fonix232> you still need the kernel itself
<fonix232> but by replacing the bootloader with u-boot, we would have a more secure way of flashing
<fonix232> without killing the device if misflashed
<fonix232> and there would be no need for the stupid RKAF images
<fonix232> also by any chance do you know the Ugoos UM2?
<naobsd> "u-boot instead of kernel" == "replace kernel with u-boot"
<naobsd> I can't find any difference about what u-boot gives
<naobsd> I have no idea why RKAF is the problem, it's not mandatory thing even for now
<fonix232> if you want to update the bootloader, then yes
<fonix232> and yes,I get it
<fonix232> but u-boot is not a kernel
<fonix232> it is a bootloader
<fonix232> what you just said was like "oh I'm gonna replace the kernel with grub"
<fonix232> RKAF is a problem because every damn new chipset comes with a new chip ID, and just recently with the 3168, they randomized it
<fonix232> I have a friend with a 3168 tablet,and she cannot make a factory flashable image because of this crappy change
<naobsd> I don't know about RK3168, but RKAF (and RKFW) image are not mandatory to flash images to device
<naobsd> "replace kernel with u-boot" == I'm talking about bootloader, not kernel.
<fonix232> yes you can use the RKDevTool to flash partitions
<fonix232> but that still won't be able to flash the param file properly
<fonix232> also I have this stick here
<fonix232> can't get ADB on the microUSB
<fonix232> it is an unbranded Ugoos UM2
<naobsd> parameter file will be flashed into parameter partition. parameter partition is also one of partition as like as kernel, boot, recovery, etc
<fonix232> yet if you flash it with RKDevTool, it fails
<hipboi> parameter partition is a must, right
<naobsd> I know well about read/write USB protocol such partitions including parameter
<naobsd> nothing is special for parameter
<naobsd> there is no information about "partition" thing on USB, only offset is used
<naobsd> no RKAF nor RKFW image is transfered, only individual raw image is used
<fonix232> and yet on four different devices, if I want to change partition layout, I have to use Rockchip's MaskRom downloader
<naobsd> it's possible to flash only parameter, as like as kernel, boot, etc
<fonix232> (BatchTool, etc.)
<naobsd> then using RKDevTool is not good choice for flashing parameter. RKDevTool is not only tool to flash RK devices
hipboi has quit [Quit: Leaving]
<fonix232> any other tool that does not use the RKFW images will fail on these devices
<naobsd> oh
<naobsd> linaro's alip image is very good to make linux userland easily
<naobsd> I just 1. extract tarball on uSD card 2. recompile rk3188 android kernel with root=/dev/mmcblk0p1 3. flash kernel
<naobsd> then I can see Linux desktop which runs on rk3188 stick...
<naobsd> no GPU accel, of course! let's use A9 harder to draw pixels! :p
<fonix232> doesn't the mali400 have generic linux libc-compatible drivers?
<naobsd> I never said that I prepared Linux perfectly tweaked for RK...
<fonix232> :D
Topgun100 has joined #linux-rockchip
akaizen has joined #linux-rockchip
vinifr has quit [Quit: Saindo]
akaizen has quit [Ping timeout: 260 seconds]
vinifr has joined #linux-rockchip
Theueip has joined #linux-rockchip
mirc_243421 has joined #linux-rockchip
akaizen has joined #linux-rockchip
fonix232 has quit [Quit: Page closed]
tonikasch has joined #linux-rockchip
naobsd has quit [Ping timeout: 250 seconds]
Topgun100 has quit [Quit: Topgun100]
Topgun100 has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
mmind00 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
tonikasch has quit [Quit: Bye!]
vinifr has quit [Remote host closed the connection]
naobsd has joined #linux-rockchip