Re: Ubuntu Tablet

2016-05-11 Thread Oliver Grawert
hi,

On Mi, 2016-05-11 at 16:55 -0500, Dale Amon wrote:
> 
> I did some reading about 'dogfood', ie someone who described living
> with
> Unity, and they suggested this was needed:
> 
>  root@ubuntu-phablet:/var/log# initctl --session start libertine-lxc-
> manager
>  initctl: Unable to connect to session bus: Unable to autolaunch a
> dbus-daemon without a $DISPLAY for X11
> 
> but that implies I am still missing something.

not sure whose blog you followed but you definitely do not need to
install anything, the tablet has all bits you need pre-installed ...

the only thing that is needed on a virgin untouched ubuntu tablet to
run X11 apps is following the [1] document, it is a step by step guide
many people from the ubuntu-phone mailing list (where you would get a
*lot* more help than on this list where the tablet is rather off topic)
followed already ... 

make sure to have your tablet in virgin state (not made writable, not
messed around with the readonly rootfs), attach and mount your external
disk and follow [2] step by step to set up your development env on it,
build your gnustep deb then follow [1] step by step to run it and be
done ... 

lets pretty please take this topic to the ubuntu-phone list, we are
producing a lot of noise here ...

ciao
oli

[1]  https://docs.google.com/document/d/1yJepibh68YaQijWO3Z3dWTtTTmzXnM
mEE8eswhUXzw4/edit?pref=2=1

[2]  http://askubuntu.com/questions/620740/recommended-way-to-install-r
egularcli-deb-packages-on-ubuntu-phone/623311#623311

signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-11 Thread Dale Amon
On Tue, May 10, 2016 at 02:05:48PM -0700, Oliver Grawert wrote:
> the lightdm you see running uses Mir, not X11. to run X11 apps you need to
> use a libertine container that fires up XMir which hooks into the running
> Mir displayserver then.

I'm not getting anywhere so far. I installed libertine and libertine-scope
via apt-get, and the icon appears on the apps desktop, but when I touch the
black top hat, I got a brief flash to its screen and then it throws me back
to the apps.

I did some reading about 'dogfood', ie someone who described living with
Unity, and they suggested this was needed:

 root@ubuntu-phablet:/var/log# initctl --session start libertine-lxc-manager
 initctl: Unable to connect to session bus: Unable to autolaunch a dbus-daemon 
without a $DISPLAY for X11

but that implies I am still missing something.

Dale Amon
Sr. Engineer
XCOR Aerospace

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-11 Thread Dale Amon
On Tue, May 10, 2016 at 05:54:01PM -0500, Dale Amon wrote:
> Sounds like some more complications... but it looks like I
> have things worked out. I just have to pick up a spare USB
> hub after work to get the 1TB disk attached to the Aquarius M10.
> 
> As for getting packages properly installed, it looks like this
> will work fine and get me the correct packages when run on
> the notepad via my ssh connection like this or something similar
> (ie I might need another switch parameter):
> 
>   apt-get download 
>   dpkg -i  --root=/home/dev/
> 
> I've already got gcc to download on the notepad this way,
> but I am not going to install it until I get the big
> disk attached.

I got a 1TB disk attached and set up my development area there;
as it turned out the 1.1GB on the tablet was more than sufficient
to allow for a gcc and gnustep install of libraries and includes.

I've successfully built my applications natively. All that remains
is to beat the issue with the lack of an X for the GUI to attach
to.

Dale Amon
Sr. Engineer 
XCOR Aerospace

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-10 Thread Dale Amon
Sounds like some more complications... but it looks like I
have things worked out. I just have to pick up a spare USB
hub after work to get the 1TB disk attached to the Aquarius M10.

As for getting packages properly installed, it looks like this
will work fine and get me the correct packages when run on
the notepad via my ssh connection like this or something similar
(ie I might need another switch parameter):

apt-get download 
dpkg -i  --root=/home/dev/

I've already got gcc to download on the notepad this way,
but I am not going to install it until I get the big
disk attached.

Dale Amon
Sr. Engineer
XCOR Aerospace


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-10 Thread Oliver Grawert

hi,

Am Dienstag, 10. Mai 2016 12:22:44 PDT schrieb Dale Amon :

On Tue, May 10, 2016 at 02:14:05PM -0500, Dale Amon wrote:

However, the contents of /var/lib/dpkg/info show armhf packages
as you suggest. 


Ah, a bit more research. It looks like armhf is armv7 and that is
the aarch64. Please correct me if that is wrong.



the dpkg architecture for aarchh64 is called arm64 ... 

the arm 32bit (armv7) dpkg architecture is called armhf ... 

while the kernel of the tablet is 64bit capable and built as aarch64, 
the userspace (and dpkg architecture) is plain 32 bit armhf.


the lightdm you see running uses Mir, not X11. 
to run X11 apps you need to use a libertine container that fires up XMir 
which hooks into the running Mir displayserver then. 


ciao
   oli


--
Mit Dekko von meinem Ubuntu-Gerät gesendet

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-10 Thread Dale Amon
On Tue, May 10, 2016 at 02:14:05PM -0500, Dale Amon wrote:
> However, the contents of /var/lib/dpkg/info show armhf packages
> as you suggest. 

Ah, a bit more research. It looks like armhf is armv7 and that is
the aarch64. Please correct me if that is wrong.



-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-10 Thread Dale Amon
On Tue, May 10, 2016 at 01:35:33PM -0500, Dale Amon wrote:
> On Tue, May 10, 2016 at 08:46:07AM -0700, Oliver Grawert wrote:
> > the tablet uses an armhf userspace, not aarch64
> 
> The /proc/cpuinfo claims it is aarch64.

However, the contents of /var/lib/dpkg/info show armhf packages
as you suggest. 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-10 Thread Dale Amon
root@ubuntu-phablet:/etc/apt# cat /proc/cpuinfo 
Processor   : AArch64 Processor rev 3 (aarch64)
processor   : 0
BogoMIPS: 26.00
Features: fp asimd aes pmull sha1 sha2 crc32 wp half thumb fastmult vfp 
edsp neon vfpv3 tlsi vfpv4 idiva idivt 
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part: 0xd03
CPU revision: 3

Hardware: MT8163

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Ubuntu Tablet

2016-05-10 Thread Oliver Grawert

hi,

Am Montag, 9. Mai 2016 15:16:55 PDT schrieb Dale Amon :

After looking around the Notepad a bit more, I can see where the
issues are going to come in with storage. It looks to me that there
is no way it can be used as its own development platform. It hasn't
got gcc/gobjc/gcc++ installed, let alone the debian packaging tools.

So I am presuming those folks working on it are building everything
with a cross compiler. So instead of the one day task I was hoping
for, I've got to face the whole learning curve for setting up a
cross compile environment for aarch64. 


the tablet uses an armhf userspace, not aarch64



Can you point me at a HOWTO used to orient the notepad developers
to how to set up their cross-platform development environments?>


in  a former mail i posted: 
http://askubuntu.com/questions/620740/recommended-way-to-install-regularcli-deb-packages-on-ubuntu-phone/623311#623311

which should get you up and running for a development environment...

for running your X11 applications you will have to create a fresh libertine 
container and use libertine-container-manager to install your created deb 
packages in it... for this follow the other guide from my former mail:


https://docs.google.com/document/d/1yJepibh68YaQijWO3Z3dWTtTTmzXnMmEE8eswhUXzw4/edit?pref=2=1

ciao
   oli 




--
Mit Dekko von meinem Ubuntu-Gerät gesendet

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss