[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!
Post Reply
User avatar
Raymond Day
Posts: 35
Joined: Mon Apr 18, 2016 12:48 pm

Mon Apr 18, 2016 12:59 pm

I order this wanting to run Linux on it. Seems like only the newer 16 type ones will work on it. Can put the ISO on a USB flash drive and it will boot from you on power up.

I had the live one work but installing it would not boot. The only one I found that boots and installs is Lubuntu 16.04. Or:

Linux Lattepanda 4.4.0-18-generic #34-Ubuntu SMP Wed Apr 6 14:01:02 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

It seems to be working very good.

Did you know this Lattepanda has the same CPU in it as the Intel Compute Stick with USB 3.0 on it too. STK1AW32SCR type.

-Raymond Day

User avatar
tomjokiel
Posts: 4
Joined: Tue Apr 19, 2016 11:52 am

Tue Apr 19, 2016 12:14 pm

Hello Raymond,

This is very good news to me and my project :)

I'm getting tired of users requesting Raspberry PI support and hoping that LattePanda can be a RPi alternative in the x86 word (this way i would not have to bother with an ARM port).

Something like LattePanda "Zero" would be perfect. I dont need Windows and even internal storage. Getting lower price would be nice to compete with RPis and alike.

Is there any hardware which is currently not supported by the *buntu 16.04 image? I guess it will be wifi which probably requires out of the tree r8723bs driver:
https://github.com/hadess/rtl8723bs

Thank you in advance.

User avatar
Raymond Day
Posts: 35
Joined: Mon Apr 18, 2016 12:48 pm

Tue Apr 19, 2016 12:20 pm

I am not using WiFi or the sound so not sure if they work.

But I just tested WiFi and looks like it don't see any. Typed the command nmtui It shows this:



┌─┤ NetworkManager TUI ├──┐
│ │
│ Please select an option │
│ │
│ Edit a connection │
│ Activate a connection │
│ Set system hostname │
│ │
│ Quit │
│ │
│ <OK> │
│ │
└─────────────────────────┘

If I go to one of them it just show about nothing. Like this:


┌────────────────────────┐
│ │
│ ┌──────────┐ │
│ │ ↑ │ <Add> │
│ │ ▮ │ │
│ │ ▒ │ <Edit...> │
│ │ ▒ │ │
│ │ ▒ │ <Delete> │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ↓ │ <Quit> │
│ └──────────┘ │
│ │
└────────────────────────┘

So no WiFi at lest on the default load of Lubuntu.

-Raymond Day

User avatar
tomjokiel
Posts: 4
Joined: Tue Apr 19, 2016 11:52 am

Tue Apr 19, 2016 12:46 pm

Hopefully i wont ask for too much: could you generate hardware report and upload it to pastebin.com so myself and other linux users could benefit from the info provided?

I have a script created for this purpose:
http://porteus-kiosk.org/public/files/debug.sh

Please have a look on it - all what it does is to collect hardware data and save as /tmp/debug.txt
If you dont trust it then any hardware focused report would be fine :)

Thank you.

EDIT:
perhaps you should remove MAC address of your NIC from the report generated by my script before posting publicly.

User avatar
Raymond Day
Posts: 35
Joined: Mon Apr 18, 2016 12:48 pm

Tue Apr 19, 2016 2:05 pm

That's neat to show the info.

I did commands like this:

wget http://porteus-kiosk.org/public/files/debug.sh
chmod 755 debug.sh
./debug.sh

It said saved at /tmp/debug.txt

Can attach it here any extension I put on it or no extension says not allowed. Test .jpg but not possible to deteremine the dimensions.

I put it in my Google docs.

Can see at the end I was trying to see if could get WiFi working on it. Never did but I did not spend a lot of time to do it.

-Raymond Day

User avatar
tomjokiel
Posts: 4
Joined: Tue Apr 19, 2016 11:52 am

Tue Apr 19, 2016 2:14 pm

Thank you very much!

Unfortunately i see we are not there yet :(

a) sound drivers are missing
b) wifi does not work (looks like Ubuntu ships r8723bs driver by default so maybe just firmware is missing?)
c) intel drm driver causes kernel oopses and modesetting driver is used in the GUI:

Code: Select all

