IoT security guide lines

乱立気味

PULPino

https://github.com/pulp-platform/pulpino


sudo apt-get install python-yaml

git clone https://github.com/pulp-platform/pulpino.git
cd pulpino
./update-ips.py


cd fpga

source /opt/Xilinx/SDK/2015.1/.settings64-Software_Development_Kit.sh
source /opt/Xilinx/Vivado_HLS/2015.1/.settings64-Vivado_High_Level_Synthesis.sh
source /opt/Xilinx/Vivado/2015.1/.settings64-Vivado.sh
source /opt/Xilinx/DocNav/.settings64-DocNav.sh

make


Ubuntu 16.04
export LD_LIBRARY_PATH=""
make

Use OLD KeePassX

Ubuntu 16.4

  • download OLD version

https://www.keepassx.org/releases/
keepassx-0.4.4.tar.gz

  • include unistd.h in src/lib/random.cpp

https://www.keepassx.org/forum/viewtopic.php?t=2678

  • Build and install

sudo apt-get install qt4-dev-tools qt4-designer
sudo apt-get install libxtst-dev
qmake-qt4
make
sudo make install

Agile + Hardware

hardware(ASIC)の設計をAgileに進める。

http://ng-embedded.blogspot.jp/



Scrum for Hardware and Co-Design, Timo Punkka, Scrum Gathering 2013, Paris
http://www.ngware.eu/blog/papers/Scrum_for_Hardware_And_Codesign_2013_Punkka.pdf


Agile hardware design and co-design
http://www.ngware.eu/blog/papers/ESC-3008Slides_Punkka.pdf
http://www.ngware.eu/blog/papers/ESC-3008Paper_Punkka.pdf

  • ツール
    • SVUnit

http://www.agilesoc.com/open-source-projects/svunit/
http://www.agilesoc.com/

Dell XPS 15 9550, Precision 5510

Dell Precision 5510 Workstation Review
http://www.notebookcheck.net/Dell-Precision-5510-Workstation-Review.156441.0.html


How To Disassemble Dell XPS 15 9550 To Upgrade RAM, SSD, HDD
http://www.ihowfix.com/how-to-disassemble-dell-xps-15-9550-to-upgrade-ram-ssd-hdd/

Dell XPS 15-9550 doesn't boot 14.04 (Live USB)
http://askubuntu.com/questions/708745/dell-xps-15-9550-doesnt-boot-14-04-live-usb

XPS 15 9550 install Ubuntu 14.04 ?
http://en.community.dell.com/support-forums/laptop/f/3518/t/19679352

Re: Ubuntu 15.10 on Dell Xps 15 9550 new Infinity display (i7 6gen 16gbr UHD 4k touch
http://ubuntuforums.org/showthread.php?t=2301071&page=21

XPS 15 9550: How to Install Ubuntu?
https://www.reddit.com/r/Dell/comments/414631/xps_15_9550_how_to_install_ubuntu/

How I set up my Dell XPS 15 9550 laptop with Ubuntu 15.10
https://github.com/sostingy/dell-xps-15-9550-ubuntu-15.10

XPS 15 9550 Touchpad in Ubuntu -- Can I get Windows-like experience?
https://www.reddit.com/r/Dell/comments/45z8mb/xps_15_9550_touchpad_in_ubuntu_can_i_get/

Ubuntu 16.04 on Dell Xps 15 9550 (i7-6700HQ - 1TB SSD - UHD 4k touch)
http://ubuntuforums.org/showthread.php?t=2317843

Optimizing the Dell XPS 15 9550 for Ubuntu 16.04
http://seb.mamessier.com/dell-xps-15-9550-ubuntu-16-04/


Laptop Dell XPS 15
http://wiki.yobi.be/wiki/Laptop_Dell_XPS_15



01.00.07 to 01.01.15 or 01.01.19

Thunderbolt


  • BIOSで設定の変更

Boot - F2 - BIOS menu

    • Disable Secure Boot

BIOS - Secure Boot - Secure Boot Enable - Disable

BIOS>System Configuration>SATA Operation> switch RAID to AHCI

  • Ubuntu 14.04.4 LiveUSBで起動

タッチパッドは動かないのでマウスを準備しておく
WIFIも動かないのでUSBのWIFIアダプタを準備しておく

そのままでは、起動しないので
おまじない nouveau.modeset=0 追加

http://askubuntu.com/questions/708745/dell-xps-15-9550-doesnt-boot-14-04-live-usb

To boot the Ubuntu 14.04.3 installation USB media successfully,highlight Try Ubuntu without installing and press the E key.
Add nouveau.modeset=0 to the end of the linux line.Then press the F10 key to boot to the Live desktop.


OS起動したら、Installer起動してInstall、再起動

起動時にシフト押してGrubメニュー表示、再度おまじない nouveau.modeset=0 追加

文字が小さすぎて読めないので
Setting -> Display -> Scale for menu and title bars
で調整、1.38くらい?

sudo apt-get update
sudo apt-get upgrade

GRUBの起動OPTION変更

設定変更

/etc/default/grub を編集

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0".

更新 sudo update-grub




以下作業中


8) Fix touchpad problem. Apparently the wrong kernel module (driver) is loaded. It's loading i2c_hid instead of i2c_designware_*.

