Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

2014-11-08-netbsd-raspi.img (Re: Raspberry Pi update please.)



I've updated 2014-11-08-netbsd-raspi.img.gz for RPI.

ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2014-11-08-earmhf/2014-11-08-netbsd-raspi.img.gz

Update:
- NetBSD-current 7.99.1 evbarm-earmhf 201411050530Z from nyftp.
- pkgsrc-current 2014-11-01 tarball from ftp.NetBSD.
- NetBSD-SA2014-013 
  ftp(1) can be made to execute arbitrary commands by a malicious webserver
- NetBSD-SA2014-014 
  Multiple vulnerabilities in the mount system call
- NetBSD-SA2014-015 
  OpenSSL and SSLv3 vulnerabilities
- pkgsrc/wget 1.16
  fix CVE-2014-4877
- medit not dumping core when save the text. (FIXED)

CAUTION:
- Restore /usr/X11R7/lib/libxcb.so.1 (backward compat,for a while)
- backout libc/time 2014h, to avoid mikutter start up hungs. thanx tsutsui@ !
 http://www.nerv.org/netbsd/?q=id:20141023T184558Z.eea274c3ec3223ba3552539940fc299657f15af8
 hang message with libc/time 2014i:
 https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/pkgsrc/mikutter/20141105.log

- This is hardfloat image: build with earmhf
   softfloat: 2013-09-09-02-netbsd-evbarm.img.gz  evbarm (02:firmupdate) 
>> hardfloat: 2014-11-08-netbsd-raspi.img.gz      earmhf

Pre-compiled packages:
- Pre-compiled packages path setting: see /etc/pkg_install.conf 
PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmhf/2014-11-08/;ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmhf/6.99.39

 GCC4.8 can't compile all packages,so support 6.99.39 pkgsrc binaries.

 To install application.
 # pkg_add some_application_name

 If you update pkgsrc by yourself,comment out /etc/pkg_install.conf and check
 /etc/mk.conf.

SHARP NetWalker kernel: (Thanx h_kenken@)
  /boot/netbsd-NETWALKER.bin.gz is a kernel for Sharp NetWalker.

  1. Make backup image on NetWalker ubuntu.
  2. cp /boot/netbsd-netwalker.bin.gz [BackupImage]/boot/zImage
  3. Set [BackupImage] MicroSD to NetWalker MicroSD port
  4. Set RPI image to USB port via SD to USB dongle.
  5. With pushing [L Mouse][R Mouse],push Power button in 5 seconds.
  6. Pray for success in 5 seconds.
  7. Typical NetBSD Boot message appears on your console.
  8. Fail on single user mode,"mount /"
  9. vi /etc/fstab and type :1,$s/ld0/sd0/g w q
  10. reboot and login again.
  11. startx and mouse can control with small touchpad.

musica - DLNA/UPnP music server: (Thanx @cvsync)
 MAEKAWA Masahide make a DLNA/UPnP music server called "musica".
 
  1. Check http://www.m-systems.co.jp/musica/index_en.html .
  2. Download musica-0.3.8-netbsd6-evbarm-earmhf.tgz for evaluation.
  3. pkg_add musica-0.3.8-netbsd6-evbarm-earmhf.tgz
  4. musica -d [AAC,MP3,WMA,FLAC,DSDIFF,DSF,AIFF,WAV,Apple Lossless dir]
  5. Find from DLNA/UPnP AV equipment.
  6. With a little luck,you'll find musica and enjoy music via musica.
  7. If you feel slow,Try {NetBSD/amd64 i386,OSX,Ubuntu} Version or improve NetBSD.

XM6i - SHARP X68030 Emulator for NetBSD/x68k (Thanx isaki@)
  Need more testing: http://t.co/dpOaxtHZRe . wxGTK28 package required.

KOBO: kernel: (Thanx h_kenken@)
  kobo-kernels and uboot on /boot:
    mmcinfo 1
    fatload mmc 1 0x70800000 kobo.bin
    go 0x70800000

Todo:
- sound check and more.
- Summarize /usr/tests result on each version.
- test COPTS:-fno-reorder-blocks/-fno-tree-vrp/-fno-tree-pre optimization.
- ruby version: 200 -> 21?
- Need GPIO & bus controll document and implimentation (via lua?)
- comment out kernel DEBUG/DIAGNOSTIC option
- https://github.com/isaki68k/sayaka
- http://www.netbsd.org/~joerg/nodejs.tar.gz
- DTRACE http://wiki.netbsd.org/tutorials/how_to_enable_and_run_dtrace/
- yaft (yet another framebuffer terminal):
  https://github.com/uobikiemukot/yaft
- wip/ruby-therubyracer to support RoR,such as https://github.com/shirasagi/.
- RPI.rst in english.
- pkgsrc/mysqlclient?

=====================

For KANSAI OPEN FORUM 2014 NetBSD booth
 demonstration use, I've updated raspberry-pi image.

 https://www.facebook.com/events/240804052750197/
 https://www.facebook.com/NetBSD.jp 
 https://www.soum.co.jp/~jun/kof2014.pdf

- NetBSD 7.99.1 earmhf rpi.img.gz base
- Connect HDMI,USB Keyboard,USB Mouse,Ether(dhcpd and ntpd will work)
- login root (no passwd)
- startx ,and icewm running.
- running mikutter.
  twitter client (net/mikutter) on 40inch home TV.
  http://movapic.com/ebijun/pic/5168479

  # startx
  # dillo &
  # mikutter &
  or
  # LANG=en_US.UTF-8 mikutter &
       English menu support. LANG environment setting on .xinitrc .

  ==== one or two or threee moment =====

Appear mikutter window. and mikutter-chan tell you,

"Well done on the installation!" [Next]
"Hi! This is mikutter-chan speaking to you,join the twitter with me!" [Next]
 1. "Click the link https:......" click the URL, 
    copy URL into dillo.
 2. "login with the Twitter account you wish to use."
 3. "Go along until you see a 7-digit code and type it in at the top."
  -> get pin number.
  -> paste pin number to mikutter
 4. "Congratulations! You have attained achievement register_account!"

  Share your twitter timeline with your family!

Features:
  - fit size for 2GB SD Card
  - with X11
  - increase more inodes on /dev/ld0a
  - Recent current RPI kernel
  - USB/video support: as -current (video needs more tests)
  - pkgsrc: 2014-11-01 tree inside.
  - pre-build packages
    ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmhf/2014-11-08/

Installed Packages:
kterm
bash
tcsh
vlgothic-ttf
icewm
xli
mikutter
medit
uim
fossil
raspberrypi-userland
sudo
git-base
zsh
dillo
mlterm
pkg_chk
lintpkgsrc
mozilla-rootcerts

To control HDMI output,add/delete "console=fb" on cmdline.txt.
If delete console=fb definition,you can get serial console instead.
 rpi$ more /boot/cmdline.txt
 root=ld0a console=fb

Keyboard layout checkpoint:
/etc/wscons.conf
 #encoding sv
 #encoding us.swapctrlcaps
 encoding jp

/root/.xinitrc
 setxkbmap -model jp106 jp

/root/.mikutter/plugin/ : http://yuzuki.hachune.net/wiki/Plugin
- display_requirements.rb [Pre installed]

Build sample script:
 https://github.com/ebijun/NetBSD/tree/master/RPI/RPIimage/Image

Guide:
 https://github.com/ebijun/NetBSD/blob/master/Guide/RPI.rst

BUGS:
1. port-arm/48805
  Audio Driver issues on Pi running NetBSD (2014-05-10) image 
  - hangs audio applications like audioplay
2. port-arm/48855
  i2cscan on RPi NetBSD build finds device for all addresses
3. i2c problem reported from "its sead".
  /usr/sbin/i2scan on iic0 or iic1 often crashes the device (also with the -r 
  (use writes) option)
4. cap_mkdb failed, on update terminfo db.
  https://twitter.com/uobikiemukot/status/487977340949893121

One more time: (we're gonna celebrate

 1. login root
 2. mlterm-fb 
 3. ftp http://mlterm.sf.net/vimperator.six
 4. cat vimperator.six
 5. exit 
 6. mlterm-fb --rotate=left
 7. cat vimperator.six

--
Jun Ebihara


Home | Main Index | Thread Index | Old Index