leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
naobsd has quit [Quit: Page closed]
Galland has joined #linux-rockchip
Galland has quit [Quit: Saliendo]
akaizen has quit [Remote host closed the connection]
<mosquito520> morning all:)
dsd has quit [Quit: Lost terminal]
eebrah has joined #linux-rockchip
hipboi has joined #linux-rockchip
akaizen has joined #linux-rockchip
Astralix1 has joined #linux-rockchip
Astralix has quit [Ping timeout: 264 seconds]
vgrade has quit [Ping timeout: 260 seconds]
vgrade has joined #linux-rockchip
AstralixNB has joined #linux-rockchip
rellla has joined #linux-rockchip
hipboi has quit [Ping timeout: 272 seconds]
hipboi has joined #linux-rockchip
deviker has joined #linux-rockchip
<arokux1> morning mosquito520
eebrah has quit [Ping timeout: 252 seconds]
massi_ has joined #linux-rockchip
<mosquito520> arokux1: it's almost go off work:D
<hipboi> what's the difference of mkbootimg from https://github.com/olegk0/tools
<hipboi> than the one built from aosp
<mosquito520> hipboi: sorry I don't know that:p
eebrah has joined #linux-rockchip
eebrah is now known as Guest77920
deviker has quit [Ping timeout: 252 seconds]
Guest77920 has quit [Ping timeout: 265 seconds]
deviker has joined #linux-rockchip
mmind00 has joined #linux-rockchip
<AstralixNB> hipboi, the only thing that I am aware of is, that some times the crc has changed.
<ganbold> does rk3188 loader has some size check of kernel or something like that?
<AstralixNB> I guess when RK invented the Rk3188 they changed something around crc. So you need new rkcrc.c supporting option -k and bundle it with mkbootimg
<AstralixNB> yes, could be
<AstralixNB> may be you simply use the tools I forked and updated? As I use them on 3188 it is likely that they work for you too?
<AstralixNB> get it from github.com/Astralix
<ganbold> sometimes it can load kernel and when I add/delete some printfs in kernel src it can load
<AstralixNB> that is cause kernel is at the very limit of size
<AstralixNB> the krflashtool cuts of at given size without warning
<AstralixNB> so old 2.6.xx kernels where 0x4000 in size, then there are tablets with 0x8000 and radxa rock comes with 0x5000
<ganbold> so rkflashtool is the problem?
<AstralixNB> no, user error
<AstralixNB> instead of rkflashtool w 0x4000 0x4000 < kernel.img use
<AstralixNB> rkflashtool w 0x4000 0x5000 < kernel.img
<ganbold> I'm doing that
<AstralixNB> but beware that you have to adapt parameters file and if you do that, you have to erase IDB
<AstralixNB> but erase IDB is not possible with rkflashtool as we did not have all needed information about the IDB generation
<AstralixNB> So you have to use windows flash tool at least once to prepare your new parameters and IDB
<ganbold> once I trashed something and loader recovered itself
<AstralixNB> You cannot kill the system by flashing something. There is always a way to recover as there is a mask-ROM bootloader in the chip
eebrah has joined #linux-rockchip
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
ganbold_ has joined #linux-rockchip
stefan___ has quit [Quit: leaving]
hramrach has joined #linux-rockchip
naobsd has joined #linux-rockchip
hipboi has quit [Read error: Connection reset by peer]
hipboi_ has joined #linux-rockchip
<naobsd> talking about mkbootimg for rockchip
<naobsd> mkbootimg uses SHA1 value for boot_img_hdr.id
<naobsd> to calculate SHA1 value, in addition to some members in boot_img_hdr, rockchip also uses tags_addr, page_size, unused[2], name[], and cmdline[]
<naobsd> so if you use AOSP mkbootimg, RK bootloader think boot_img_hdr.id is wrong
<naobsd> my files are obsolete for now. we have rockchip's SDK source. there is official mkbootimg source. no need to use my dirty hack anymore.
<naobsd> I'll push RK's SDK source to github/linux-rockchip/
<naobsd> "rkcrc -k" i.e. KRNL header is used long time, nothing is new for RK3188
<naobsd> you can see when I committed rkcrc(rkutils)
<naobsd> if my memory is correct, mkbootimg, i.e. ANDROID! format image was introduced at RK2918 SDK2.0
<naobsd> it seems RK uses same format/protocol/tool as long as possible
<AstralixNB> Thank you for the update
<AstralixNB> I did kernel things in the past days so I was in the need of rkcrc -k option
<AstralixNB> This was missing in several open sources.
<AstralixNB> I forked your repository too, I guess
<AstralixNB> It was the one most up to date. But if you post the sources of the original SDK it will be a good idea to clean up our several forks and delete them.
<naobsd> well, rkcrc is not included and not necessary for mkbootimg/ANDROID! format
<AstralixNB> But for kernel it is
<AstralixNB> ?
<naobsd> but anyway I should obsolete my mkbootimg and use RK's
<naobsd> kernel.img needs rkcrc -k (or official mkkrnlimg)
<AstralixNB> So revoke the sources and replace README.md with a file linking to the right sources
<naobsd> ramdisk-only boot.img and recovery.img also need rkcrc -k
<naobsd> kernel+ramdisk boot.img and recovery.img needs RK mkbootimg
<AstralixNB> So what... revoke the current old tools, replace with SDK sources and add rkcrc
<naobsd> if you use kernel+ramdisk format, kernel.img in kernel partition is ignored
<AstralixNB> may be we then should put that small info into the README.mk and the wiki
<naobsd> Astralix: yes, both should be provided same place
<AstralixNB> That is, what I did
<AstralixNB> I collected most actual tools and extended the makefile to build and install all tools
<AstralixNB> it installs to ~/bin/ where google proposes to install the NDK and SDK
mbrugger has joined #linux-rockchip
<naobsd> well
<naobsd> mkbootimg and unpackbootimg are also needed
<AstralixNB> I am currently at mainline kernel, so I didn't miss them :)
<AstralixNB> But I'd like to collect everything a bit sorted, but I would like to call only one "make && make install"
<naobsd> when I was active, I provided links for both http://androtab.info/clockworkmod/rockchip/
<naobsd> it was collected until people start to pick only part of my files ;)
<AstralixNB> I see that my README.md file is missing. In that I honored you for beeing one ressource...
<naobsd> anyway writing README.md on github is right thing to do!
<naobsd> sorry
<naobsd> I should write README.md
<naobsd> why Makefile is missing in rkutils is,
<naobsd> make rkcrc should work w/o Makefile!
<naobsd> ;)
<naobsd> at that time, many people just wanted working binary, not source
<AstralixNB> Does it inherit a parapsychological way to compile? You just think of it?
<naobsd> difficult word! I need dictionaly!
<naobsd> anyway, I just talked the fact
<AstralixNB> I was just kidding
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
AstralixNB has quit [Ping timeout: 264 seconds]
hramrach has quit [Ping timeout: 240 seconds]
<naobsd> Galland: on hipboi's gitlab, I replaced your "Bugfix for 1080p support on modern EDID >=1.3 screens" change with original one: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=43dcd13b9a807ea9e832e4c6b138d825a7b65577
<naobsd> Galland: I'm sorry if you feels bad. I don't want to hurt your feelings, but I also don't want to hurt original author...
<naobsd> Galland: I cannot see any difference between your change and original except whitespaces, so I decided to use original
<naobsd> for all people who can access hipboi's gitlab, I had to change history in master branch. you'll get error on next git pull.
<naobsd> please rename your local "master" e.g. git branch -m master master.old
<naobsd> then make new "master" branch e.g. git checkout -b master origin/master
<naobsd> there is master.old branch on gitlab, it's old "master". it will be removed.
<naobsd> git diff master..master.old just show whitespace changes (no diffs by git diff -b master..master.old)
<naobsd> sorry for inconvenience
<naobsd> is there any person who can guide this community to use git properly?
AstralixNB has joined #linux-rockchip
massi_ has quit [Quit: Sto andando via]
AstralixNB has quit [Ping timeout: 264 seconds]
eebrah has quit [Quit: Lost terminal]
Astralix1 has quit [Ping timeout: 264 seconds]
AstralixNB has joined #linux-rockchip
AstralixNB has quit [Ping timeout: 264 seconds]
AstralixNB has joined #linux-rockchip
eebrah has joined #linux-rockchip
AstralixNB1 has joined #linux-rockchip
AstralixNB has quit [Ping timeout: 264 seconds]
Astralix has joined #linux-rockchip
mbrugger has quit [Remote host closed the connection]
mosquito520 has quit [Remote host closed the connection]
deviker has quit [Ping timeout: 272 seconds]
mmind00 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
mosquito520 has joined #linux-rockchip
AstralixNB1 has quit [Quit: Leaving.]
AstralixNB has joined #linux-rockchip
AstralixNB has quit [Ping timeout: 264 seconds]
AstralixNB has joined #linux-rockchip
dsd has joined #linux-rockchip
AstralixNB has quit [Quit: Leaving.]
AstralixNB has joined #linux-rockchip
AstralixNB has left #linux-rockchip [#linux-rockchip]
eebrah has quit [Ping timeout: 240 seconds]
eebrah|noPC has joined #linux-rockchip
dsd has quit [Quit: Lost terminal]