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


New Xeniel kernal causes boot failure on Lenovo W520

2016-05-10 Thread Dale Amon
I've had to back off to using the old kernel. The latest update
brings in a kernal that causes the boot to repeatedly complain
that /run/lvm/lvmetad.socket has failed, and after sometime it
dumps into the initrd shell.


-- 
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


Re: Ubuntu Notepad

2016-05-10 Thread Dale Amon
On Tue, May 10, 2016 at 11:04:30AM +0100, Robie Basak wrote:
> On Mon, May 09, 2016 at 05:16:55PM -0500, Dale Amon wrote:
> > 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. 
> 
> It's often possible to do most development and testing by building on a
> local architecture, and switch to the target architecture when ready.
> This is particularly easy for us because Ubuntu is the same (package
> versions, configuration, etc) regardless of architecture.
> 
> Ubuntu's build infrastructure actually builds native for all
> architectures rather than using cross compilers, but I suppose you don't
> have an aarch64 server handy?
> 
> > Can you point me at a HOWTO used to orient the notepad developers
> > to how to set up their cross-platform development environments?
> 
> https://wiki.ubuntu.com/ToolChain#Cross_development_toolchain has some
> docs. Basically: "apt-get install gcc-5-aarch64-linux-gnu" and you
> should have a working cross compiler. I'm not sure if any other packages
> are required for a complete toolchain, but the idea is that everything
> you need is already available as packages.

Thanks. I also came up with another way to do it. I'm re-using a
1TB laptop drive in an external enclosure which will not become
/home/dev as a mount on the Aquarius.

I am going to first connect it to my development laptop and download
all the appropriate aarch64 debian packages onto it; then I can

dpkg -i  --root /home/dev/

and install my gcc compiler and debian tools there. That should
work, with just a few adjustments to the make files to search
/home/dev/usr/include during compile. 

There is 1.1GB free in the / partition, so there should be plenty
of room for the few shared libraries I will need to add.

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 Notepad

2016-05-10 Thread Robie Basak
On Mon, May 09, 2016 at 05:16:55PM -0500, Dale Amon wrote:
> 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. 

It's often possible to do most development and testing by building on a
local architecture, and switch to the target architecture when ready.
This is particularly easy for us because Ubuntu is the same (package
versions, configuration, etc) regardless of architecture.

Ubuntu's build infrastructure actually builds native for all
architectures rather than using cross compilers, but I suppose you don't
have an aarch64 server handy?

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

https://wiki.ubuntu.com/ToolChain#Cross_development_toolchain has some
docs. Basically: "apt-get install gcc-5-aarch64-linux-gnu" and you
should have a working cross compiler. I'm not sure if any other packages
are required for a complete toolchain, but the idea is that everything
you need is already available as packages.

HTH,

Robie


signature.asc
Description: PGP signature
-- 
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