[DISCUSSION] Linux on LattePanda

A place to talk about all the Operating Systems, Software & Hardware
Forum rules

- Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

- Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts.

- Members should use an appropriate, descriptive subject when posting a new topic. Examples of bad subjects include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good subjects include; "Getting an TABLE FULL error upon login", "Cannot restore a backup".

- Members are asked to post in English only so that posts can be well received and properly monitored.

- Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), installation services, solicitation etc. Recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed.

- Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning. Vulgar language and inappropriate material is not allowed and will be removed. We try to maintain a family friendly atmosphere whenever it is possible within the main subject matter of this community. Please keep this in mind when participating.

- Each user is allowed to create one account. If you would like to change your username, please contact us and, most likely, we can do it for you while you can keep all of your profile data, posts, and other content.

- If a user violates our guidelines and shows a disregard for them, our staff and our community, they run the risk of losing their account. We reserve the right to deactivate any account and to edit or remove any content without warning. These guidelines are subject to change at any time without notice.

Thank you for visiting LattePanda.com!
User avatar
LattePanda
Site Admin
Posts: 2569
Joined: Wed Jan 20, 2016 9:09 am

Tue Mar 21, 2017 11:14 am

lattepanda_lover wrote:Well i have been using Windows 10 and Ubuntu 16.04 dual boot with working Wifi & bluetooth .

Download iso https://goo.gl/ePa3Nd and boot it . (no need to change bios settiings or any other thing)

After you have logged into first time in ubuntu you may see trailing and flickering mouse , you need to turn off the unknown screen from display settings in ubuntu and reboot it .

If you want to dual boot , then install windows 10 first , shrink some unallocated space and install ubuntu over it .


I am so happy with lattepanda now .

Loving it.
nice work, i will create a tutorial for this
Enjoy Tinkering with LattePanda ! :lol:

User avatar
arcsys
Posts: 1
Joined: Wed Mar 22, 2017 12:25 pm

Wed Mar 22, 2017 1:59 pm

I have panda 2gb with 32 gb emmc.
I'm having problems with audio (both via hdmi and jack), wifi and installation depending on the system.
Ubuntu 16.04 and 17.04 made by Linuxium boots into live mode but jack doesn't work, hdmi audio works. Some cursor issues. Can't install due to Ubiquity error.
Normal Ubuntu 16.04 iso fails to load.
Debian installer (debian-8.7.1-amd64-i386-netinst.iso) works fine with LXDE and MATE but hdmi audio and wifi doesn't work.
Other tested distros iso (Fedora, OpenSUSE, TrueOS) fail to load.
I need decent graphics with acceleration, audio and possibility of installation. Any suggestions?

EDIT:
Well I've got hdmi audio working by installing Linuxium kernel on installed debian.
Wifi probably started working after:

git clone https://github.com/hadess/rtl8723as.git
cd rtl8723as
make
sudo make install
sudo depmod -a
sudo modprobe r8723bs

User avatar
gpsp800
Posts: 3
Joined: Wed Mar 22, 2017 10:59 am

Sun Mar 26, 2017 9:49 am

Can you provide a BIOS of non sercure?

User avatar
jasongaunt
Posts: 9
Joined: Tue Feb 28, 2017 2:58 pm

Mon Mar 27, 2017 5:40 pm

I don't know if a non-secure BIOS is what you're after, you can boot EFI-based installation media no problem, secure would mean that you cannot boot anything other than the OS on the eMMC.

If you're asking for the ability to boot any installation media, as in legacy boot support, I think that may be too much work. It'll require a significant rewrite.

User avatar
jasongaunt
Posts: 9
Joined: Tue Feb 28, 2017 2:58 pm

Mon Mar 27, 2017 5:57 pm

Updating my progress here.

I kept having stability issues with my 4G-64, to the point where some very complex swearwords were used to describe the LP.

Out of curiousity, I decided to try the 32-bit version of the latest Ubuntu Server (ubuntu-16.04.2-server-i386) and this initially seems more stable, albeit only with 30 minutes of testing. There was no networking to be seen on boot, however you can get Ethernet working pretty easily, followed by WiFi;

1. Install Ubuntu Server, log in and switch to root with sudo su

Code: Select all

lattepanda@lp1:~$ sudo su
[sudo] password for lattepanda:
root@lp1:/home/lattepanda#
2. Run ip link and write down the Ethernet adapter address in the format enx???????????? (in my case, it was enx00e04c364374)

Code: Select all

root@lp1:/home/lattepanda# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enx00e04c364374: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 00:e0:4c:36:43:74 brd ff:ff:ff:ff:ff:ff
3. Edit /etc/network/interfaces with your favourite text editor (hopefully vi) and add a new stanza (replacing your adapter name)

Code: Select all

auto enx00e04c364374
iface enx00e04c364374 inet dhcp
mtu 8192
(Edit: I removed allow-hotplug and added the mtu value as the interface was intermittently dropping connections)

