Re: Problems with KuroBox Pro and micro-evtd

2017-04-28 Thread Roger Shimizu
On Wed, Apr 26, 2017 at 2:06 AM, Ryan Tandy  wrote:
> On Wed, Apr 26, 2017 at 01:56:34AM +0900, Roger Shimizu wrote:
>>
>> I installed -3 version of micro-evtd from snapshot.d.o
>> add iomem=relaxed kernel option, and confirmed it can boot.
>> So if the issue doesn't occur for a few days, we can guess it's caused by
>> -4 version change.
>
> FWIW, with iomem=relaxed, -3 and -4 *should* have the same behaviour.

I've been running with "iomem=relaxed" kernel option, and -3 for nearly a week,
everything is fine.
So I guess we find a workaround, at least.

>> If it still occurs, I think it should be the regression for the kernel.
>
> I suspect they'll tell us we need to get our driver into the kernel properly
> and not use /dev/mem...

Another option is to use GPIO interface by /sys
But I don't have much experience for it.

>> Is there any side effect if we add this "-a system_set_watchdog off"
>> command
>> to start_server() routine also? The watchdog is quite anonying AFAICS.
>
> IIRC it will be enabled again as soon as micro-evtd starts updating it. You
> would have to patch the feature out of micro-evtd altogether.

Thanks for your info.
Seems better not to touch this part for now.

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Re: Installing Debian on a Zealz GK802/imx6 dongle?

2017-04-28 Thread Vagrant Cascadian
On 2017-04-28, Rogério Brito wrote:
> Some years ago I bought a Zealz GK802 dongle (which, if I understand
> correctly from what I read on the web [0], is an imx6-based
> system---but I am not sure)
...
> Anyway, revisiting this device, I am interested in getting any more
> modern operating system on it and, of course, Debian is my first
> choice. Does anybody here have any experience with this kind of system
> or something similar? If yes, how have things evolved in the last 4
> years? Is it too painful to install Debian on it?

It looks like there's at least a devicetree for it in linux:

arch/arm/boot/dts/imx6q-gk802.dts:  model = "Zealz GK802";
arch/arm/boot/dts/imx6q-gk802.dts:  compatible = "zealz,imx6q-gk802", 
"fsl,imx6q";

Several of the drivers (hdmi, microsd, usb-otg, internal usb) are
marked as: status = "okay";

The .dtb is present in the linux 4.9.x linux-image-4.9.0-2-armmp
package. There are several other imx6 devices supported in debian's
armhf kernels, so the necessary drivers *might* already be enabled.
That all sounds reasonably promising.

So, your task will be to figure out how to get the bootloader that comes
with it (or port it to a modern u-boot) to load Debian's kernel,
initramfs and the appropriate .dtb file.

You'll probably want to figure out how to connect to the serial
console...


> I can provide some details with respect to the hardware and document
> my experiences and the installation process somewhere for reference of
> others (kind of what Martin did with some systems on his personal
> page) with the ultimate goal of getting it working well with Linux.

There are pages for various devices on:

  https://wiki.debian.org/InstallingDebianOn/


Good luck!


live well,
  vagrant


signature.asc
Description: PGP signature


Installing Debian on a Zealz GK802/imx6 dongle?

2017-04-28 Thread Rogério Brito
Dear people,

Some years ago I bought a Zealz GK802 dongle (which, if I understand
correctly from what I read on the web [0], is an imx6-based
system---but I am not sure) which came with an 8GB microsd card
running Android 4.0.

My primary intention with it would be to serve me as a device to run
Kodi, but, as soon as it was doing *anything*, it overheated and
locked hard.

I left it there gathering dust, despite it being potentially able to,
while not serving as my primary intention, act as something else, like
downloading some torrents or building some packages, given that it is
much more powerful than my KuroBox Pro with (which is an armel device
with only 128MB of RAM---of course, the IO abilities of the two
devices are mightly different).

Anyway, revisiting this device, I am interested in getting any more
modern operating system on it and, of course, Debian is my first
choice. Does anybody here have any experience with this kind of system
or something similar? If yes, how have things evolved in the last 4
years? Is it too painful to install Debian on it? If nobody has any
experience with it, I am interested in investing some effort into
getting it working, so that I can make some use of this piece of
hardware that I have here.

I can provide some details with respect to the hardware and document
my experiences and the installation process somewhere for reference of
others (kind of what Martin did with some systems on his personal
page) with the ultimate goal of getting it working well with Linux.


Thanks for any help,

Rogério.

[0]: 
http://projectgus.com/2013/05/debian-installer-for-zealz-gk802-android-tv-quad-core-arm-minipc/

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Re: Bug#861281: rnahybrid: FTBFS on armel

2017-04-28 Thread Edmund Grimley Evans
There may be no demand for this package (rnahybrid) on armel, but the
FTBFS might be caused by a bug in gcc-6, which would be worth
reporting if someone can confirm it.



Re: Bug#861281: rnahybrid: FTBFS on armel

2017-04-28 Thread Adrian Bunk
On Thu, Apr 27, 2017 at 07:23:20AM +, Gianfranco Costamagna wrote:
> Hello,
> 
> > rnahybrid FTBFS on armel:
> 
> 
> the warning above is somewhat important
> (too many nested loops), and this usually relates badly with
> high optimization levels
>...

The warning is about an off-by-one in the loop condition that 
writes past the end of the array - that's an unrelated bug.

There are 3 levels of loops at the location of the warning,
that is not a problem.

> G.

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed