ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
kapouer has quit [Ping timeout: 272 seconds]
nighty^ has quit [Quit: Disappears in a puff of smoke]
premoboss has joined #linux-rockchip
nighty^ has joined #linux-rockchip
Ueno_Otoko has joined #linux-rockchip
<enkoder> can someone explain to me what the "ID Block" is? Any documentation on the structure of it?
cnxsoft has joined #linux-rockchip
<hipboi_> enkoder, Identify block
<hipboi_> enkoder, a block to store the information about the first part of bootloader
hipboi_ has quit [Quit: Leaving]
<enkoder> hipboi_: thanks. This is probably information that is under rockchips NDA, but do you have any other information? Like memory storage, structure of the binary, any tools to build, etc?
hipboi has joined #linux-rockchip
afaerber has quit [Ping timeout: 250 seconds]
afaerber has joined #linux-rockchip
bbelos has quit [Ping timeout: 276 seconds]
naobsd has joined #linux-rockchip
cyteen has quit [Ping timeout: 245 seconds]
Ueno_Otoko has quit [Ping timeout: 256 seconds]
Ueno_Otoko has joined #linux-rockchip
pozzoni has quit [Ping timeout: 250 seconds]
pozzoni has joined #linux-rockchip
hipboi has quit [Ping timeout: 240 seconds]
<premoboss> enkoder, there are too much NDA informatio with these soc. make it difficult do have a good software support.
hipboi has joined #linux-rockchip
<sjoerd> enkoder: It's just a block on the storage
<sjoerd> if you're using a 3288 board with emmc you luckily don't really have to care about it anymore
gb_master has joined #linux-rockchip
kapouer has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 256 seconds]
<naobsd> we know rc4 key, data layout, no problem
<naobsd> only OOB data on NAND are not yet supported
<naobsd> OOB data for writing
<naobsd> I'm not sure it's really required... at least it's not required for eMMC
<naobsd> loader knows OOB handling, so there is no reason to supply it from PC
wadim_ has joined #linux-rockchip
Ueno_Otoko has joined #linux-rockchip
miqi has joined #linux-rockchip
<rperier> hi, do you know if the ethernet framework proposes a way to get a mac address from an eeprom device ? (an eeprom over i2c). I am talking about device drivers interfacing and dependencies handling here, I can of course write an i2c driver to read my eeprom but I don't know how to give this information to the ethernet driver :/
<rperier> that's just to know if some of you already did something like that, otherwise I will search on internet
<miqi> Have anyone tried hdmi audio on rk3288 with 4.4+ kernel ?
<miqi> rperier: why not just put the mac address on emmc or nandflash? e.g. misc partition :D
<mmind00> rperier: I think generally that gets to be uboot's task to read the mac from somewhere and put it into the devicetree it sends to the kernel?
<sjoerd> If it comes form the machine not the network card uboot reads it indeed
<sjoerd> rperier: in u-boot just call eth_setenv_enetaddr("ethaddr", <your ethernet accress>) and it'll get manged into the dts (assuming the dts is properly setup)
<rperier> miqi: because usually, when you buy a mac address you buy a memory with the address flashed into this memory. Here that's an eeprom
<rperier> well, we have a memory for that, I think you can also buy one without a memory... anyway...
<rperier> mmind00,sjoerd: you mean that uboot is able to change the kernel devicetree on the fly ? mhhh... the devicetree is not in NOR yet, I download everything via the network... I will think about it...
<sjoerd> yes
<sjoerd> rperier: u-boot loads the dtb into memory, adjusts it (also sets e.g. the amount of memory) before it boots the kernel
<rperier> that's not very clean... that's the really the bootloader's job... :/
<rperier> I mean, it's weird
<sjoerd> the bootloader is also where you can configure it, e.g. by saving a custom one in its environment
<rperier> well... I agree
naobsd has quit [Remote host closed the connection]
Ueno_Otoko has quit [Ping timeout: 255 seconds]
miqi has quit [Quit: 离开]
Ueno_Otoko has joined #linux-rockchip
Astralix has joined #linux-rockchip
cyteen has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 272 seconds]
kapouer has quit [Quit: kapouer]
Ueno_Otoko has joined #linux-rockchip
kapouer has joined #linux-rockchip
afaerber has quit [Quit: Ex-Chat]
cyteen has quit [Ping timeout: 264 seconds]
wadim_ has quit [Remote host closed the connection]
dlezcano has quit [Remote host closed the connection]
cnxsoft has quit [Remote host closed the connection]
dlezcano has joined #linux-rockchip
afaerber has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 256 seconds]
<sjoerd> mmind00: hrm, looks like the debian kernel added the IO domain driver as a module.. wonder if that's a sensible thing to do
<sjoerd> (which i guess makes me wonder if it should be a tristate in the first place)
<mmind00> sjoerd: interesting constellation ... io-domains will defer until the pmic is probed, but nobody is hindering the mmc to drop the card-voltage without the soc getting notified
<mmind00> both pmic + dw_mmc can be built in or be modules (other users probably as well), so nothing is speaking against io-domains being a module in general
<sjoerd> This is true
<sjoerd> otoh there are some probing order issues here for sure
<sjoerd> if the mmc/sdio slots get probed before the io-domain is setup then fun will happen
<sjoerd> (unless the defaults are correct)
gb_master has quit [Remote host closed the connection]
naobsd has joined #linux-rockchip
gb_master has joined #linux-rockchip
<mmind00> sjoerd: yep, although the fun is pretty safe ... i.e. 3.3V is of course the default, so it just won't tune instead of frying stuff ;-)
<sjoerd> mmind00: No, but i bet it's the reason i had all those issues with getting the wirelss card recogniseed
<sjoerd> It won't fry the board, but things don't work as expected necessarily either
<sjoerd> (the wireless cards is at 1.8v
<mmind00> sjoerd: yep ... I guess one could make the dw_mmc-rockchip look for the io-domain presence in some way
<Astralix> hey guys. I ever wondered about how the kernel decides about the correct sequence of starting internal / external modules. However here it always worked so I never did a deeper inspection…
<Astralix> But I thought that if you put a pin definition setting into the FDT and add a reference to it in a device section on the FDT too, it should fire up the GPIO driver
<Astralix> However that must fail at a point where you load the rootfs from a device that needs to have GPIOs tuned but it needs to load gpio module from that rootfs... So I never ever would put the gpio module outside of the kernel itself...
Astralix has quit [Remote host closed the connection]
<enkoder> sjoerd: what do you mean by this "if you're using a 3288 board with emmc you luckily don't really have to care about it anymore"
<enkoder> Whats special about a 3288 device? I have a radxa rock2 which is rk3288 based
irsol has quit [Ping timeout: 250 seconds]
<mmind00> enkoder: (1) way better mainline kernel-support, (2) mainline uboot support, (3) resulting in: you can just remove the Rockchip partition scheme and use a regular partition table
<mmind00> enkoder: and (3) is limited to emmc devices ... won't work with nand
irsol has joined #linux-rockchip
jas-hacks has joined #linux-rockchip
<enkoder> mmind00: noice! I like all of those things.
afaerber has quit [Quit: Ex-Chat]
afaerber has joined #linux-rockchip
<enkoder> mmind00: How do you get mainline u-boot on an rk3288 device (firefly or radxa rock2)? rkflashtool? upgrade_tool?
<enkoder> The lack of informatiopn regarding the mask rom mode and their loader is making things difficult for me,
<sjoerd> mmind00: makes me wonder if iodomainsshouldn't be more low power domains
* sjoerd wonders how it's implemented on other soc's
afaerber has quit [Quit: Ex-Chat]
<mmind00> sjoerd: I guess other socs maybe just can detect the voltage they get supplied with?
<mmind00> sjoerd: the rockchip io-domain function is really only to tell the soc if it gets supplied with 3.3V or 1.8V on a given input at that moment
gb_master has quit [Remote host closed the connection]
jas-hacks has quit [Remote host closed the connection]
premoboss has quit [Remote host closed the connection]
patrik has joined #linux-rockchip
<patrik> Hey!
<patrik> someone there?
patrik has quit [Quit: Page closed]
<sjoerd> mmind00: hmm
premoboss has joined #linux-rockchip
gb_master has joined #linux-rockchip
naobsd has quit [Quit: naobsd]