4. Either reboot or run ifup enx00e04c364374 (replacing your adapter name)

5. Once you have working Internet access, follow the instructions in this post from b-man :)

Hope this helps someone :)


One thing I am seeing in the Kernel messages are the following;

Boot:

Code: Select all

...
[    3.035175] fb: switching to inteldrmfb from EFI VGA
[    3.037407] Console: switching to colour dummy device 80x25
[    3.037607] [drm] Replacing VGA console driver
[    3.038117] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.038128] [drm] Driver supports precise vblank timestamp query.
[    3.038223] [drm:intel_parse_bios [i915]] *ERROR* Unable to parse MIPI Sequence Block v3+
...
[    3.114638] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.116018] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip
And then whenever the console blanks or is woken up:

Code: Select all

[    3.126296] ------------[ cut here ]------------
[    3.126396] WARNING: CPU: 3 PID: 144 at /build/linux-W6HB68/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:690 chv_calc_dpll_params+0x9c/0xc0 [i915]()
[    3.126412] WARN_ON(clock->n == 0 || clock->p == 0)
[    3.126417] Modules linked in:
[    3.126425]  mmc_block crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915(+) aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm sdhci_pci fjes video i2c_hid hid sdhci_acpi sdhci pinctrl_cherryview
[    3.126502] CPU: 3 PID: 144 Comm: systemd-udevd Not tainted 4.4.0-62-generic #83-Ubuntu
[    3.126517] Hardware name: To be filled by O.E.M. To be filled by O.E.M./Cherry Trail CR, BIOS S70C_001 03/17/2016
[    3.126532]  0000000000000286 00000000aa88cdab ffff88017649b650 ffffffff813f7c63
[    3.126548]  ffff88017649b698 ffffffffc02e1ab8 ffff88017649b688 ffffffff810812d2
[    3.126564]  ffff880176953c00 0000000000000000 ffff880035620000 0000000000000000
[    3.126580] Call Trace:
[    3.126595]  [<ffffffff813f7c63>] dump_stack+0x63/0x90
[    3.126609]  [<ffffffff810812d2>] warn_slowpath_common+0x82/0xc0
[    3.126619]  [<ffffffff8108136c>] warn_slowpath_fmt+0x5c/0x80
[    3.126688]  [<ffffffffc0275b5c>] chv_calc_dpll_params+0x9c/0xc0 [i915]
[    3.126756]  [<ffffffffc02763c4>] i9xx_get_pipe_config+0x654/0x690 [i915]
[    3.126825]  [<ffffffffc028386a>] intel_modeset_setup_hw_state+0xba/0xe80 [i915]
[    3.126897]  [<ffffffffc0286085>] intel_modeset_init+0x935/0x1200 [i915]
[    3.126967]  [<ffffffffc02bf060>] i915_driver_load+0xaf0/0xf30 [i915]
[    3.126980]  [<ffffffff8175e227>] ? netlink_broadcast_filtered+0x137/0x3d0
[    3.126992]  [<ffffffff813fb120>] ? cleanup_uevent_env+0x10/0x10
[    3.127003]  [<ffffffff813fb4cb>] ? kobject_uevent_env+0x15b/0x640
[    3.127014]  [<ffffffff815561d7>] ? get_device+0x17/0x20
[    3.127025]  [<ffffffff8155c4e5>] ? klist_class_dev_get+0x15/0x20
[    3.127037]  [<ffffffff8182b5d7>] ? klist_node_init+0x37/0x50
[    3.127048]  [<ffffffff8182b660>] ? klist_add_tail+0x20/0x50
[    3.127058]  [<ffffffff81557e5b>] ? device_add+0x15b/0x650
[    3.127098]  [<ffffffffc00a83d7>] drm_dev_register+0xa7/0xb0 [drm]
[    3.127132]  [<ffffffffc00aaa0d>] drm_get_pci_dev+0x8d/0x1e0 [drm]
[    3.127192]  [<ffffffffc02031e4>] i915_pci_probe+0x34/0x50 [i915]
[    3.127204]  [<ffffffff81448385>] local_pci_probe+0x45/0xa0
[    3.127215]  [<ffffffff814497c3>] pci_device_probe+0x103/0x150
[    3.127227]  [<ffffffff8155b5f2>] driver_probe_device+0x222/0x4a0
[    3.127237]  [<ffffffff8155b8f4>] __driver_attach+0x84/0x90
[    3.127248]  [<ffffffff8155b870>] ? driver_probe_device+0x4a0/0x4a0
[    3.127259]  [<ffffffff8155921c>] bus_for_each_dev+0x6c/0xc0
[    3.127269]  [<ffffffff8155adae>] driver_attach+0x1e/0x20
[    3.127280]  [<ffffffff8155a8eb>] bus_add_driver+0x1eb/0x280
[    3.127291]  [<ffffffff8155c200>] driver_register+0x60/0xe0
[    3.127301]  [<ffffffff81447cac>] __pci_register_driver+0x4c/0x50
[    3.127335]  [<ffffffffc00aac40>] drm_pci_init+0xe0/0x110 [drm]
[    3.127345]  [<ffffffffc032b000>] ? 0xffffffffc032b000
[    3.127403]  [<ffffffffc032b092>] i915_init+0x92/0x99 [i915]
[    3.127415]  [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[    3.127427]  [<ffffffff811ecd9f>] ? kmem_cache_alloc_trace+0x19f/0x1f0
[    3.127440]  [<ffffffff8118d993>] do_init_module+0x5f/0x1cf
[    3.127452]  [<ffffffff8110a93f>] load_module+0x166f/0x1c10
[    3.127462]  [<ffffffff81106ee0>] ? __symbol_put+0x60/0x60
[    3.127474]  [<ffffffff81214940>] ? kernel_read+0x50/0x80
[    3.127486]  [<ffffffff8110b124>] SYSC_finit_module+0xb4/0xe0
[    3.127496]  [<ffffffff8110b16e>] SyS_finit_module+0xe/0x10
[    3.127508]  [<ffffffff818385f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[    3.127518] ---[ end trace a515f105a3fe3415 ]---
This appears to not affect the unit, just that the LCD doesn't power off the backlight when the console blanks. I imagine disabling console blanking will make this error go away in the short term.
Last edited by jasongaunt on Tue Jun 06, 2017 8:26 am, edited 1 time in total.

User avatar
alete
Posts: 22
Joined: Thu May 19, 2016 1:58 am

Tue Mar 28, 2017 3:29 am

Was anyone able to use linux with the 7" display provided? I get a constant black screen after grub. Everything seems normal through remote desktop.

User avatar
LattePanda
Site Admin
Posts: 2569
Joined: Wed Jan 20, 2016 9:09 am

Tue Mar 28, 2017 7:51 am

Was anyone able to use linux with the 7" display provided? I get a constant black screen after grub. Everything seems normal through remote desktop.
I have a 7" display working fine under Ubuntu 16.04

Your issue could be down to a BIOS setting, try going to

Code: Select all

Chipset > North Bridge > IGD LCD Control > Force Lid Status
and toggling the setting.

I'm sure you've probably already done this, but also check Ubuntu's display settings
Enjoy Tinkering with LattePanda ! :lol:

User avatar
alete
Posts: 22
Joined: Thu May 19, 2016 1:58 am

Wed Mar 29, 2017 3:19 am

LattePanda wrote:
Was anyone able to use linux with the 7" display provided? I get a constant black screen after grub. Everything seems normal through remote desktop.
I have a 7" display working fine under Ubuntu 16.04

Your issue could be down to a BIOS setting, try going to

Code: Select all

Chipset > North Bridge > IGD LCD Control > Force Lid Status
and toggling the setting.

I'm sure you've probably already done this, but also check Ubuntu's display settings
Sry, didn't work.
Disabling Force Lid Status just did the DSI turn always off . I had to plug an HDMI in order to re enabling it.
If I only plug the DSI I can see LattePanda logo and grub menu, then it stays black, maybe a short flash while ubuntu is loggin in.
If I plug both DSI and HDMI, the display stays black all the time, but Ubuntu recognize it is plugged. **see picture in link below**

https://ibb.co/iS1CJv

User avatar
LattePanda
Site Admin
Posts: 2569
Joined: Wed Jan 20, 2016 9:09 am

Wed Mar 29, 2017 6:43 am

alete wrote: Sry, didn't work.
Disabling Force Lid Status just did the DSI turn always off . I had to plug an HDMI in order to re enabling it.
If I only plug the DSI I can see LattePanda logo and grub menu, then it stays black, maybe a short flash while ubuntu is loggin in.
If I plug both DSI and HDMI, the display stays black all the time, but Ubuntu recognize it is plugged. **see picture in link below**

https://ibb.co/iS1CJv
This is Ubuntu? I'm not sure to be honest, like I say I have it working fine out of the box. Drivers perhaps?
Enjoy Tinkering with LattePanda ! :lol:

User avatar
alete
Posts: 22
Joined: Thu May 19, 2016 1:58 am

Wed Mar 29, 2017 9:48 pm

LattePanda wrote:
alete wrote: Sry, didn't work.
Disabling Force Lid Status just did the DSI turn always off . I had to plug an HDMI in order to re enabling it.
If I only plug the DSI I can see LattePanda logo and grub menu, then it stays black, maybe a short flash while ubuntu is loggin in.
If I plug both DSI and HDMI, the display stays black all the time, but Ubuntu recognize it is plugged. **see picture in link below**

https://ibb.co/iS1CJv
This is Ubuntu? I'm not sure to be honest, like I say I have it working fine out of the box. Drivers perhaps?
Lubuntu technically. It could be the drivers, but. How do I install DSI drivers? :? :cry:
Thanks for your attention.

Post Reply