GTRsdk has quit [Remote host closed the connection]
GTRsdk has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
GTRsdk has quit [Remote host closed the connection]
GTRsdk has joined #linux-rockchip
naobsd has joined #linux-rockchip
<bashintosh>
naobsd: hi, from the boot log at this page http://androtab.info/radxa_rock/linux/ I read the line "dwc2 10180000.dwc2: Mode Mismatch Interrupt: currently in Device mode" - was that ever cause of issues for you or would you know what the driver is complaining about?
<bashintosh>
This is something that I am seeing as well, however I am using the DWC2 in staging (kernel 3.10) for testing but unfortunately there seems to be something broken with interrupts which I am tracking down.
<rperier>
hi all
<naobsd>
bashintosh: that log is very very old mainline (very early stage for rockchip), nothing might be useful for now. and that's mainline, not Rockchip 3.10 kernel, different thing.
nighty^ has joined #linux-rockchip
markm has joined #linux-rockchip
apritzel has joined #linux-rockchip
wildea01 has joined #linux-rockchip
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
<apritzel>
Hi, has anyone tried Simon's rk3288 u-boot tree?
<apritzel>
The SPL it generates here is too big
<apritzel>
I tried gcc 4.9.3 and 5.1.0
<sjoerd>
apritzel: known issue
<sjoerd>
apritzel: someone remarked that on the u-boot list as well, Simon did mention h'es got an older hacked up toolchain
<apritzel>
sjoerd: indeed, just found the posting ;-)
<apritzel>
sjoerd: thanks anyway!
_whitelogger___ has joined #linux-rockchip
GekkePrutser has quit [Ping timeout: 240 seconds]
_whitelogger__ has quit [Ping timeout: 240 seconds]
dianders has quit [Ping timeout: 240 seconds]
srao has quit [Ping timeout: 240 seconds]
architekt has quit [Ping timeout: 240 seconds]
srao_ is now known as srao
dianders_ is now known as dianders
markm has quit [Ping timeout: 260 seconds]
markm has joined #linux-rockchip
architekt has joined #linux-rockchip
_whitelogger___ has joined #linux-rockchip
markm has quit [Ping timeout: 255 seconds]
markm has joined #linux-rockchip
premoboss has quit [Ping timeout: 240 seconds]
premoboss has joined #linux-rockchip
premoboss has quit [Ping timeout: 272 seconds]
premoboss has joined #linux-rockchip
premoboss has quit [Client Quit]
premoboss has joined #linux-rockchip
cristian_c has joined #linux-rockchip
premoboss has quit [Ping timeout: 240 seconds]
GriefNorth has joined #linux-rockchip
premoboss has joined #linux-rockchip
GekkePrutser_ has joined #linux-rockchip
GekkePrutser_ is now known as GekkePrutser
GriefNorth has quit [Quit: Konversation terminated!]
sunilmohan_w has quit [Ping timeout: 244 seconds]
<apritzel>
fwiw: sjoerd: for the time being I disabled LED support from the SPL in Simon's RK3288 tree and now the SPL fits and boots ...
sunilmohan_w has joined #linux-rockchip
<sjoerd>
cool
<cristian_c>
hello
<cristian_c>
if I type: modprobe i2c-dev, I get: fatal module not found
<cristian_c>
how can I load this module?
<cristian_c>
Any ideas?
<apritzel>
cristian_c: do you have I2C_CHARDEV configured in your kernel?
<apritzel>
zgrep I2C_CHARDEV /proc/config.gz
<sjoerd>
This reminds me why is there no rockchip_defconfig in the upstream kernel
<cristian_c>
apritzel: oh, thanks for the answer!
<cristian_c>
and for its content
<apritzel>
sjoerd: are you volunteering? ;-)
<cristian_c>
ok, I've openede .config now
<cristian_c>
opened
<apritzel>
cristian_c: what does it say, "y", "m" or " .. is not set"?
<sjoerd>
apritzel: adding one is pretty trivial :)
<cristian_c>
I'm checking
<cristian_c>
# CONFIG_I2C_CHARDEV is not set
<cristian_c>
bingo!
<cristian_c>
apritzel: thank you very much! Googling has given me no results about it :)
<apritzel>
cristian_c: do you know how to enable it?
<apritzel>
cristian_c: ideally you set it, do "make modules" and just copy the i2c_chardev.ko file over
<cristian_c>
apritzel: I know I've to rebuilt the kernel, but no problem :)
<cristian_c>
ah
<cristian_c>
apritzel: in past I've tried to build single modules, but arm compiler fails :(
<cristian_c>
apritzel: anyway I thank you because you have said the right config option to enable i2c-dev module :)
<cristian_c>
apritzel: I've found another strange modprobe behaviour
<cristian_c>
If I type: modprobe mtd, modprobe mtdchar or modprobe mtdblock, I get no errors
<cristian_c>
but If I type modinfo mtd, modinfo mtdchar or modinfo mtdblock output says these modules don't exist
<cristian_c>
this is very very very strange!
<cristian_c>
I don't know if these modules are really loaded
<apritzel>
cristian_c: after modprobe, type: dmesg | tail to see if mtd says something or if there is an error message from loading the module
<apritzel>
cristian_c: for modinfo: try strace modinfo mtd and work your way through the message to see where it is looking for the modules
<cristian_c>
apritzel: no new messages in dmesg
<cristian_c>
after typing modprobe mtd, mdchar or mtdblock
<cristian_c>
instead, the exact output of modinfo: 'ERROR: Module mtd not found'
<cristian_c>
apritzel: ok, I try strace
<apritzel>
cristian_c: that's UNIX: if it doesn't say anything, that's fine ;-)
<apritzel>
"modprobe mtd" and "modprobe mtdblock" are silent here as well
<apritzel>
try "lsmod"
<cristian_c>
apritzel: in /dev directory I see only loop0, loop1 ...... , loop7
<cristian_c>
and in /dev/block I see only 7:1, 7:2 ....... , 7:7
<cristian_c>
apritzel: lsmod returns only joydev and wlan modules
<cristian_c>
other modules are builtin in the kernel
<cristian_c>
mmmhhh, I've to install strace
<apritzel>
cristian_c: maybe mtd_block is built in already? MTD_BLOCK is the config symbol to look for
<cristian_c>
apritzel: I've installed a prebuilt kernel, but I would have found the original .config file
<apritzel>
cristian_c: see? all compiled in, so no need to modprobe them
<apritzel>
so modinfo cannot find them, because the .ko files are not there (because they haven't been even built)
<cristian_c>
ok
<cristian_c>
apritzel: anyway, I dob't see mtd partitions in /dev or /dev/block
<cristian_c>
*don't
<apritzel>
cristian_c: haven't used MTD before, but you need more info (e.g. partitions on the kernel command line) for MTD to work
<apritzel>
cristian_c: I am afraid you are back to google for that one ...
<mmind00>
sjoerd: I think you're supposed to use multi_v7_defconfig as start and having these numerous per-soc defconfigs is more a legacy-thing
<cristian_c>
apritzel: yeah, I've found kernel command line in .config file
<cristian_c>
and in dmesg
<sjoerd>
mmind00: I must admit i didn't try whether multi_v7 works
<sjoerd>
mmind00: and yeah the per-soc configs are a bit legacy but still heavily used with other socs
<cristian_c>
apritzel: that line contains refeences to some partitions
<mmind00>
sjoerd: that is true and I also collect some in my dev-branch for specific devices ... there are different build-and-boot-farms around and they also boot rockchip boards using multi_v7, so it seems to work at least
<cristian_c>
with mtdparts parameter
<cristian_c>
10 partitions are listed in mtdparts parameter
<sjoerd>
mmind00: fair enough :)
<mmind00>
sjoerd: and for specific devices you would probably still need a special-per-device defconfig
<cristian_c>
apritzel: I also tried strace with modinfo. So, does modinfo work only with modules contaned in /lib/modules?
<apritzel>
cristian_c: that's what the manpage says, yes
<sjoerd>
mmind00: well in principle multiv7 should run on everything rather then a specal-per-device config :)
<cristian_c>
apritzel: ok
<sjoerd>
mmind00: I'm totally fine with the stanze that multiv7 is the one to use for rockchip development/work
<mmind00>
sjoerd: :-)
<apritzel>
sjoerd: if there is something missing for Rockchip, then it should be added in arch/arm/mach-rockchip/Kconfig
<cristian_c>
apritzel: unfortunately, I've found very poor documentation about nand mtd partitions
<apritzel>
sjoerd: (as a "select ...")
<sjoerd>
it's just different then what i'm used to on other socs that's all
<sjoerd>
but probably better
<apritzel>
sjoerd: it's the future! ;-)
<apritzel>
sjoerd: one kernel to rule them all
<tlwoerner>
rperier: have you had a chance to consider my merge request?
markm has quit [Ping timeout: 260 seconds]
topi` has joined #linux-rockchip
<topi`>
I can't flash my RK3288 with either windows or the linux tools, maybe this is because my laptop has only USB3.0 ports?
<topi`>
getting a bit desperate here...
apritzel has quit [Ping timeout: 264 seconds]
<mmind00>
topi`: I think I had a similar issue at some point (flashtools not working on usb3) ... never solved it, but used a different machine instead
<topi`>
damn
<topi`>
only other PC I can use is a Macbook Air , it has usb2.0 ports
<topi`>
there's also an old iMac G5, but since it's a powerpc one, probably won't do :D
<topi`>
mmind00: which RK boards/chips do you have?
<mmind00>
topi`: to many ;-)
<mmind00>
mmind00: haven't tested this extensively though
<topi`>
I have a Radxa Rock2
<topi`>
so it's RK3288
<topi`>
I mainly got it for the nice interfaces (especially SATA)
<topi`>
the quality of Radxa HW is pretty decent, unlike other chinese vendors
<topi`>
Wait for loader start
<topi`>
Wait for Loader Fail
<topi`>
the same thing, I wonder what's going on
<topi`>
should I press some buttons on the board while it's doing the Reset Device and Wait for Loader Start states?
<topi`>
wow, I tried once more and now its downloading!
<topi`>
speed is very slow, about 1 megabyte per sec
<topi`>
duh, it got stuck at 40 MB :(
wildea01 has quit [Quit: leaving]
<topi`>
Check Image Total, is this writing the img or caching it in RAM?
<topi`>
"Upgrade firmware ok"
markm has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Client Quit]
GriefNorth has joined #linux-rockchip
cristian_c has quit [Quit: Bye]
cristian_c has joined #linux-rockchip
<rperier>
tlwoerner: sorry I did not receive any mails for this pull request :/
<rperier>
tlwoerner: reviewed
cristian_c has quit [Quit: Bye]
robogoat has quit [Ping timeout: 264 seconds]
robogoat has joined #linux-rockchip
lerc has quit [Read error: Connection reset by peer]
GriefNorth has quit [Ping timeout: 246 seconds]
premoboss has quit [Quit: Sto andando via]
markm has quit [Ping timeout: 244 seconds]
nighty^ has quit [Quit: Disappears in a puff of smoke]