<naobsd>
I'll make RK loader u-boot image for NAND
<naobsd>
ah, it's time to prepare dl.linux-rockchip.org :)
<naobsd>
btw I want to rewrite rkflashtool... maybe my rkflash should be updated ;)
<naobsd>
I'll do same for u-boot rk3288
<naobsd>
and add arch timer init to u-boot rk3288
<naobsd>
and add rockchip_timer for clocksource for rk3188 mainline linux
<naobsd>
if I have enough time ;)
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
naobsd has quit [Quit: Page closed]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
Astralix1 has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
Astralix has quit [Ping timeout: 250 seconds]
hipboi has quit [Ping timeout: 272 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
hipboi has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
naobsd has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
benja is now known as benja`
arokux has quit [Ping timeout: 272 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
dlezcano has joined #linux-rockchip
hipboi has quit [Ping timeout: 245 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
cristian_c has joined #linux-rockchip
<naobsd>
BorgCuba: if you can please join google group for discussion
hipboi has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<cristian_c>
naobsd, ok, I ve asked to android users, but it's not clear for me what you mean by 'setuid root shell binary'. Maybe, I think you mean 'su' binary
<cristian_c>
an android user has told me he doesn't know what it is
<naobsd>
cristian_c: sorry, I can tell about basic things like tools, methods, etc. but I have no idea what you want, what to do for it.
<cristian_c>
naobsd, ok, I'll look for a channel I can ask this particular question :)
<naobsd>
cristian_c: I just think setuid binary is useful, but if you don't need it, it's not necessary
<naobsd>
it's not specific command/file/binary
<naobsd>
setuid is, well, way/method/something like that
<cristian_c>
yeah, set user id
<naobsd>
if su works and it's enough, no need to do for setuid thing
<cristian_c>
I'd like to do it for mounting partitions
<cristian_c>
ah, sorry for root commands
<cristian_c>
*commands they need root permissions :)
<cristian_c>
as 'reboot' command, so I can reboot to recovery from android, and not by adb
<cristian_c>
but I'll ask this in another channel because it's a offtopic question
<cristian_c>
:)
<naobsd>
android app for "reboot recovery" is not enough?
<cristian_c>
*an
<naobsd>
well, I see
<cristian_c>
naobsd, yesterday, I've tried many 'reboot' apps in my rockchip
<cristian_c>
but they do nothing or say I'm not root, also it it's wrong
<cristian_c>
ok
<naobsd>
I see
<cristian_c>
so, i tried the shell terminal trick, but it also was a fault
<cristian_c>
for lack of root permissions either shell app did nothing
<naobsd>
I'm feeling something strange about it. I just believe it works, but usually I don't do it, so, I have no knowledge about it
<cristian_c>
naobsd, I think you are right, I've already made a bad impression with rkunpack
<cristian_c>
making you lose time
<naobsd>
or probably I do it involuntary, I didn't met any problem to reboot recovery...
<cristian_c>
naobsd, apps are strange, weeks ago I tried arctools to flash rk30generic recovery zip
<cristian_c>
but it was a fault, doing nothing on reboot recovery, on zip installation, for exaple
<cristian_c>
*example
<cristian_c>
I've found no official homepage for R-Box manufacturer
<cristian_c>
it's the mk809iii manufacturer, I cannot update the firmware, for lack of a product official resource
<cristian_c>
*the
<naobsd>
even if official site is available, good support cannot be expected for this kind of cheap product ;)
<cristian_c>
also for expensive products usually I don't find a good support
<naobsd>
even if update is provided, "newer is better" cannot be expected too ;)
<cristian_c>
naobsd, ok, but it seems that the update let the reboot finctuion
<cristian_c>
*function
<naobsd>
did you open case? if your board is HTC-T031-V1 or V2 or V3, there is firmware for another name but same board product
<cristian_c>
And it worked very well. It had the r-box firmware with 4 penguins at the beginnig and then a green nature wallpaper. Wi-fi, wi-fi direct and bt worked perfectly. After flash no way. '
<cristian_c>
naobsd, device in that photo it's the exactly the same version of the device
RayFlower has quit [Read error: Connection reset by peer]
<naobsd>
I cannot see any detail/reliable information
<naobsd>
photo is reliable, but it's not your board, it doesn't explain about your board
<cristian_c>
ok
dlezcano has quit [Ping timeout: 272 seconds]
dlezcano has joined #linux-rockchip
dlezcano has quit [Remote host closed the connection]
<naobsd>
cristian_c: you said your board has ap6210, but that thread is talking about board with mediatek
<naobsd>
open the case, it's the easy&reliable way
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
FreezingCold has joined #linux-rockchip
<cristian_c>
naobsd, RK30board
BorgCuba has joined #linux-rockchip
<cristian_c>
naobsd, you are right
<cristian_c>
the guy says he has mediatek wifi chip
<cristian_c>
*has got
<cristian_c>
' I've MK809III with RK3188T and mediatek mt5931sa / mt6622n wifi/bt chipsets.'
<BorgCuba>
naobsd, I tested the code again with the kernel from my device and it boots (well, up to:" [ 4.808642] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)")
<cristian_c>
naobsd, if I open the device, then I can't close it anymore
<BorgCuba>
cristian_c, I have got a T device too
<cristian_c>
ok
<cristian_c>
the same situation it's happened with easycap capture device, I've open to identifying that, but it couldn't possibile to remount the shell again
<cristian_c>
*possible
<cristian_c>
*remount the shell correctly
<cristian_c>
the use glue usually
dlezcano has joined #linux-rockchip
<cristian_c>
*they
<naobsd>
BorgCuba: which code? your parameter has initrd= line and you loaded ramdisk at address specified by initrd= ?
akaizen has quit [Read error: Connection reset by peer]
akaizen_ has joined #linux-rockchip
<naobsd>
cristian_c: I guess your case will be breakup by easy shock soon ;)
<naobsd>
BorgCuba: ramdisk address need to be given by parameter, or ramdisk need to be compiled in kernel
<naobsd>
BorgCuba: probably my code/protocol is not same as RK, then there is no reason to pass only kernel and parameter address by rkflashtool ;)
<naobsd>
or if RK never implement that command, no reason to follow their code ;)
userx__ has joined #linux-rockchip
<naobsd>
probably atag thing need to be cared
<BorgCuba>
naobsd, yes. This is obviously related to the fact that I dont pass any parameters yet
<cristian_c>
rk31sdk
<userx__>
hi, is dynamic voltage and current regulator supported under radxa rock ?
<naobsd>
userx__: you asked on-board regulator? or you want to control external one?
<naobsd>
userx__: anyway you can find answer from kernel source for radxa.
<naobsd>
or #radxa or talk.radxa.com
<userx__>
naobsd: on board regulator, need to control vcc for one spi device.
<naobsd>
userx__: if you just want to change default voltage and you don't change it while running, change default value in arch/arm/mach-rk3188/board-rk3188-*.c is easiest way
<BorgCuba>
its mentioned on cnx-software but the link isnt active anymore "Lol, you come late, sharing the file has been canceled, next time you want breakfast yo."
<cristian_c>
it says 'Device seems to be a real RK3188'
<naobsd>
if it's RK3188T, kernel limits highest cpufreq to 1.4G
<naobsd>
that's all
<naobsd>
no difference
<naobsd>
dmesg may print some information about T, I'm not sure
<cristian_c>
very essential app, but it's effective
<naobsd>
I think app just check it
<naobsd>
sorry
<naobsd>
/proc/cpuinfo is enough
<naobsd>
I think app just check it
<naobsd>
anyway
<naobsd>
open the case ;)
<cristian_c>
:)
<cristian_c>
so, I don't know how to close it, then
<cristian_c>
BogoMIPS: 1631.46
<cristian_c>
cpuinfo
<cristian_c>
'The RK3188 was the first product in the RK31xx series, announced for production in the 2nd quarter of 2013. The RK3188 features a quad-core ARM Cortex-A9 clocked up to 1.6 GHz frequency.['
<cristian_c>
I can reasonably say that it is 3k3188
<cristian_c>
*rk3188
<cristian_c>
ufff
<naobsd>
don't rely bogomips
<BorgCuba>
cristian_c, I also installed that app, it seems to be fake
<cristian_c>
:(
<BorgCuba>
naobsd, I will join
<naobsd>
as I said, for kernel, if it's RK3188T, it just limit cpufreq
<naobsd>
RK3188T is surely RK3188
<naobsd>
just it cannot go >1.4GHz by default kernel coding
<cristian_c>
dmesg dosn't show rk3188t
<cristian_c>
I try to open many applications to see what frequency it shows
<cristian_c>
:)
<naobsd>
dmesg may show "cpufreq: delete arm freq..."
<naobsd>
but source can be changed freely, not sure
<cristian_c>
ok
<karlp>
what are you trying to do, run at a higher frequency because overcl0ck rulez? or what?
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
<naobsd>
newer gcc can be used for mainline kernel
<naobsd>
gcc 4.6 is for SDK based code
<BorgCuba>
I am not aiming for android, I try to build a rootfs
<BorgCuba>
I build the kernel using gnueabihf
<naobsd>
ah, for userland, any compiler can be used
<BorgCuba>
so I think I need a similar toolchain for buildroot
<naobsd>
there is no relation between kernel toolchain and userland toolchain
<BorgCuba>
well, I get this error "FATAL: kernel too old" when I use that rootfs i build for sunxi some time ago
<BorgCuba>
anyway, Ill try another toolchain
<naobsd>
it seems problem is kernel version, not toolchain
<naobsd>
anyway
<naobsd>
it's not sunxi thing ;)
<BorgCuba>
yes, the toolchain that was used to build the rootfs was based on 3.1.x headers
<naobsd>
userland has relation to kernel headers
<BorgCuba>
ahh, now its a 3.2.x toolchain that I downloaded
<naobsd>
but no relation to actual kernel at build time
<BorgCuba>
I really dont want to build it myself
<BorgCuba>
yes, the headers
<naobsd>
if there is any compatibility, problem will happen at run time
<naobsd>
incompatibility
<BorgCuba>
but buildroot checks this and it probably should do that
<naobsd>
well
<naobsd>
anyway it should not toolchain version issue...
<amstan>
BorgCuba: we've been working hard on getting chromeos working on it, we have 3.14
<amstan>
BorgCuba: if you just want a rootfs you could try going that way
<naobsd>
userland and kernel header compatibility
<BorgCuba>
amstan, thats an option
<amstan>
BorgCuba: most patches are also upstreamed
<amstan>
see mmind00's branch
<BorgCuba>
but I'll first try if I get this working, I just downloaded another version
<naobsd>
new toolchain? new kernel?
<BorgCuba>
toolchain
arokux has quit [Remote host closed the connection]
<BorgCuba>
again 3.2.x
<BorgCuba>
I guess I have to build from source
arokux has joined #linux-rockchip
<naobsd>
3.2.x? gcc? clang?
<naobsd>
anyway "FATAL: kernel too old" <- this says about kernel, not toolchain
arokux1 has joined #linux-rockchip
arokux has quit [Remote host closed the connection]
arokux1 has quit [Remote host closed the connection]
<BorgCuba>
yes, but its after init. So I think it has got somethink to do with the rootfs / the toolchain I used to build which uses newer kernel headers
arokux has joined #linux-rockchip
arokux has quit [Remote host closed the connection]
arokux has joined #linux-rockchip
<BorgCuba>
it looks like this:
<BorgCuba>
[ 2.792490] Freeing init memory: 172K
<BorgCuba>
FATAL: kernel too old
<BorgCuba>
[ 2.821598] Kernel panic - not syncing: Attempted to kill init!
<BorgCuba>
and then a backtrace
bengal has joined #linux-rockchip
<naobsd>
kernel message?
<naobsd>
ah, no, userland message
<BorgCuba>
you think its a kernel message?
<naobsd>
strange userland...
<naobsd>
no
<naobsd>
I guess
<naobsd>
is that rootfs required?
<BorgCuba>
well, I think so
<BorgCuba>
if I dont supply a rootfs the kernel complains and reboots and also I want to play a little bit on the console
<BorgCuba>
so far I prepared a sdcard with: ddrinit+uboot+ext4 rootfs
<BorgCuba>
so I can upload a new kernel using uboot and the plan is to boot to a shell to test if things are working as expected
<naobsd>
btw fastboot image(ANDROID!) should be supported
<naobsd>
sorry? is there any reason not to believe my explanation?
<naobsd>
even if it cannot believe, you can try
<naobsd>
please blame me if it doesn't work
<BorgCuba>
sure I believe you, but what is this boot.img? can I mount it?
<BorgCuba>
I just need some content for my ext4 partition
<naobsd>
rkcrc-ed cpio+gz file, very very common image format for rockchip.
<naobsd>
"the plan is to boot to a shell to test if things are working as expected"
<karlp>
see? "ramdisk only" isn't enoughf or many people, rkcrc(gz(cpio)) is more useful..
<naobsd>
if you just want to confirm your rootfs, then you only can use your rootfs
<BorgCuba>
I see, so its an initramfs or initrd
<naobsd>
cpio+gz initramfs is the standard rootfs for rockchip android device
<naobsd>
only 2 variation, rkcrc-ed(ramdisk only) or mkbootimg-ed(kernel and ramdisk)
<naobsd>
my miniroot provides shell
<BorgCuba>
naobsd, I just unpacked it. I'll try it
<naobsd>
unpacked? to extract ext4 on sd?
<naobsd>
you can load ramdisk to ram
<naobsd>
I thought you need shell environment which doesn't panic
<BorgCuba>
okay, it works
<BorgCuba>
naobsd, thanks
<BorgCuba>
I put it on the sdcard
<naobsd>
that miniroot is too poor to use sd card...
<naobsd>
it's small rootfs for ramdisk
<naobsd>
you can do "switch_root" to rich root fs on sd (or usb or nand) from miniroot
<BorgCuba>
yes, one could add some symlinks to busybox
<BorgCuba>
now somehow the (pc)tx->rx(rk) link is broken, I tried to resolder it but it refuses to work
<naobsd>
with rockchip 3.0 kernel, pc:tx->rx:rk sometimes dead
<naobsd>
ah, it can be fixed by reset, just software issue
<BorgCuba>
I fear its a hardware problem, although the solderjoints look good. But it doesnt even work for the stock android kernel (and I remember that this was working before)
<BorgCuba>
anyway, I'll try to get the eth_gadget working
<BorgCuba>
naobsd, I really appreciate your help!
<BorgCuba>
maybe I can help and write an article on the wiki later when I am done
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
<c0d3z3r0>
does anybody know if the rk3188 has overheat protection?
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
GriefNorth has quit [Remote host closed the connection]
putput has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
putput has quit [Quit: Page closed]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
BorgCuba has quit [Quit: leaving]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<Astralix1>
naobsd, are you there?
<mmind00>
c0d3z3r0: the rk3188 does not seem to have thermal monitoring at all (rk3066 and rk3288 have thermal sensors for the soc temperature though)
<c0d3z3r0>
thanks
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
nighty^ has quit [Quit: Disappears in a puff of smoke]
RayFlower has joined #linux-rockchip
bengal has quit [Quit: Leaving]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
akaizen_ has quit []
akaizen has joined #linux-rockchip
akaizen_ has joined #linux-rockchip
akaizen has quit [Ping timeout: 272 seconds]
benja is now known as benja`
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
<naobsd>
Astralix1: ?
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]