Jump to content


Photo

snappy ubuntu release

ubuntu snappy

  • Please log in to reply
14 replies to this topic

#1 nutzenbolz

nutzenbolz

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

Posted 09 February 2015 - 01:01 AM

Anybody try the new Snappy for pcDuino3? I flashed it, but I can't really tell what's happening other than the lights flashing briefly. I doesn't seem to be running the ethernet over USB-OTG as I get no sign of it in my Windows network settings. I have no HDMI monitor. Has anybody tried installing it and has any feedback about it?

 

Edit - also there is no information about what the file actually is. I'm not sure if it's a bootable SD or a production SD to flash NAND.



#2 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 09 February 2015 - 03:00 AM

I tried to get it to work for about 3 hours today.  Takes a long time to burn to SD. No video output but lights on keyboard and mouse look active. No debug output either.

 

I have sent a request for more info. Will update as soon as I know something.



#3 Klaafstra99

Klaafstra99

    Member

  • Members
  • PipPip
  • 14 posts

Posted 09 February 2015 - 07:14 AM

I installed it on my nano without too many troubles. Disadvantages are: no headless install possible (had to config the network settings), no x11vnc for remote desktop. Off course x11vnc can be installed using apt-get, but I cannot get x11vnc to run automatically... but that can only be a trivial issue...



#4 Pillar

Pillar

    Member

  • Members
  • PipPip
  • 11 posts

Posted 09 February 2015 - 10:24 AM

First view of Snappy Ubuntu core for pcDuino3 can be found here.


  • LS-Support-12 likes this

#5 Pillar

Pillar

    Member

  • Members
  • PipPip
  • 11 posts

Posted 09 February 2015 - 10:26 AM

You can learn more about snappy Ubuntu core on this website.



#6 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 10 February 2015 - 12:07 AM

I did not get any output at all. Will try again later.



#7 Pillar

Pillar

    Member

  • Members
  • PipPip
  • 11 posts

Posted 10 February 2015 - 01:15 AM

yes,Snappy didnt support desktop,so hdmi didnt have any output,you need check board uart debug.



#8 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 10 February 2015 - 02:32 AM

When I said I did not get any output, that included the debug uart.



#9 Pillar

Pillar

    Member

  • Members
  • PipPip
  • 11 posts

Posted 10 February 2015 - 03:23 AM

Can you check the uart connection is correct?



#10 cutedigi

cutedigi

    Advanced Member

  • Members
  • PipPipPip
  • 100 posts

Posted 11 February 2015 - 01:57 AM

http://learn.linkspr...e-for-pcduino3/



#11 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 12 February 2015 - 03:33 AM

Problem was not uart connection or snappy OS. It was an SD card that died.

 

Snappy is up and running. However, I have no ethernet connection. pcDuino3A

Trying to find the IP address...

ubuntu@localhost:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 52:5d:3f:79:10:6d brd ff:ff:ff:ff:ff:ff
    inet 10.0.1.49/32 scope global eth0
       valid_lft forever preferred_lft forever
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default
    link/sit 0.0.0.0 brd 0.0.0.0

I then try to take eth0 down and bring it back up with dhcp.

ubuntu@localhost:~$ sudo ip link set dev eth0 down
ubuntu@localhost:~$ sudo dhclient eth0
[  835.566018] stmmac_hw_setup: DMA engine initialization failed
[  835.571782] stmmac_open: Hw setup failed
RTNETLINK answers: Device or resource busy
ubuntu@localhost:~$ [ 1308.837715] stmmac_hw_setup: DMA engine initialization failed
[ 1308.843473] stmmac_open: Hw setup failed



#12 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 12 February 2015 - 03:54 AM

ubuntu@localhost:/media$ sudo dmesg | tail
[ 2592.339548] audit: type=1400 audit(1423121670.580:470): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2606.182655] audit: type=1400 audit(1423121684.430:471): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2606.182901] audit: type=1400 audit(1423121684.430:472): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2606.183047] audit: type=1400 audit(1423121684.430:473): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2620.341690] audit: type=1400 audit(1423121698.590:474): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2620.341933] audit: type=1400 audit(1423121698.590:475): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2620.342092] audit: type=1400 audit(1423121698.590:476): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2631.046927] audit: type=1400 audit(1423121709.290:477): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2631.047163] audit: type=1400 audit(1423121709.290:478): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[ 2631.047305] audit: type=1400 audit(1423121709.290:479): apparmor="DENIED" operation="sendmsg" profile="/sbin/dhclient" name="/run/systemd/journal/dev-log" pid=796 comm="dhclient" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
ubuntu@localhost:/media$



#13 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 12 February 2015 - 04:16 AM

I think Snappy would be a good idea for the pcDuino Lite wifi. Compact and headless should mean lower power needs. Perhaps a compact version with axp209 and battery connector could be used for wireless IoT.



#14 Pillar

Pillar

    Member

  • Members
  • PipPip
  • 11 posts

Posted 27 February 2015 - 10:47 AM

I know what's wrong with this,Snappy used linux 3.18.3 kernel,Ethernet only suport hardware restart.this is a bug,I'll fix it 



#15 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 27 February 2015 - 12:19 PM

Thanks Pillar. Let us know when you have a fix.







Also tagged with one or more of these keywords: ubuntu, snappy

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users