[   13.030524] WARNING: CPU: 1 PID: 1050 at /build/linux-XwpX40/linux-4.4.0/drivers/gpu/drm/i915/intel_sideband.c:200 vlv_dpio_read+0x86/0x90 [i915]()
[   13.030528] DPIO read pipe A reg 0x8134 == 0xffffffff
[   13.030531] Modules linked in: snd_soc_sst_cht_bsw_rt5645(+) intel_rapl intel_powerclamp kvm_intel kvm nls_iso8859_1 irqbypass punit_atom_debug crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd lpc_ich cdc_ether snd_intel_sst_acpi usbnet mei_txe snd_soc_rt5640 mei joydev snd_soc_rt5670 input_leds snd_intel_sst_core r8152 cdc_acm snd_soc_rt5645 fdp_i2c snd_soc_sst_mfld_platform snd_soc_rl6231 mii fdp goodix snd_soc_core nci nfc snd_compress ac97_bus snd_pcm_dmaengine snd_pcm processor_thermal_device intel_soc_dts_iosf snd_seq_midi snd_seq_midi_event snd_rawmidi hci_uart snd_seq btbcm btqca btintel snd_seq_device snd_timer 8250_fintek snd bluetooth dw_dmac dw_dmac_core rfkill_gpio soundcore i2c_designware_platform i2c_designware_core pwm_lpss_platform
[   13.030616]  spi_pxa2xx_platform 8250_dw pwm_lpss tpm_crb int3400_thermal soc_button_array acpi_thermal_rel mac_hid int3403_thermal int340x_thermal_zone acpi_pad coretemp autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid uas usb_storage mmc_block i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm fjes video i2c_hid hid sdhci_acpi sdhci pinctrl_cherryview
[   13.030661] CPU: 1 PID: 1050 Comm: Xorg Tainted: G      D W       4.4.0-18-generic #34-Ubuntu
[   13.030665] 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
[   13.030668]  0000000000000286 000000001fc11fc5 ffff88007a337a48 ffffffff813e9243
[   13.030675]  ffff88007a337a90 ffffffffc0212498 ffff88007a337a80 ffffffff81080f62
[   13.030681]  0000000000000000 0000000000008134 ffff880176280000 0000000000008004
[   13.030687] Call Trace:
[   13.030698]  [<ffffffff813e9243>] dump_stack+0x63/0x90
[   13.030706]  [<ffffffff81080f62>] warn_slowpath_common+0x82/0xc0
[   13.030711]  [<ffffffff81080ffc>] warn_slowpath_fmt+0x5c/0x80
[   13.030761]  [<ffffffffc01ba1c6>] vlv_dpio_read+0x86/0x90 [i915]
[   13.030811]  [<ffffffffc01a2069>] i9xx_get_pipe_config+0x599/0x690 [i915]
[   13.030862]  [<ffffffffc01cbd99>] ? intel_dp_get_hw_state+0x69/0x180 [i915]
[   13.030912]  [<ffffffffc019e1e2>] intel_modeset_check_state+0x312/0x8a0 [i915]
[   13.030962]  [<ffffffffc01a9bcb>] intel_atomic_commit+0x4bb/0x6f0 [i915]
[   13.031001]  [<ffffffffc00a4c47>] drm_atomic_commit+0x37/0x60 [drm]
[   13.031023]  [<ffffffffc0109a06>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
[   13.031053]  [<ffffffffc0093e02>] drm_mode_set_config_internal+0x62/0x100 [drm]
[   13.031083]  [<ffffffffc0098322>] drm_mode_setcrtc+0x3d2/0x4f0 [drm]
[   13.031110]  [<ffffffffc0089712>] drm_ioctl+0x152/0x540 [drm]
[   13.031140]  [<ffffffffc0097f50>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[   13.031148]  [<ffffffff8121ff9f>] do_vfs_ioctl+0x29f/0x490
[   13.031154]  [<ffffffff8120ed51>] ? __sb_end_write+0x21/0x30
[   13.031159]  [<ffffffff8120c95d>] ? vfs_write+0x15d/0x1a0
[   13.031163]  [<ffffffff81220209>] SyS_ioctl+0x79/0x90
[   13.031170]  [<ffffffff818243b2>] entry_SYSCALL_64_fastpath+0x16/0x71
[   13.031218] ---[ end trace ee2b0ec59f974c93 ]---
[   13.033616] ------------[ cut here ]------------
Maybe next kernel version will make some progress.

Thank you once again.

EDIT:
i did not read carefully: r8723bs was added by you :)

User avatar
Raymond Day
Posts: 35
Joined: Mon Apr 18, 2016 12:48 pm

Tue Apr 19, 2016 2:21 pm

This was the only Linux I could find that would install on it. I could run live Linux on it but installing them it would not boot all the way then.

I was working on the WiFi but did not get it to work yet. I don't really need it any way.

I don't see why it matters if other see the MAC address. I just know if don't have my URL name in it. That's what I did not want in it.

-Raymond Day

User avatar
Raymond Day
Posts: 35
Joined: Mon Apr 18, 2016 12:48 pm

Tue Apr 19, 2016 7:59 pm

I had my Intel compute stick the one with USB 3.0 as my server before the LattePanda. So I booted the same USB live load of Lubuntu 16.04 in it. But did not install it just used it to copy my setting from the eMMC in the ICS.

It has the same CPU as the LP. But I guess not the same WiFi chip.

I just tested nmtui command on it and it shows the LAN and WiFi. Got this photo of my screen of it. That's my WiFi around here.
Live load on ICS USB3 WiFi works.jpg
Live load on ICS USB3 WiFi works.jpg (47 KiB) Viewed 15823 times
What the LP has that the ICS does not is 2 Times the RAM and eMMC. That makes it worth it for me.

-Raymond Day

User avatar
Raymond Day
Posts: 35
Joined: Mon Apr 18, 2016 12:48 pm

Wed Apr 20, 2016 1:22 pm

Got phpsysinfo working on it. It's neat to see the info. Here is a screen shot of it with my URL blanked out.

Image

To see it full size to read it click here. and click on the + in the upper right corner.

-Raymond Day

User avatar
serji
Posts: 1
Joined: Wed Apr 20, 2016 8:21 pm

Wed Apr 20, 2016 8:27 pm

That's great news! can't wait to have my LP, as soon as I got mine I will test your instructions & install Ubuntu on it. Many thanks Raymond!!

Post Reply