IRC log for #neo900 on 20160618

00:12.01DocScrutinizer05btw this "effect" of somewhat relaxing design constraints due to the RE&libre-fremantle situation improving over time has already been anticipated from beginning, and it's considered to be of no relevance to the hw design
00:44.35DocScrutinizer05or rather we rely on it for the modem stuff, incl audio, since these are design details where we impossibly can stay 100% compatible. For the rest the evaluation resulted in us probably being able to keep compatibility on a hw level (sth that changed now for the wl1837 but this should be manageable on sw level)
00:52.55*** join/#neo900 jefrite (~j@c-73-224-87-206.hsd1.fl.comcast.net)
01:11.30Wizzup_wpwrak: strongly agree regarding kernel
01:13.34DocScrutinizer05Wizzup_: however that's unrelated to how we build Neo900
01:14.55DocScrutinizer05there's one simple rule: stay compatible to N900 as much as possible
01:15.13Wizzup_That's odd considering you ship a BSP and not freemantle
01:15.35Wizzup_And since it seems quite doable to run even fremantle now with mainline kernel, why would you go for some vendor specific vulnerable buggy kernel
01:15.35DocScrutinizer05that's not odd, that's the Neo900 fioundation consideration
01:16.57DocScrutinizer05I don't go for *any* kernel. As mention ed several times now, we are not interested in kernel or any other software at Neo900 UG. We build hardware and the design rules are derived from above simple guideline: stay as much compatible to N900 as possible
01:18.30DocScrutinizer05let me ask the counter-question: why should we change *now* any of the Neo900 design originally made to be compatible to N900
01:19.55Wizzup_Aiming for a more featureful and useful kernel with arguably less security bugs as supported kernel (which is one of the reasons all the mainlining work is done) is not changing any original design
01:19.57DocScrutinizer05note please that mainline kernel won't be blocked or hindered in *any* way by Neo900 compatibility to N900
01:20.08Wizzup_It just seems odd to not make that kernel a main goal/focus
01:20.18DocScrutinizer05and agian, we are NOT aiming at any kernel, we build hardware
01:20.40DocScrutinizer05I don't care about kernel
01:21.15DocScrutinizer05Neo900 is _defined_ as the N900 successor that ideally is capable to run unmodified maemo fremantle
01:21.59DocScrutinizer05this does _not_ block or hinder _any_ of the leete new stuff you suggest we "should focus on" (which is actually completely out of scope for the hw development)
01:23.27*** join/#neo900 Defiant (erik@x4e3675aa.dyn.telefonica.de)
01:24.56DocScrutinizer05evaluating which details of N900 "API" to the hardware we possibly _might_ change when in a pinch, since it's possible to fix that incompatibility with a patch to fremantle (kernel or userland) doesn't mean we should deliberately introduce such incompatibilities on hw level without any sound reason
01:26.13DocScrutinizer05there's not even a benefit for mainline kernels when we e.g. change GPIO_98 signal to an arbitrary other GPIO pin
01:26.36DocScrutinizer05or even to a IO-extender
01:27.23DocScrutinizer05as long as we can stay with the original N900 design, we should do that, no?
01:28.00DocScrutinizer05evidently fremantle can run now on that design even with mainline kernel, so why would we want to change that?
01:29.42DocScrutinizer05and when the DM3730 SoC partially isn't compatible to OMAP3430, that's still not anything we could cure by rearranging GPIO assignments
01:30.35DocScrutinizer05I really fail to understand the rationale behind all that noise
01:34.51DocScrutinizer05maybe it's a tad hard to understand what's going on without knowing what is the topic behind the scenes: assigning signals to GPIO-extenders. This is a hardware thing that only marginally is related to kernel. It however is basically identical with the design rule to keep maximum N900 compatibility. So yes, I agree it's highly desirable to have a working mainline kernel (as already stated several times. And who would disagree on that?)
01:34.52DocScrutinizer05but that's not in any way relevant for the GPIO assignments done on a hw level
01:35.02Wizzup_If you think the mainline kernel is fine, then I also don't see why noise needs to be made about tha
01:35.05Wizzup_t
01:35.12DocScrutinizer05exactly
01:36.28DocScrutinizer05the reasonable approach is to try keep the original N900 design and evaluate whether we might change some GPIO *only* when we run into a situation where we actually would *need* to do that
01:37.19DocScrutinizer05this is only related to any software considerations when we actually need to do such reassignment. But so far there is no need for that
01:38.17*** join/#neo900 mad_dev (~yourname@2.88.54.162)
01:39.10DocScrutinizer05and in ourt closed channel I already tagged ~50% of the GPIO signals as "candidate for emergency reassignment" so we have a lot of choice already for signels to tackle to help us out of any pinch
01:39.42DocScrutinizer05it makes no sense to evaluate the remaining 50% _now_
01:47.10*** join/#neo900 xman (~xman@user-0cdft6f.cable.mindspring.com)
01:47.30DocScrutinizer05in simple words: maemo stock kernel works on N900, mainline kernel works on N900. Neo900 will try to copy that as much as possible, so far no problems with that approach.
01:54.43DocScrutinizer05I really don't get the rationale behind >>no need to try to design hardware around a problem that's trivial to fix in software<< when the hw already IS compatible and no problem detected
01:56.13DocScrutinizer05it's rather we should not create problems in hw just because we found we can work around them in sw
01:56.47DocScrutinizer05there is no sound rationale for doing so
01:59.28DocScrutinizer05as if there weren't enough real problems we already need to tackle in sw since we can't avoid them by simply keeping what we got, on a hw level#
02:00.07DocScrutinizer05why to add to that workload just "because we can"?
02:45.08wpwrakbut the hardware is not compatible with N900 in that way. to cover a significant part of the device's functionality, you inevitably need to change the kernel, even if you choose to start from an old kernel.
02:46.30*** join/#neo900 enyc (~enyc@muddle.enyc.org.uk)
02:49.54wpwrakand the reasons why i'm pushing towards not restricting GPIO assignment without need are that 1) anything on LOWER + BOB that can go to an IO expander won't need space on the connector, and 2) if we can assign more CPU GPIOs to UPPER, we can almost certainly avoid having yet another IO extender on UPPER (connecting to the CPU is cheap up there)
02:51.55wpwrakbut i'm now actually more worried about the expectation that a N900 kernel would be able to do anything useful on Neo900. i mean, you could probably get it to start, talk to the display and such, maybe use a serial console, but that's already all it will do. it won't know where our keyboard is. it won't be able to talk to the modem, it won't know about WLAN and BT. and so on.
02:54.03wpwrakso in any case, you need a kernel that's configured for the board. and assigning GPIOs is just part of the configuration.
02:57.00wpwrakand i think what freemangordon tried to say regarding manpower is that nobody cares about dragging an obsolete kernel to new hardware. especially not after all the work of getting all the RX51 stuff into the current mainline kernel. so a modern kernel is a far better starting point than an old kernel.
03:10.35DocScrutinizer05the kbd issue is known. everything else is no problem since we handled identical stuff for other peripherals that need a kernel module. That's what KP is all about, and I don't buy the "we are starting to redesign the Neo900 now, just to prematurely optimize on GPIO while we don't even know if we run into any problems"
03:11.40DocScrutinizer05that's absolutely needless complication of both hw and sw development
03:14.26DocScrutinizer05and regarding kbd, I still wail to grok the deeper rationale why Nik insisted in an additional chip instead of exploiting the existing kbd scanner in twl4030
03:14.34DocScrutinizer05fail to see*
03:16.08DocScrutinizer05btw building and adding kernel modules doesn't count as "change the kernel" for me
03:25.00DocScrutinizer05we had all GPIO on SoC in N900, and our SoC has the pretty much same pin count, also for available GPIO. Any new signals may go to IO-extenders anyway. So I don't see how we possibly could get short on GPIO, unless some of them need to make space for a bus or whatever that we use on Neo900 but wasn't used in N900. In that case those GPIO could get reassigned to an IO-extender as well as to another primary GPIO (unless they are fast). So
03:25.01DocScrutinizer05the whole issue why we would want to mess with GPIO boils down to "reduce pincount on B2B conn between UPPER and LOWER, at the expense of adding IO-extender chips" - not a sound argument for doing such thing
03:29.01DocScrutinizer05we have a maybe 2 or 3 additional signals like ADCIN that were not used at all in N900, but those are no subject to GPIO-extending anyway. And we have a 120 lines on the B2B. Please let's just see how far that gets us, before we start messing with GPIO reassignment
03:29.06wpwrakwe use two more USB interfaces, WLAN is SDIO instead of SPI, and so on. so yes, there are fewer pins available.
03:30.42DocScrutinizer05we have one more USB and one less McBSP
03:31.15DocScrutinizer05wild guessing doesn't get us anywhere here, as doesn't premature optimization
03:33.34DocScrutinizer05if the pinmux yields conflicts already, I'd love to hear about them
03:38.09DocScrutinizer05and worst case the B2B conns are not 'pinned' by any requirement either
03:39.03DocScrutinizer05so why would we want to reduce pincount there when that increases complexity of the design and doesn't even save us PCB real estate?
03:39.24DocScrutinizer05I'r ratgher tend to increase their pincount if needed
03:39.51wpwrakpinmux doesn't yield conflicts yet because we haven't assigned GPIOs yet :) but the number of unused pins is smaller than the number of GPIOs we need.
03:41.46DocScrutinizer05did that evaluation already take into account that we will use IO-extenders for all the new stuff?
03:42.24*** join/#neo900 paulk-nyan-big (~paulk@noisebridge130.static.monkeybrains.net)
03:42.44DocScrutinizer05where "new" includes complete modem, freeing up GPIO formerly used by BB5 modem?
03:42.52wpwrakno, that was before IO extenders.
03:43.18wpwrakand you're one USB short: we have 1) OTG, 2) modem, and 3) HB.
03:43.42DocScrutinizer05yes, and modem will get compensated by McBSP
03:44.33DocScrutinizer05IOW we use a formerly not used USB function and free up a formerly used McBSP bus
03:45.47DocScrutinizer05we added HB USB after you said it's available
03:46.06wpwrakdepend on how you count. ULPI is 12 signals, SSI is 8. and the formerly not used USB still removes twelve GPIOs
03:46.22wpwrakyes, the USB function block is available
03:47.06DocScrutinizer05it also needs to be available on balls
03:47.17wpwraksure
03:47.34wpwrakthat's what pinmux ensures
03:47.52DocScrutinizer05when we can't afford those 12 pins for ULPI, we will discard it
03:49.09DocScrutinizer05pinmux lacks the GPIO heritage from N900 aiui
03:49.45wpwrakfinding the blob compatibility requirements is the purpose of this discussion ;-)
03:50.16wpwrakand as it turns out, there are none. so this is actually a very good result.
03:50.41DocScrutinizer05so please check if any of the USB ULPI pins needed by HB are already allocated to a N900 GPIO. If that's the case, we will look into those signals and see if they can get rearranged to IO-extenders
03:52.21DocScrutinizer05after all _that_ is the purpose of pinmux tool
03:53.31wpwrakit won't help much there because it doesn't know the n900 pins
03:53.53DocScrutinizer05since Neo900 schem doesn't have CPU/SoC yet, the pinmux should get based on N900 schematics
03:54.34DocScrutinizer05since that is what we try to implement, unless comletely unfeasible
03:55.03DocScrutinizer05pinmux is meant to tell us about any problems in implementing that
03:55.46wpwrakpinmux tells us about conflicts when using function blocks or at the level of individual pins (i.e., if using gpio and function of the same pin)
04:00.29*** join/#neo900 DocScrutinizer05 (~saturn@openmoko/engineers/joerg)
04:00.29*** mode/#neo900 [+v DocScrutinizer05] by ChanServ
04:02.10DocScrutinizer05yes, exactly. Going through the N900 schematics ^F-searching for "GPIO_" will conveniently provide the pins already assigned to GPIO function. As soon as anything (e.g. HB ULPI) conflicts, we'll notice immediately
04:03.38DocScrutinizer05then we can decide if that's something to invest a few minutes pondering to move the GPIO function to somewhere else, or if we can't do that and need to drop or move the (e.g.) ULPI interface
04:04.33DocScrutinizer05usually I assume GPIO could move, since (as you elaborated) we basically have full control over all of them
04:05.12DocScrutinizer05but unless we run into such conflict, we generally should keep the legacy GPIO design and assignment
04:05.54DocScrutinizer05since failing to do so causes additional workload and cost on both EE and kernel dev department
04:17.56wpwraknaw, what helps with the EE workload is to decrease the number of requirements a little :) e.g., fewer things that need to go from UPPER-LOWER -> easier to find a suitable connector
04:19.04wpwrakbut let's see what all the conflicts are ...
04:24.53wpwrakfirst try: https://neo900.org/stuff/paste/ox9ziz4A
04:31.57DocScrutinizer05((what helps with the EE workload is to decrease the number of requirements a little)) a misconception, since those things already are done and no need to redo them again just because we invested more "useless" work elsewhere to make them easier than they been when we already accomplished them
04:32.44DocScrutinizer05I.E. we already *have* 120 pins B2B. we should use them and see how far that gets us, instead of trying to 'simplify' stuff here
04:36.59wpwrakwhere 120 so far is just a wild guess of how much we'll need. so until we have at least a tentative assignment, this fits only a very special definition of "done" ;-)
04:37.22DocScrutinizer05((first try)) the "...is already in use by LCD:mcspi3_*" sound pretty strange, since we didn't assign anything LCD to any new interface
04:37.36wpwrakanyway, see above for the list of conflicts between N900 GPIOs and Neo900 function blocks
04:39.10wpwrakLCD had to move from SPI#1 to SPI#3, due to a conflict
04:39.23wpwraki think it was some MMC that pushed it there
04:39.32DocScrutinizer05so whe have conflicts on HB.USB:hsusb2*, and Modem.UART*, and
04:39.33wpwrakwell, that pushed it away
04:41.59DocScrutinizer05HB.USB conflicts are nasty
04:43.22DocScrutinizer05ECI, HEADPH_IND, ACCEL_INT1|2, the first 2 are trouble
04:43.41DocScrutinizer05I guess fixing ACCEL_INT should be easy
04:44.31DocScrutinizer05for fixing the fist 2 (audio related) we again need to look into the notorious nokia_av.ko and rx51.ko
04:44.40DocScrutinizer05first*
04:45.29DocScrutinizer05BTRSTX should also be fixable
04:45.55DocScrutinizer05when I say "fixable" I mean on sw level
04:46.35DocScrutinizer05ACCEL_INT is prolly MCE related
04:46.37wpwrakarch/arm/mach-omap2/board-rx51-audio.c:#define RX51_HEADPHONE_GPIO      177
04:46.47DocScrutinizer05excelent
04:48.30DocScrutinizer05now _this_ is something worth documenting
04:49.07wpwrakand i guess that's further cleaned up in the 4.7 kernel (?)
04:49.44wpwrak(documenting) it's not all that hard to find ;-) ~/jacekowski.org> gg 177 | grep -i gpio
04:52.50DocScrutinizer05well, we probbaly should refer to Pali's Kernel-Power sources, instead of jacekowski
04:54.07DocScrutinizer05the 4.7 kernel has a completely different implementation for nokia_av and prolly no board-rx51-audio.c at all
04:54.36wpwrakarch/arm/boot/dts/omap3-n900.dts:               jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
04:54.45DocScrutinizer05so as far as I'm concerned, this has lower relevance for me than the powerkernel stuff
04:55.32DocScrutinizer05it's completely unclear if mainline kernel actually provides a working audio implementation for N900
04:55.37wpwrakalso appears at a bunch of other places. e.g., Documentation/devicetree/bindings/sound/nokia,rx51.txt, arch/arm/mach-omap2/board-rx51-peripherals.c, and arch/arm/mach-omap2/pdata-quirks.c
04:55.59wpwrak(that's for https://github.com/pali/linux-n900)
04:56.10DocScrutinizer05yep, that sounds a good source
04:57.06DocScrutinizer05so yes, this are exactly the kernel tweaks we will need
04:57.09wpwrakthis is a 4.6 kernel. not sure how it relates to that powerkernel
04:57.27DocScrutinizer05hmm ~kp
04:57.30DocScrutinizer05~kp
04:57.31infoboti heard kp is http://talk.maemo.org/showthread.php?t=94287
04:58.12DocScrutinizer05actually http://talk.maemo.org/showthread.php?t=78371
04:58.32DocScrutinizer05https://garage.maemo.org/projects/kernel-power/
04:59.31wpwrakthat's 2.6. prehistoric ;-)
04:59.43DocScrutinizer05https://garage.maemo.org/scm/?group_id=1528 it is what we got on fremantle
04:59.54DocScrutinizer05it already received a lot of backports
05:00.25DocScrutinizer05and it's the kernel (incl all APIs) that fremantle depends on
05:01.17DocScrutinizer05when the idea is to run unmodified fremantle on Neo900, this is the kernel we want to patch and build for our hw platform
05:02.19DocScrutinizer05anybody interested in
05:02.22DocScrutinizer05~fptf
05:02.22infobotsomebody said fptf was the Fremantle Porting Task Force, see http://talk.maemo.org/showthread.php?t=91308
05:02.47DocScrutinizer05is free to join that effort and contribute to patching fremantle so it runs on 4.6 kernel
05:03.48DocScrutinizer05but that's considered step #2 of the Neo900+maemo project, step #1 being to make a plain 2.6 kernel with unaltered fremantle work on the device
05:04.29DocScrutinizer05I don't think those 2 steps are any mutually exclusive
05:07.21DocScrutinizer05http://talk.maemo.org/showthread.php?p=1101604
05:07.26wpwrakdoes that 2.6 kernel even have a wl18xx driver ?
05:08.46wpwrakalas, it doesn't seem to have a repo either. what i see there is a huge patch stack. (for quilt)
05:08.59DocScrutinizer05of course not, you need to build one
05:09.17DocScrutinizer05s/you/we|users|whoever/
05:09.20wpwraki mean: does a wl18xx driver exist for 2.6 ?
05:09.56DocScrutinizer05I guess the sources TI provides are buildable FOR THAT KERNEL TOO
05:10.04DocScrutinizer05oops capslock
05:11.11DocScrutinizer05and if not, backproting shouldn't be witchcraft, since... well it's source
05:11.38DocScrutinizer05there's a firmware afaik, which is not entangled with kernel version
05:11.54DocScrutinizer05plus a FOSS kernel driver
05:12.35DocScrutinizer05https://git.ti.com/wilink8-wlan
05:15.50DocScrutinizer05nobody said we'll get fremantle compatibility for free, but I estimate the effort to get powerkernel to work and possibly backport a few drivers much lower than the effort to port all the closed blobs in fremantle to new kernel api as in e.g. 4.6
05:16.45DocScrutinizer05and the effort will be the lower, the less GPIO reassignments and similar stuff we introduce, that need handling in kernel
05:17.08DocScrutinizer05makes some sense now?
05:18.02wpwrakkernel-user space APIs tend to be fairly stable. internal APIs change all the time. so backports are usually no fun, especially not over large distances
05:19.01DocScrutinizer05yes I know
05:19.02wpwrakbut i guess this is a question best answered by freemangordon and/or Pali
05:19.20DocScrutinizer05alas even the kernel-user API changed massively
05:19.36wpwrakafter all, they should know what they got to work and what not ;-)
05:20.07DocScrutinizer05yep, of course. I'm only suggesting here, I'm only the EE that builds the hw
05:23.27DocScrutinizer05for the wl18xx backport we have a huge advantage: both wl12xx 2.6 kernel driver, and wl12xx and wl18xx driver for 4.x kernel do exist
05:23.55DocScrutinizer05and wl12xx and wl18xx supposedly at least somewhat similar
05:24.59DocScrutinizer05so backporting the diffs between wl12xx and wl18xx driver for 4.x to a wl12xx 2.6 kernel driver should be a tad simpler than writing this thing completely anew
05:26.23DocScrutinizer05I dunno, maybe even a wl18xx driver for 2.6 kernel exists already, I never searched for it
05:29.01DocScrutinizer05TI guys on LKML/linux-USB recently assured me in private mail about their dedication to OpenSource. Maybe worth asking them
05:30.57DocScrutinizer05maybe also worth asking them about PVR?
05:31.49DocScrutinizer05I guess with an NDA we might even get access to the source for PVR maybe
05:32.53luke-jrotoh, PVR guys on #Dragonbox-Pyra recently informed us they even go out of the way to sue infringers :/
05:33.03luke-jrso probably only so much TI can do
05:33.25DocScrutinizer05please rephrase
05:33.36DocScrutinizer05what exactly happened?
05:33.50luke-jrDocScrutinizer05: just discussion of PVR's position on IP more or less
05:34.22DocScrutinizer05yeah, TI can't make FOSS from PVR, but they for sure can share the sourcecode under NDA
05:34.33luke-jrsomeone asked hypothetically if Pyra used the leaked code, would PVR sue, and the answer was affirmative
05:34.34DocScrutinizer05well, not for sure, but maybe
05:34.59DocScrutinizer05yes, sure. They don't want to see leaked code get used
05:35.00luke-jrie, the asker was probably hoping for a "we're look the other way"
05:35.09luke-jrwe'd*
05:35.13DocScrutinizer05:nod:
05:35.23DocScrutinizer05that's not how stuff works in industry
05:35.51luke-jrI also asked how much $ we'd have to crowdfund for a free license to the code, and basically got a non-answer
05:36.02DocScrutinizer05at OM we had access to the glamochip and partial calypso sourcecode under NDA
05:37.16DocScrutinizer05imagination doesn't want to FOSS that code, it seems (though there been also other statements at times), but they obviously need to grant access to the code under NDA when they want their stuff to sell
05:38.33luke-jrapparently they threw $ at some contractor to write them a FOSS replacement a while back, but terminated the project because it didn't perform :/
05:38.35DocScrutinizer05so if Neo900 UG could do that (hiring a developer), we probably should consider to actually follow that path
05:40.31DocScrutinizer05as long as we have to use that closed proprietary stuff anyway, I'm not averse to give it the best possible support, even when that means signing a NDA
05:41.34DocScrutinizer05I'm rather pragmatic about that sort of stuff, even while I very much prefer FOSS over any proprietary cr*p
05:42.41DocScrutinizer05but we have a PVR for gfx in OMAP and nothing we could do about that. So I think it there's _any_ possibility to provide the best possible support for it to our customers, we should consider doing that
05:43.11DocScrutinizer05s/it there/if there/
05:43.59DocScrutinizer05I don't mind having 5 showers a day to feel semi-clean again ;-)
06:03.23DocScrutinizer05(glamo chip) for the docs which were several 100 pages, we had full permission to use all the info, write FOSS drivers based on that, even create our own docs as comprehensive as we want, even up to publishing our own several 100 pages of complete glamo docs. The *only* thing strictly forbidden was quoting the original glamo docs
06:04.53DocScrutinizer05it's a tad hard to understand what's industry's concerns about that 'sekrit stuff', usually it's about patent trolls etc
06:06.17DocScrutinizer05and the worst thing as soon as it comes to this topic: lawyers get involved
06:07.27ds2wonder what would it take to have a license forbiding lawyers ;)
06:07.36DocScrutinizer05lawyers even still think you could copyright-protect schematics.  You can't, but try to educate them on this fact, it's futile
06:09.11ds2"License be solely interperted as understood by the majority of 12 non legally educated individuals."
06:09.23DocScrutinizer05you can copyright-protect the mere artwork of a particular schematic paper, but you can't protect the circuit it shows
06:10.43DocScrutinizer05even when the circuit is patented, still the representation of the circuit in a schematic is not illegal. Only literally copying a schematic document is protected under copyright
06:11.52DocScrutinizer05at least that's been the situation last time I evaluated it
06:12.14freemangordonwpwrak: what is APESLEEPX in terms of Neo900?
06:12.22DocScrutinizer05ds2: sounds excellent :-D
06:12.33DocScrutinizer05freemangordon: nonexistent prolly
06:13.13freemangordonok, there are 3 or 4 more to be removed from the equation, used by bb5
06:13.18DocScrutinizer05it's related to the R&D mode kbd blinking and I doubtr we will implement it
06:13.28freemangordonhmm, no
06:13.35freemangordonoh, wait
06:13.35DocScrutinizer05ooh is it BB5?
06:13.45freemangordonI think so
06:13.46DocScrutinizer05I could be wrong
06:13.54freemangordonthe other one is SLEEP_IND IIRC
06:14.06DocScrutinizer05anyway it's not considered relevant for Neo900
06:14.15DocScrutinizer05yep, you're right
06:15.05DocScrutinizer05SLEEP_IND, NSLEEP1 and SYS_CLKREQ
06:15.19DocScrutinizer05where sleep_ind is a GPIO
06:15.31freemangordon:nod:
06:16.27DocScrutinizer05so APESLEEPX is _suspected_ to be part of a watchdog implemented inside BB5
06:16.43DocScrutinizer05that controls and possobly resets the APE CPU
06:16.44freemangordonDocScrutinizer05: re KP and mainline - believe me, KP/stock is a nogo for Neo900, we simply won;t be able to make it work reliably on Neo900, given the manpower, lack of support from the mainline devs and the original omap1 devs
06:17.18DocScrutinizer05please list the differences to OMAP3430
06:17.28freemangordonIf I have 5 full-time kernel devs to distribute tasks to, then *maybe* it should have been possible
06:18.16freemangordonit is not only the omap, backporting wifi/bt drivers is not a fun task, give how much the kernel API has changed since 2.6.28
06:18.28freemangordonetc
06:18.52DocScrutinizer05there are working DM3730 kernels, so any constants etc must exist for that SoC, to build a working kernel for it, based on what we got in KP
06:19.20freemangordondefine "working"
06:19.43freemangordonas "booting to console" is not working in my book
06:19.52DocScrutinizer05it boots, it does proper powermanagement on the CPU and RAM, it is able to open a shell on console
06:20.14DocScrutinizer05it even will run fremantkle
06:20.35DocScrutinizer05I see possoble issues with PVR
06:21.03DocScrutinizer05the rest of the SOC is sufficently identical for all I know
06:21.28freemangordontoldya, it is not that similar.
06:21.45DocScrutinizer05I'm _not_ talking about drivers for the new WLAN or modem
06:21.46freemangordonI mean 3430<->3730
06:22.04freemangordonbut you should to
06:22.31freemangordonbecause if we have to backport 2-3 drivers the size of wifi driver, then we simply won;t be able to do it
06:23.24freemangordonsee, the difference between 2.6 and 4.6 is not only DT
06:23.43DocScrutinizer05before we moan about that not being feasibe, we first should check if there's maybe an existing driver already, or how much work it actually is to backport the TI sources which claim to be kernel version agnostic afaik
06:24.45freemangordonafaik wl18xx is upstreamed and I don;t see how that is kernel agnostic
06:25.01freemangordonif you mean wireless-compat, well...
06:25.13DocScrutinizer05please check the origin at https://git.ti.com/wilink8-wlan
06:25.40DocScrutinizer05I'm not competent to check
06:26.25DocScrutinizer05I only know that there is some stuff TI considers sufficient to get the module working on whatever kernel
06:26.47DocScrutinizer05unless I missed something in there
06:27.12freemangordonDocScrutinizer05: again, we don;t have the manpower to check *all* the drivers and to port them
06:27.26DocScrutinizer05well, that's your problem
06:27.41DocScrutinizer05I'm not involved into sw development
06:27.42freemangordonand the solution to it is mainline kernel :)
06:28.29freemangordonnot to say that, afaik, we share lots in common with gta04. is that assumtion correct?
06:29.10DocScrutinizer05I just think it's a tad strange to refuse cjhecking the source with the argument "we don't have enough manpower for that" and rather try to mess with modding & REing fremantle to the max, to make it work with new kernel
06:29.36DocScrutinizer05no, from a sw side that assumption is completely misleading
06:29.45freemangordonwe already *have* fremantle 80% working with mainline
06:29.59freemangordonincluding PVR
06:30.17freemangordonincludeing DSP
06:31.06freemangordonand we are in process of upstreaming camera drivers and the surrounding stuff, I expect 4.9
06:31.26DocScrutinizer05well, then that's great news, I hope you will manage to get the remaining 20% working as well
06:31.38freemangordonI guess we'll be able
06:32.01DocScrutinizer05it however doesn't change anything for Neo900
06:32.31freemangordonit changes a lot, because fremantle will already know about all the new kernel interfaces
06:32.42DocScrutinizer05for our customers it's great news however, since most of them want a working maemo on the device, no matter which kernel
06:33.13freemangordonso what will be needed is a couple of relatively simple drivers for some exotic HW in neo900 and a board DTS
06:33.34DocScrutinizer05:nod:
06:33.38freemangordon(not sure what exotic HW there is :) )
06:33.54DocScrutinizer05well, the monitoring stuff comes to mind
06:34.06freemangordonsome GPIOs?
06:34.16DocScrutinizer05:nod: - plus ADCIN
06:34.17freemangordonor is it ADC?
06:34.42DocScrutinizer05and I2C
06:34.49freemangordonalready have support for that, writing iio ADC driver is a couple of days using the iio framework
06:35.41freemangordonanother good think about mainline kernel is that API has evolvet to a stage when you already have FW support form most of the devices one can imagine
06:35.44DocScrutinizer05basically we have IRQs that need to do some ADCIN or other simple tasks in worker thread
06:35.45freemangordon*thing
06:36.41freemangordonso basically you just use a couple of macros and you have a working driver implementing the stable kernel API
06:36.51DocScrutinizer05fine
06:36.54freemangordonwhich is not the case with 2.6
06:37.06DocScrutinizer05yep, I guess that's true
06:38.32DocScrutinizer05idly wonders if AV-jack detection and type sensing works in mainline
06:38.54freemangordonlast time I checked it, yes
06:38.59DocScrutinizer05wow
06:39.51DocScrutinizer05please test with watch -d -n1 'for f in /sys/devices/platform/nokia-av/type /sys/devices/platform/nokia-av/detect /sys/devices/platform/nokia-av/autodetect /sys/devices/platform/nokia-av/eci* /sys/devices/platform/soc-audio/eci_mode /sys/devices/platform/nokia-av/madc; do echo "$f: `cat $f`"; done'
06:40.00freemangordonbut it was a while since I did that. However, if it doesn;t work, we simply spit on the guy who broke it and he has to fix it :)
06:40.26freemangordondon;t have time now
06:40.37DocScrutinizer05not now :-) eventually
06:40.42freemangordonok
06:41.29DocScrutinizer05I'm honestly a tad lost in analyzing how that stuff actually works
06:41.41freemangordonI have to do more stuff, (like resending i4-rx51 driver patches, fixing et8ek8 patch etc), unfortunately my spare time is a bit limited lately
06:41.45DocScrutinizer05madc is important for sure
06:43.03freemangordonDocScrutinizer05: asking again as I had to reboot my PV yesterday - what is going to be used for PM - twl4030?
06:43.07freemangordon*PC
06:43.14DocScrutinizer05yep
06:43.30freemangordonis it still available? wow
06:43.36DocScrutinizer05exactly like N900
06:44.09DocScrutinizer05that stuff is "in TI's catalog" I've been told, which seems to mean they have LTS for it
06:44.21freemangordonok
06:45.24DocScrutinizer05not even announced to go EOL yet
06:45.27freemangordonis back to playing HL2ep1 :), bbl
06:45.33DocScrutinizer05have fun
06:45.49DocScrutinizer05takes a short nap
07:32.14*** join/#neo900 silviof (~silviof@unaffiliated/silviof)
08:07.12*** join/#neo900 jonsger (~Thunderbi@2a02:8070:799:dd00:ad7f:653b:c0e:6427)
09:04.19*** join/#neo900 bredebid (~bredebid@207.43.54.77.rev.vodafone.pt)
09:04.29*** join/#neo900 Pali (~pali@Maemo/community/contributor/Pali)
09:54.26*** join/#neo900 SylvieLorxu (~TheLastPr@541B7AAC.cm-5-4b.dynamic.ziggo.nl)
10:17.31*** join/#neo900 galiven_ (~Andrew@50-205-116-131-static.hfc.comcastbusiness.net)
10:47.06*** join/#neo900 Xiaoman (~Xiaoman@unaffiliated/xiaoman)
11:20.01*** join/#neo900 xray256 (~xray256@host86-166-174-128.range86-166.btcentralplus.com)
11:38.16*** join/#neo900 trx (ns-team@devbin/founder/trx)
12:57.26*** join/#neo900 l_bratch (~l_bratch@82.112.156.32)
13:44.09wpwrakfreemangordon: thanks for confirming the 2.6 vs. 4.6+ situation ! that's pretty much what i expected. it's always like that - sticking with an old kernel may be tempting at some point, but it quickly turns into an uphill battle.
13:45.40wpwrakfurthermore, since you can't "keep up" anyway, the focus will then shift to maintaining functionality but not fixing bugs that don't visibly affect functionality. e.g., security issues.
13:47.47*** join/#neo900 saper (saper@m.saper.info)
13:49.28wpwrakand of course, you'll probably miss any security fixes that aren't clearly flagged as such, especially those that result from fixing / changing something else.
14:27.11*** join/#neo900 mad_dev (~mad_dev@2.89.127.247)
14:33.29MonkeyofDoomold kernels are the worst
14:35.23wpwrakperfect summary ;-)
14:51.24*** join/#neo900 chomwitt (~chomwitt@ppp-94-67-223-122.home.otenet.gr)
14:51.28chomwitthi from greece
14:57.22*** join/#neo900 vakkov (~vakkov@134.83.225.3)
15:10.47mad_devchomwitt: Hello from the other side
15:45.48*** join/#neo900 enyc (~enyc@muddle.enyc.org.uk)
16:04.07*** join/#neo900 mad_dev (~mad_dev@2.89.127.247)
17:26.59DocScrutinizer05the kernel lock in is maemo's biggest problem from beginning. Well, together with the closed blobs that are closely related
17:28.42DocScrutinizer05Nokia built a basically monolithic block made of kernel and a deb metapackage consisting the complete system and threw that over the wall. It never been meant to be maintainable
17:29.40DocScrutinizer05Nokia always considered maemo their property
17:31.50DocScrutinizer05seems to me jolla did almost same, in exactly same or even worse spirit
17:33.07MonkeyofDoomTizen is the same
17:33.10MonkeyofDoomwith Samsung
17:33.15DocScrutinizer05prolly, yes
17:33.20MonkeyofDoomI have a Z3 :)
17:33.46MonkeyofDoomthe 3.10 kernel shipped on it has available sources, but I don't know if they're fully complete
17:33.54MonkeyofDoomand there's a lot of undocumented closed-source userspace nonsense
17:34.25MonkeyofDoomrunning a 4.x kernel with ofono on *something* is the eventual dream...
17:34.53DocScrutinizer05as long as it's not tivoized by a signature-checking bootloader...
17:35.12MonkeyofDoomI don't think it is
17:36.01DocScrutinizer05but yeah, a proprietary linux stays a proprietary linux
17:36.22DocScrutinizer05until some smart guys RE all the closed blobs
17:36.49MonkeyofDoom*most* of the kernel stuff for the Z3 is proprietary but has source in the GPL dump
17:37.02MonkeyofDoomproprietary in the sense that it doesn't use kernel code style or kernel device interfaces
17:37.14DocScrutinizer05yeah, nasty
17:38.02MonkeyofDoomweird "/dev/sprd_sensor" crap instead of /dev/inputN or proper sysfs nodes, so on... and Mali GPU, which is a big blob
17:52.06*** join/#neo900 herpderphurr (~afwang@c-98-234-221-193.hsd1.ca.comcast.net)
17:52.44wpwrakoh, i thought mali was kinda open ?
17:57.05SiceloMonkeyofDoom: nice to hear from a Tizen user .. as i will likely move there when both my N900 die :-/
18:05.31*** join/#neo900 xman (~xman@user-0cdft6f.cable.mindspring.com)
18:13.31MonkeyofDoomSicelo: yep...
18:17.52Sicelootherwise, besides the other issues you mention .. how easy/difficult is it to port a regular linux application to Tizen?
18:19.58MonkeyofDoomyou can run command-line stuff trivially... X11 stuff will *run* but for reasons I haven't figured out entirely will not actually be *visible*
18:20.09MonkeyofDoom(though it does accept input events and so on
18:20.10MonkeyofDoom)
18:20.22MonkeyofDoomyou can get EFL apps to play nicely without too much trouble
18:20.37MonkeyofDoomhttps://www.reddit.com/r/Tizen/comments/4i8si9/terminal_emulator/
18:24.47Siceloalright :)
18:37.45*** join/#neo900 jonsger (~Thunderbi@2a02:8070:799:dd00:387d:33bd:e9d8:fb66)
18:51.30*** join/#neo900 bredebid (~bredebid@es-217-129-26-160.netvisao.pt)
19:04.57*** join/#neo900 Xiaoman (~Xiaoman@unaffiliated/xiaoman)
19:28.32*** join/#neo900 mad_dev (~mad_dev@2.89.127.247)
21:15.19*** join/#neo900 Xiaoman (~Xiaoman@unaffiliated/xiaoman)
21:41.26*** join/#neo900 MonkeyofDoom (~one@2601:240:c400:5d33:dd62:5953:ca08:b49c)
21:45.29*** join/#neo900 kevin (~kevin@eth-east-parth2-46-193-64-24.wb.wifirst.net)
22:21.01*** join/#neo900 Pangolin (~Pangolin@c-98-203-188-11.hsd1.wa.comcast.net)
22:25.31*** join/#neo900 mrcaaattt (~callisto@14.192.212.170)
22:38.25*** join/#neo900 Pangolin (~Pangolin@c-98-203-188-11.hsd1.wa.comcast.net)
22:40.13*** join/#neo900 stefek99_ (uid41457@gateway/web/irccloud.com/x-obfeporjubborkbx)
22:52.51*** join/#neo900 Xiaoman (~Xiaoman@unaffiliated/xiaoman)
23:00.55*** join/#neo900 Pangolin (~Pangolin@c-98-203-188-11.hsd1.wa.comcast.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.