lsmod | grep i2c #check what's loaded
echo "blacklist i2c_hid" | sudo tee -a /etc/modprobe.d/blacklist.conf
#apparently just blacklisting isn't good enough, for me it was also hiding in initramfs
sudo depmod -a
sudo update-initramfs -u
reboot

9) Graphics will be weird and flaky. The Nvidia drivers in the standard repositories are also a bit too old and will be flaky. I found that the new graphics-driver PPA worked well. Didn't try downloading from Nvidia directly. Bumblebee didn't work for me, giving a black screen, so Nvidia PRIME is recommended.

sudo apt-get purge nvida-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-355 nvidia-prime
sudo service lightdm restart


10) Add an indicator so you can tell whether Intel or Nvidia is being used.

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install prime-indicator
prime-indicator

Tested and working:

  • webcam works seemlessly, good color and resolution, but HORRIBLE un-useable placement at bottom of screen
  • Cheese and Skype worked with webcam, Google Chrome PPA with Google Hangeouts didn't work
  • speakers are a big step up from my Lenovo T430s

Remaining weird behavior not solved yet:

  • HDMI output not always detected with Intel or Nvidia, hopefully small bug that will be fixed soon (VGA dongle working fine)
  • laptop mic not detected by system, my headphone mic doesn't work either, probably a minor Ubuntu 15.10 bug and not a laptop driver issue
        • seems to work with Kernel v4.3
  • bluetooth doesn't detect my external speaker, driver bug that should be fixed soon, I think it's related to this: https://bugs.launchpad.net/ubuntu/+s...z/+bug/1448566
  • suspend/resume results in black screen
        • @parallelo fixed by installing kernel v4.3
  • occasionally touchpad cursor jumps down/left because of using thumb for left-clicks, this shouldn't happen, probably some manual tweaks can fix this
  • slow touchpad acceleration, system settings insufficient, need some manual tweaks
  • login screen hangs until wifi connects
  • both Intel and Nvidia are tearing, system is useable though, hopefully will improve over time with driver updates
  • Sometimes switching graphics with 'nvidia-settings' doesn't work. Sometimes 'nvidia-select' works. My guess is that there is a minor Nvidia bug that will soon be fixed
  • boot takes a long time, 20 seconds (old Lenovo 430s only took 10 seconds), i think this is just the slow Dell post

Otherwise the system seems to be woraking well. No crashing/freezing issues which is great. Hopefully this guide will save others a few hours (or days!) of pain. Please post your improvements/updates to this procedure to help us all out!
Last edited by jchedstrom; November 11th, 2015 at 05:43 AM.

  • Memory 32GB

XPS 15 Service Manual
https://topics-cdn.dell.com/pdf/xps-15-9550-laptop_Service%20Manual_en-us.pdf

T5 screw



追記(2016−12−23) Ubuntu 16.04にUpgrade


/etc/modprobe.d/blacklist.conf
blacklist i2c_designware-platform