Port-arm archive

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

2015-03-13-netbsd-raspi-earmv6hf.img (Re: Raspberry Pi update please.)



I've updated 2015-03-13-netbsd-raspi-earmv6hf.img.gz for RPI and RPI2.

ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2015-03-13-earmv6hf/2015-03-13-netbsd-raspi-earmv6hf.img.gz

Overview:
  http://wiki.NetBSD.org/ports/evbarm/raspberry_pi/

Update:
- RPI2 support (btw single processor enabled)
  RPI and RPI2 can boot with this image.
- For Cubieboard 2 and BananaPI users, 2015-03-13-earmv7hf for RPI2 only.
  ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2015-03-13-earmv7hf/
- NetBSD-current 7.99.6 evbarm-earmv6hf 201503081520Z from nyftp.
- pkgsrc-current 2015-03-07 tarball from ftp.NetBSD.

GPU - omxplayer and ioquake3-raspberrypi support
  After "Growing the root file-system"
  pkg_add omxplayer
  pkg_add youtube-dl
  youtube-dl https://www.youtube.com/watch?v=wG8ZCC8IwvM
  omxplayer *

I2C - "Raspberry Pi I2C implementation still broken?"
  http://mail-index.netbsd.org/port-arm/2015/02/10/msg002853.html
  "I can confirm the IOCTL is fixed, and can now successfully program I2C 
  EEPROMs using NetBSD on the Pi."
  NetBSD RPi i2c sample code:
   https://gist.github.com/cr1901/76af0b3db9e9001a8d5b
   http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48855
   http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48932

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/earmv6hf/2015-03-13/

 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.

Growing the root file-system:
  use disklabel -i and resize_ffs
  http://wiki.netbsd.org/ports/evbarm/raspberry_pi/

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.15-netbsd6-evbarm-earmv6hf.tgz for evaluation.
  3. pkg_add musica-0.3.15-netbsd6-evbarm-earmv6hf.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.

Todo:
- bcm2708_fb.fbswap
  http://mail-index.netbsd.org/source-changes/2015/01/21/msg062550.html
- Try light-desktop:
  http://wiki.netbsd.org/light-desktop/
- Summarize /usr/tests atf result on earm/earmhf/earmv6hf.
- 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
- RPI.rst in english.

pkgsrc Todo:
- openjdk7/8
- lang/go
- www/firefox


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

For AsiaBSDCon2015 demonstration use, I've updated raspberry-pi image.

 https://www.facebook.com/events/919788151384409/
 https://www.facebook.com/NetBSD.jp 
 https://www.soum.co.jp/~jun/asiabsdcon2015.pdf
 https://github.com/ebijun/NetBSD/blob/master/Guide/Place/asiabsdcon.rst

- NetBSD 7.99.6 earmv6hf 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: 2015-03-07 tree inside.
  - pre-build packages
    ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2015-03-13/

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/48855
  i2cscan on RPi NetBSD build finds device for all addresses
2. i2c problem reported from "its sead".
  /usr/sbin/i2scan on iic0 or iic1 often crashes the device (also with the -r 
  (use writes) option)
3. 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