<naobsd>
cristian_c: I think you misunderstood something. that github source is not for your device
<naobsd>
that's surely cwm source, but
<naobsd>
well
<cristian_c>
the last one is different, anyway
<cristian_c>
uhm
<naobsd>
hmm
<naobsd>
cristian_c: can you tell me about "some cwm options don't work" ?
<naobsd>
ah, sorry, I have to leave here for a while...
<naobsd>
I want to see any log about "don't work"
<naobsd>
later
<cristian_c>
naobsd, sorry for the waiting
<cristian_c>
ok
c0d3z3r0- has joined #linux-rockchip
c0d3z3r0 has quit [Ping timeout: 250 seconds]
c0d3z3r0- is now known as c0d3z3r0
AndroUser2 has joined #linux-rockchip
FreezingCold has quit [Ping timeout: 245 seconds]
AndroUser2 has quit [Ping timeout: 255 seconds]
gb_master has quit [Remote host closed the connection]
AndroUser2 has joined #linux-rockchip
FreezingCold has joined #linux-rockchip
AndroUser2 has quit [Ping timeout: 245 seconds]
cristian_c has quit [Quit: Sto andando via]
cristian_c has joined #linux-rockchip
Tony_ has joined #linux-rockchip
<Tony_>
recovery.img can be build alone ?
<Tony_>
I haven't do that.
<Tony_>
I got full android4.2.2 source code of rk3188. The recovery source code is just a part of it.
<rperier>
mmind00: what is the right way for resending the patch to mark ? I need to send my patch with the following subject "[RESEND RFC PATCH v3 1/5] ..." ? (I will add a changelog note)
<mmind00>
rperier: if you mean the power-controller ... no resend but a follow up instead
<mmind00>
rperier: Mark already applied the general parts of the series
<rperier>
I will probably ask review again because my helper function must be compatible with both properties (so I need to do some parsing to find the vendor prefix)
<rperier>
the code will be mostly the same except for this part
<rperier>
mmind00: ohh... so I create another patch on top of my previous ones to make the change ?
<mmind00>
rperier: exactly
<rperier>
mhhh okay... makes sense
<naobsd>
lets try to solder uart pins on rk3068 stick...
<cristian_c>
naobsd, i think I've to change line in recovery.fstab
<cristian_c>
to: /sdcard vfat /dev/block/mtd/by-name/user
<cristian_c>
naobsd, same thing for this line:
<Tony_>
maybe you can change *.rc.
<Tony_>
ln -s /sdcard /mnt/sdcard
<cristian_c>
ah, ok
lioka_ has joined #linux-rockchip
<cristian_c>
Tony_, sorry but recovery code looks for fstab file
phh_ has joined #linux-rockchip
<cristian_c>
it compares entries in fstab file with strings in the code
<Tony_>
I mean that you can link /sdcard to /mnt/sdcard.
<cristian_c>
ok
<Tony_>
when booting.
dianders_ has joined #linux-rockchip
ojn_ has joined #linux-rockchip
<Tony_>
I think that is better than your. :)
dianders_ is now known as dianders
<cristian_c>
but there is a problem with fs_mgr_get_entry_for_mount_point, Tony_
<Tony_>
init.***.rc in the recovery
ojn_ is now known as ojn
<cristian_c>
ok
<Tony_>
no hardcode.
VargaD has joined #linux-rockchip
<Tony_>
and ...
<Tony_>
Yes, recovery need a path than mount the path.
<naobsd>
cristian_c: why you changed recovery.fstab? is there any reason?
<Tony_>
You are right, wrong path can be mounted by vold.
<naobsd>
Tony_: do know know well about cwm?
<Tony_>
I just know well about recovery -- how to work.
dlezcano has quit [Ping timeout: 240 seconds]
<naobsd>
Tony_: well, you know well about how to modify _cwm_ recovery source to build cwm for rockchip?
<naobsd>
cristian_c: can you try non-modified cwm for rk? if you need to replace rknand.ko, please replace it but don't modify anything other than it, then please try to use SD card
<naobsd>
cristian_c: it should work w/o modification
<Tony_>
I'm used rockchip's recovery before.
<naobsd>
Tony_: cristian_c is asking about cwm for rk, not RK's recovery
<Tony_>
I think that there is no difference between them.
<Tony_>
about how to work.
<Tony_>
The problem is just that the mount path of sdcard is difference.
<Tony_>
cristian_c, where are you going ?
<Tony_>
naobsd is here now.
<naobsd>
the problem is just path is modified from right one to wrong one
<naobsd>
right one(original) should be "/sdcardvfat/dev/block/mtd/by-name/userlun=/sys/class/android_usb/android0/f_mass_storage/lun/file"
<naobsd>
if there is any reason to modify path in recovery.fstab, please explain detail about it. "don't work" is too less information
dlezcano has joined #linux-rockchip
<naobsd>
(lets soldering...)
<Tony_>
naobsd, do you merge code to mainline kernel ?
<Tony_>
I'm just curious
dlezcano has quit [Ping timeout: 265 seconds]
dlezcano has joined #linux-rockchip
hramrach_ has quit [*.net *.split]
dlezcano has quit [Ping timeout: 244 seconds]
dlezcano has joined #linux-rockchip
<karlp>
hrm, need to try rperier's emac stuff on my minix, I had pcfg_pull_default, but he's got it all as pcfg_pull_none. I wonder if that will help
<karlp>
hrm, marsboard tps pmic irq is different too, more things to compare
<Tony_>
minix for rockchip ?
<Tony_>
interesting.
ole_ has joined #linux-rockchip
Tony_ has quit [Quit: Page closed]
dlezcano has quit [Ping timeout: 245 seconds]
dlezcano has joined #linux-rockchip
<karlp>
most of the minix devices are rockchip,
<ole_>
hi, just wanted to thank you guys for maintaining the linux-rochchip.info wiki. It's quite usefull. According the hints I was able to enable 24bit RGB framebuffer on my RK3288 linux (Firefly kernel).
<karlp>
please feel very free to edit and expand at will
<Tony_>
I remove sdcard0 driver from kernel, but it
<Tony_>
it's wifi can be enable
<Tony_>
wifi is used sdio(mmc ctl1)
<Tony_>
it's wifi can't be enable.
<Tony_>
naobsd, do you get what i mean ?
<naobsd>
Tony_: why sdcard0 driver is removed?
<naobsd>
Tony_: and how
<cristian_c>
naobsd, I got the recovery.fstab because I couldn't mount system partition
<Tony_>
just disable mmc ctrler0 driver
<cristian_c>
*from stock
<Tony_>
I want sdcard to be main flash.
<Tony_>
boot system from sdcard.
<Tony_>
all things are just in sdcard.
<naobsd>
Tony_: can you explain detail e.g. diff? "disable some driver from stock" is not "how"
<naobsd>
Tony_: I understand about "why"
<Tony_>
okay, wait for while.
<naobsd>
probably you need to disable CONFIG_SDMMC0_RK29
<Tony_>
Yes! that's is.
<Tony_>
SDMMC0_RK29
<Tony_>
but my wifi can turn on.
<Tony_>
wifi ic is AP6330
<naobsd>
can? cannot?
<Tony_>
use sdio interface(mmc1)
<Tony_>
so I'm confused.
<naobsd>
oops, sorry about "stock" :(
<naobsd>
cristian_c: it should work, if you got any problem, please tell me "detail" more than "couldn't"
<Tony_>
makes sence
<Astralix>
naobsd, I got confirmation about our "thoughts" of loader behavior and reserved area at end of NAND.
<Tony_>
*sense
<naobsd>
cristian_c: if my memory is correct, you had to replace rknand.ko, right? then, "mount /sdcard"(=NAND partition) shouldn't work until you replaced rknand.ko, but it should work after replace
<Astralix>
I tested boot from nand + rootfs nand and boot from nand + rootfs on sd and boot from sd + rootfs sd and boot from sd + rootfs on nand
<naobsd>
"boot from SD" = everything (bootloader, parameter, kernel, etc) which is needed for "boot" is on SD
Bludot has joined #linux-rockchip
<Tony_>
Yes, agreed.
<Astralix>
the rknand is still in the initramfs?
<naobsd>
oh, I don't know how to do this: "boot from sd + rootfs on nand"
<Astralix>
naobsd, one of the kernels from hipboy I got for solving my HDMI problems boots from everywhere...
<Tony_>
It's voltage is correct.
<Tony_>
naobsd,
<naobsd>
Tony_: I'm not sure mmc1 can run fine with "boot from SD" + rknand.ko
<naobsd>
Tony_: please try "mmc0 enabled"(= stock configuration) but without rknand.ko
<Astralix>
which kernel is it? Not a mainline I guess
<cristian_c>
ok, new recovery.img prepared
<Tony_>
rockchip provide
<naobsd>
RK 3.0
<Tony_>
3.0.36+
<Astralix>
ok...
<Tony_>
naobsd, why talk about rknand.ko.
<Astralix>
but you set up the GPIOs in your board config fine?
<Tony_>
my sytstem can run well.
<naobsd>
talking about mainline, it's impossible to use rknand.ko as sdmmc driver for "boot from SD" ;)
<naobsd>
Tony_: you said your wifi doesn't work, or you already removed rknand.ko?
<Tony_>
Nope, my kernel is not mainline.
<Tony_>
is provided by rk.
<naobsd>
I just talked about mainline, not about your problem
<naobsd>
I just talked there is no rknand.ko or any other nand driver for rk in mainline
<naobsd>
Tony_: you said your wifi doesn't work, I don't think your system can run well.
<naobsd>
Tony_: if you are using rknand.ko, please remove it and re-enable mmc0 driver
<Tony_>
enable mmc0, my system run well.
<naobsd>
Tony_: then why you disable mmc0?
<Tony_>
I just confused why I disable mmc0, my wifi(used mmc1) can't work well.
dlezcano has quit [Ping timeout: 244 seconds]
<Astralix>
Tony_ It may have to do with your problem: RK does have its own WiFi driver detection system
<naobsd>
Tony_: well? your wifi cannot work well when you disable mmc0? or when you enable mmc0? which?
<naobsd>
Tony_: if your system works well with mmc0 enabled, please use it
<Astralix>
The sdio driver, which relies on rkmmc driver, tests the plugged in card and decodes which WiFi chip is present
dlezcano has joined #linux-rockchip
<Astralix>
It presents the name of the chip somewhere in /sys/class/...
<Astralix>
The rk wifi driver then picks up this information and loads the matching driver.bin and config.txt into the connected chip
<Astralix>
So I guess you are stumbling over this interconnection the three drivers have
<naobsd>
Astralix: Tony_ already has working configuration
<naobsd>
^if I understand this talk correctly
<Astralix>
Yes, but he tries to modify it, for whatever reason, and it then doesn't work anymore and he doesn't know why
<Astralix>
So I explaind that in rk kernel the rkmmc, rksdio and rkwifi driver need to work all together or you have no wifi
<naobsd>
Astralix: he disabled only rk mmc0, not whole rk mmc
<Tony_>
Yes, I think that mmc0 and mmc1 are substantive.
<Tony_>
mmc1 can work fine after disable mmc0
<Astralix>
Rk had some functions to control wifi power as "extentions" in the mmc code
<Tony_>
mmc1 can't work fine after disable mmc0
<naobsd>
Tony_: please post full dmesg, not part
<naobsd>
Tony_: and please tell us why mmc0 need to be disabled
<Astralix>
But if you have a working configuration, why do you want to modify something there?
<Tony_>
the reason why mmc0 need to be disable is I want to boot system from sdcard. (everything is in sdcard.)
dlezcano has quit [Ping timeout: 265 seconds]
<Tony_>
than I need disable mmc0.
<Tony_>
if I don't, it won't run at sdcard.
<naobsd>
Tony_: you said your system works fine :(
<Tony_>
clear ?
<naobsd>
Tony_: are you using rknand.ko in your "boot from SD" system?
dlezcano has joined #linux-rockchip
<naobsd>
(or post full dmesg to make things clear)
<Tony_>
Yes, it works fine before.
<naobsd>
Tony_: what is "before", please explain detail
<Astralix>
But... wait a second, I need to switch radxas...
<Tony_>
I need it run from sdcard, so I need disable mmc0.
<Tony_>
than I fond it's wifi can be work fine.
<naobsd>
Tony_: please ask my question, are you using rknand.ko in your "boot from SD" system?
<naobsd>
it should be used, but please answer
<naobsd>
^please answer, sorry
<Tony_>
Sorry, I know a little about rknand.ko.
<Tony_>
so I can't talk about rknand.ko.
<naobsd>
Tony_: please post full dmesg from "boot from SD" system
<naobsd>
and/or lsmod output
<Tony_>
okay, I will post it tomorrow. it's 00:03 here. :)
<naobsd>
it's 01:05 here :(
<Tony_>
I'm at home now. :(
<Tony_>
my device is at my company.
<naobsd>
I see
<naobsd>
currently I'm not sure "boot from SD with rknand.ko" breaks sdio wifi or not,
<naobsd>
if you're using rknand.ko(rk30xxnand_ko.ko.3.0.36+ for rk3188 3.0.36 kernel), please remove (or disable insmod line somewhere in your system) and use mmc0 enabled kernel
<naobsd>
"mmc0 enabled kernel" == "kernel worked well before"
<Tony_>
Yes, every things are okay before I want to run system from sdcard.
<naobsd>
I understood about it
<Tony_>
wifi flash sdcard bt etc..
<naobsd>
I have rk3188 stick which uses sdio wifi, probably I can try myself, but it's 01:10 AM now :(
<naobsd>
I have to sleep soon
<Tony_>
Yes, me too. we are close, aren't ?
<naobsd>
cristian_c: I'll sleep soon, but I'll read irc log at whitequark, please leave message if you got something
<Tony_>
It's 00:11 here.
<naobsd>
cristian_c: and if you got "error", please post detail not only "it doesn't work"
<naobsd>
cristian_c: dmesg, cwm log, etc
<naobsd>
Tony_: I'm in Japan
<Tony_>
I'm in China.
<Tony_>
Asia.
<Tony_>
:P
<Tony_>
naobsd, Good night. to be honest, you are so sweet.
<naobsd>
good night
Tony_ has quit [Quit: Page closed]
<Astralix>
too late...
<cristian_c>
lol
cristian_c has quit [Quit: Sto andando via]
hramrach_ has joined #linux-rockchip
lioka_ is now known as lioka
lioka has joined #linux-rockchip
lioka has quit [Changing host]
akaizen has joined #linux-rockchip
akaizen_ has quit [Read error: Connection reset by peer]
akaizen has quit [Ping timeout: 265 seconds]
dlezcano has quit [Ping timeout: 250 seconds]
dlezcano has joined #linux-rockchip
FreezingCold has quit [Ping timeout: 245 seconds]
FreezingCold has joined #linux-rockchip
ole_ has quit [Ping timeout: 255 seconds]
ole_ has joined #linux-rockchip
ole_ has quit [Ping timeout: 255 seconds]
akaizen has joined #linux-rockchip
dlezcano has quit [Ping timeout: 240 seconds]
dlezcano has joined #linux-rockchip
dlezcano has quit [Ping timeout: 272 seconds]
dlezcano has joined #linux-rockchip
dlezcano has quit [Ping timeout: 260 seconds]
JochenKauz has joined #linux-rockchip
JochenKauz has left #linux-rockchip [#linux-rockchip]
JochenKauz has joined #linux-rockchip
bengal has quit [Quit: Leaving]
naobsd has quit [Quit: Page closed]
JochenKauz has quit [Quit: Leaving.]
arokux2 has quit [Remote host closed the connection]