Kickstarter - HDMIPi Affordable 9" High-Def screen for the Raspberry Pi
Project name: HDMIPi Affordable 9" High-Def screen for the Raspberry Pi
power supply: 5W required, so 5V 1A should be enough
Raspberry Pi: model B 512 MB RAM
usb: 2 x usb 2.0 ports
Links
local links
Back to crowdfunding, machines page.
History
2024-08-16: mmcsd0s2a - timezone - I used tzsetup
to change to the correct timezone. Now it is
root@hdmipi:~ # date Fri Aug 16 18:15:04 CEST 2024
2024-08-16: mmcsd0s2a - overview
root@hdmipi:~ # date ; swapinfo -h ; df -h ; uptime Fri Aug 16 16:12:54 UTC 2024 Device Size Used Avail Capacity Filesystem Size Used Avail Capacity Mounted on /dev/ufs/rootfs 7.1G 2.4G 4.1G 37% / devfs 1.0K 0B 1.0K 0% /dev /dev/msdosfs/MSDOSBOOT 50M 14M 36M 28% /boot/msdos tmpfs 370M 4.0K 370M 0% /tmp 4:12PM up 13 mins, 1 user, load averages: 0.00, 0.02, 0.05
2024-08-16: fixed the HDMIPi. Common problem, the SD card was not properly inserted.
2024-08-04: unfortunately, it looks like the actual Pi in the HDMIPI won't boot. I'll have to take a look.
2024-08-04: mmcsd0s2a - freebsd-update fetch
root@hdmipi:~ # freebsd-update fetch src component not installed, skipped Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update1.freebsd.org... failed. Fetching public key from update2.freebsd.org... failed. Fetching public key from dualstack.aws.update.freebsd.org... failed. No mirrors remaining, giving up. This may be because upgrading from this platform (arm) or release (13.3-RELEASE) is unsupported by freebsd-update. Only platforms with Tier 1 support can be upgraded by freebsd-update. See https://www.freebsd.org/platforms/ for more info. If unsupported, FreeBSD must be upgraded by source.
ok, so that won't work.
2024-08-04: mmcsd0s2a - configure nsswitch.conf before
root@rpi-b:~ # grep hosts /etc/nsswitch.conf hosts: files dns
after
root@rpi-b:~ # grep hosts /etc/nsswitch.conf hosts: files mdns_minimal [NOTFOUND=return] dns mdns
2024-08-04: mmcsd0s2a - configure avahi-daemon and so on
root@rpi-b:~ # sysrc dbus_enable="YES" dbus_enable: -> YES root@rpi-b:~ # sysrc avahi_daemon_enable="YES" avahi_daemon_enable: -> YES
start
root@rpi-b:~ # service dbus start Starting dbus. root@rpi-b:~ # service avahi-daemon start Starting avahi-daemon.
verify
root@rpi-b:~ # service dbus status dbus is running as pid 2065. root@rpi-b:~ # service avahi-daemon status avahi_daemon is running as pid 2072.
2024-08-04: mmcsd0s2a - pkg - install pkg, nss_mdns and avahi-app
Mar 2 07:02:11 rpi-b pkg-static[1221]: pkg-1.19.2 installed Mar 2 07:50:46 rpi-b pkg[1349]: xorgproto-2020.1 installed Mar 2 07:50:49 rpi-b pkg[1349]: indexinfo-0.3.1 installed Mar 2 07:50:58 rpi-b pkg[1349]: libXau-1.0.9 installed Mar 2 07:50:59 rpi-b pkg[1349]: libpthread-stubs-0.4 installed Mar 2 07:51:03 rpi-b pkg[1349]: libXdmcp-1.1.3 installed Mar 2 07:51:13 rpi-b pkg[1349]: libICE-1.0.10,1 installed Mar 2 07:51:18 rpi-b pkg[1349]: libffi-3.3_1 installed Mar 2 07:51:57 rpi-b pkg[1349]: gettext-runtime-0.21 installed Mar 2 07:52:11 rpi-b pkg[1349]: readline-8.0.4_1 installed Mar 2 08:06:20 rpi-b pkg[1349]: libxcb-1.14_1 installed Mar 2 08:06:30 rpi-b pkg[1349]: libSM-1.2.3,1 installed Mar 2 08:07:28 rpi-b pkg[1349]: pcre-8.44 installed Mar 2 08:07:35 rpi-b pkg[1349]: libiconv-1.16 installed Mar 2 08:48:32 rpi-b pkg[1349]: python37-3.7.9_1 installed Mar 2 08:55:01 rpi-b pkg[1349]: libX11-1.6.12,1 installed Mar 2 08:55:10 rpi-b pkg[1349]: expat-2.2.10 installed Mar 2 08:55:36 rpi-b pkg[1349]: libxml2-2.9.10_2 installed Mar 2 08:58:25 rpi-b pkg[1349]: glib-2.66.4_1,1 installed Mar 2 08:59:28 rpi-b pkg[1349]: dbus-1.12.20_3 installed Mar 2 08:59:31 rpi-b pkg[1349]: gnome_subr-1.0 installed Mar 2 08:59:40 rpi-b pkg[1349]: dbus-glib-0.110 installed Mar 2 08:59:53 rpi-b pkg[1349]: libdaemon-0.14_1 installed Mar 2 09:00:25 rpi-b pkg[1349]: libevent-2.1.12 installed Mar 2 09:00:54 rpi-b pkg[1349]: gdbm-1.19 installed Mar 2 09:01:51 rpi-b pkg[1349]: avahi-app-0.8 installed Mar 2 09:02:00 rpi-b pkg[1349]: nss_mdns-0.14.1.20200624 installed
2024-08-04: mmcsd0s2a - new SD card (Transcend, 8GB this one too), new install, I booted it in another Pi just to checak and configure some things
root@rpi-b:~ # freebsd-version -ku 13.3-RELEASE 13.3-RELEASE
gpart info
=> 63 15523777 mmcsd0 MBR (7.4G) 63 961 - free - (481K) 1024 102400 mmcsd0s1 fat32lba [active] (50M) 103424 15420416 mmcsd0s2 freebsd (7.4G) => 0 15420416 mmcsd0s2 BSD (7.4G) 0 128 - free - (64K) 128 15420288 mmcsd0s2a freebsd-ufs (7.4G)
df info
root@rpi-b:~ # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ufs/rootfs 7.1G 2.1G 4.4G 33% / devfs 1.0K 0B 1.0K 0% /dev /dev/msdosfs/MSDOSBOOT 50M 14M 36M 28% /boot/msdos tmpfs 59M 4.0K 59M 0% /tmp
boot files
root@rpi-b:~ # ls -l /boot/msdos total 12804 drwxr-xr-x 1 root wheel 4096 Mar 2 06:48 EFI -rwxr-xr-x 1 root wheel 28822 Apr 5 2023 bcm2708-rpi-b-plus.dtb -rwxr-xr-x 1 root wheel 28503 Apr 5 2023 bcm2708-rpi-b.dtb -rwxr-xr-x 1 root wheel 28246 Apr 5 2023 bcm2708-rpi-cm.dtb -rwxr-xr-x 1 root wheel 29539 Apr 5 2023 bcm2708-rpi-zero-w.dtb -rwxr-xr-x 1 root wheel 52476 Apr 5 2023 bootcode.bin -rwxr-xr-x 1 root wheel 89 Mar 2 03:10 config.txt drwxr-xr-x 1 root wheel 4096 Mar 2 06:48 dtb -rwxr-xr-x 1 root wheel 7266 Apr 5 2023 fixup.dat -rwxr-xr-x 1 root wheel 3173 Apr 5 2023 fixup_cd.dat -rwxr-xr-x 1 root wheel 10230 Apr 5 2023 fixup_db.dat -rwxr-xr-x 1 root wheel 10228 Apr 5 2023 fixup_x.dat drwxr-xr-x 1 root wheel 4096 Mar 2 06:48 overlays -rwxr-xr-x 1 root wheel 2975680 Apr 5 2023 start.elf -rwxr-xr-x 1 root wheel 805756 Apr 5 2023 start_cd.elf -rwxr-xr-x 1 root wheel 4819624 Apr 5 2023 start_db.elf -rwxr-xr-x 1 root wheel 3722504 Apr 5 2023 start_x.elf -rwxr-xr-x 1 root wheel 551276 Mar 2 02:59 u-boot.bin
2024-08-04: c2 - the machine has been offline for a while. Today I took out the card and tried to fsck it
root@kg-core2:~ # gpart show -p da5 => 63 15523777 da5 MBR (7.4G) 63 1008 - free - (504K) 1071 102312 da5s1 fat32lba [active] (50M) 103383 15420457 da5s2 freebsd (7.4G)
the fat32 partiton
root@kg-core2:~ # fsck_msdosfs -y /dev/da5s1 ** /dev/da5s1 ** Phase 1 - Read FAT and checking connectivity ** Phase 2 - Checking Directories Unable to read directoryUnable to read directoryUnable to read directoryroot@kg-core2:~ #
opps. Try the freebsd partion then
root@kg-core2:~ # fsck -y /dev/da5s2 Cannot find file system superblock Cannot find file system superblock
ok, so the Pi probably ate that card. Do I want to sacrifice another one? One more try first
root@kg-core2:~ # fsck_msdosfs -y /dev/da5s1 ** /dev/da5s1 ** Phase 1 - Read FAT and checking connectivity ** Phase 2 - Checking Directories ** Phase 3 - Checking for Lost Files 29 files, 36 MiB free (9140 clusters)
hmm, it helps to check that you are working on the correct bits
root@kg-core2:~ # fsck -y /dev/da5s2a [..] CANNOT READ BLK: 704 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, fsck: /dev/da5s2a: Segmentation fault
not good. Another try
[..] CANNOT READ BLK: 832 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, fsck: /dev/da5s2a: Segmentation fault
so no - its a goner.
2021-08-29: mmcsd0s2a - enable mdns in /etc/nsswitch.conf before
root@hdmipi:~ # grep hosts /etc/nsswitch.conf hosts: files dns
after
root@hdmipi:~ # grep hosts /etc/nsswitch.conf hosts: files mdns_minimal [NOTFOUND=return] dns mdns
2021-08-29: mmcsd0s2a - enable avahi-damon in /etc/rc.conf (it also requires dbus)
root@hdmipi:~ # sysrc dbus_enable="YES" dbus_enable: -> YES root@hdmipi:~ # sysrc avahi_daemon_enable="YES" avahi_daemon_enable: -> YES
start the services
root@hdmipi:~ # service dbus start Starting dbus. root@hdmipi:~ # service avahi-daemon start Starting avahi-daemon.
verify that they are running
root@hdmipi:~ # service dbus status dbus is running as pid 5574. root@hdmipi:~ # service avahi-daemon status avahi_daemon is running as pid 5583.
good.
2021-08-29: mmcsd0s2a - pkg - install avahi-app
Aug 29 13:08:34 hdmipi pkg[5038]: xorgproto-2020.1 installed Aug 29 13:08:41 hdmipi pkg[5038]: indexinfo-0.3.1 installed Aug 29 13:08:43 hdmipi pkg[5038]: libXdmcp-1.1.3 installed Aug 29 13:08:47 hdmipi pkg[5038]: libXau-1.0.9 installed Aug 29 13:08:47 hdmipi pkg[5038]: libpthread-stubs-0.4 installed Aug 29 13:09:10 hdmipi pkg[5038]: readline-8.0.4_1 installed Aug 29 13:09:23 hdmipi pkg[5038]: libffi-3.3_1 installed Aug 29 13:10:17 hdmipi pkg[5038]: gettext-runtime-0.21 installed Aug 29 13:29:31 hdmipi pkg[5038]: libxcb-1.14_1 installed Aug 29 13:29:43 hdmipi pkg[5038]: libICE-1.0.10,1 installed Aug 29 13:29:53 hdmipi pkg[5038]: expat-2.2.10 installed Aug 29 13:30:46 hdmipi pkg[5038]: libxml2-2.9.10_2 installed Aug 29 14:12:31 hdmipi pkg[5038]: python37-3.7.9_1 installed Aug 29 14:14:01 hdmipi pkg[5038]: pcre-8.44 installed Aug 29 14:14:12 hdmipi pkg[5038]: libiconv-1.16 installed Aug 29 14:19:03 hdmipi pkg[5038]: libX11-1.6.12,1 installed Aug 29 14:19:18 hdmipi pkg[5038]: libSM-1.2.3,1 installed Aug 29 14:20:55 hdmipi pkg[5038]: glib-2.66.4_1,1 installed Aug 29 14:21:52 hdmipi pkg[5038]: dbus-1.12.20_3 installed Aug 29 14:21:59 hdmipi pkg[5038]: gnome_subr-1.0 installed Aug 29 14:22:18 hdmipi pkg[5038]: libevent-2.1.12 installed Aug 29 14:22:34 hdmipi pkg[5038]: libdaemon-0.14_1 installed Aug 29 14:22:58 hdmipi pkg[5038]: dbus-glib-0.110 installed Aug 29 14:23:07 hdmipi pkg[5038]: gdbm-1.19 installed Aug 29 14:23:56 hdmipi pkg[5038]: avahi-app-0.8 installed
extracting packages is sloooow on this machine. install nss_mdns too
Aug 29 14:28:18 hdmipi pkg[5461]: nss_mdns-0.14.1.20200624 installed
2021-08-29: mmcsd0s2a - pkg - changed to "latest" repo
root@hdmipi:~ # pkg -vv | grep url url : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:armv6/latest",
by addding this repo file
root@hdmipi:~ # cat /usr/local/etc/pkg/repos/FreeBSD.conf # $FreeBSD$ # # To disable this repository, instead of modifying or removing this file, # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf # FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes }
2021-08-27: mmcsd0s2a - pkg - bootstrap
root@hdmipi:~ # pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:armv6/quarterly, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.16.3... Extracting pkg-1.16.3: 100%
pkg update as well
root@hdmipi:~ # pkg update Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date.
2021-08-27: mmcsd0s2a - the machine got powered on after a circuit breaker tripped and was reset. It got a new ip address again
root@hdmipi:~ # ifconfig ue0 ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=80009<RXCSUM,VLAN_MTU,LINKSTATE> ether 36:29:4a:df:c3:53 inet 10.1.161.29 netmask 0xffff0000 broadcast 10.1.255.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
2021-08-14: mmcsd0s2a - I wrote FreeBSD 13.0-release to a 8 GB SD card, and booted that:
root@hdmipi:~ # freebsd-version -ku 13.0-RELEASE 13.0-RELEASE
kernel
root@hdmipi:~ # uname -a FreeBSD hdmipi 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 06:30:27 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm.armv6/sys/RPI-B arm
all so far. Oh, one more thing - it got a new ip adress again
root@hdmipi:~ # ifconfig ue0 ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=80009<RXCSUM,VLAN_MTU,LINKSTATE> ether 6e:e6:03:87:ff:33 inet 10.1.161.16 netmask 0xffff0000 broadcast 10.1.255.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
2021-08-13: the machine hadn't booted properly since the firwall incident, so I took out the SD card and ran fsck on both partitions, like so
fsck_msdosfs -y /dev/da0s1
and fsck -y /dev/da0s2
. After that, put the card back into the HDMIPi and booted. This time It got a new ip address:
10.1.161.14. Still runs ancient 10.1-release
root@raspberry-pi:~ # freebsd-version -ku 10.1-RELEASE 10.1-RELEASE
kernel
root@raspberry-pi:~ # uname -a FreeBSD raspberry-pi 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed Nov 12 04:42:19 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm
more info
root@raspberry-pi:~ # hostname raspberry-pi root@raspberry-pi:~ # ifconfig ue0 ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=80001<RXCSUM,LINKSTATE> ether b8:27:eb:af:dc:41 inet 10.1.161.14 netmask 0xffff0000 broadcast 10.1.255.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
consider upgrading now?
2021-08-13: I re-created this page on my self-hosted web server.
2019-10-07: I ran fsck on both partitions on the SD card, and now the Pi is booting again:
root@raspberry-pi:~ # date ; freebsd-version -ku Mon Oct 7 16:25:54 UTC 2019 10.1-RELEASE 10.1-RELEASE
kernel
root@raspberry-pi:~ # uname -a FreeBSD raspberry-pi 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed Nov 12 04:42:19 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm
perhaps time to upgrade? Partitions look like this
root@raspberry-pi:~ # gpart show -p mmcsd0 => 1 7829503 mmcsd0 MBR (3.7G) 1 62 - free - (31K) 63 34776 mmcsd0s1 !12 [active] (17M) 34839 7794612 mmcsd0s2 freebsd (3.7G) 7829451 53 - free - (27K)
more info
root@raspberry-pi:~ # date ; swapinfo -h ; df -h ; uptime Mon Oct 7 16:22:17 UTC 2019 Device 1K-blocks Used Avail Capacity Filesystem Size Used Avail Capacity Mounted on /dev/mmcsd0s2a 3.6G 388M 2.9G 11% / devfs 1.0K 1.0K 0B 100% /dev /dev/mmcsd0s1 17M 3.4M 14M 20% /boot/msdos /dev/md0 29M 24K 26M 0% /tmp /dev/md1 14M 56K 13M 0% /var/log /dev/md2 4.4M 8.0K 4.0M 0% /var/tmp 4:22PM up 6 mins, 1 user, load averages: 0.04, 0.08, 0.06
ok
2019-10-07: I replaced the PSU with a new usb charger I bought a while ago, and now the HDMIPi is working again.
2019-09-11 this evening the HDMIPi screen is blinking. Either the PSU (usb charger, 5V 2.5A ) is broken or something else.
2016-10-08: Hmm, it stopped at mountroot again, and I "fixed" it by removing power and applying it again. Not sure why it stopped this time:
tingo@kg-core1$ ssh tingo@10.1.161.5 Password for tingo@raspberry-pi: [...] root@raspberry-pi:~ # dmesg | egrep root\|WARNING root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
What does fsck say?
root@raspberry-pi:~ # fsck / ** /dev/mmcsd0s2a (NO WRITE) USE JOURNAL? no ** Skipping journal, falling through to full fsck SETTING DIRTY FLAG IN READ_ONLY MODE UNEXPECTED SOFT UPDATE INCONSISTENCY ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 13485 files, 99286 used, 842761 free (817 frags, 105243 blocks, 0.1% fragmentation)
ok, so it doesn't like it.
2016-10-08: the Pi didn't boot correctly this time either, so I powered it off, took out the SD card and put it into a card reader on one of my other FreeBSD machines, where it shows up as da0:
root@kg-v7# l /dev/da0* /dev/da0 /dev/da0s1 /dev/da0s2 /dev/da0s2a
run fsck on da0s2a:
root@kg-v7# fsck_ufs -y /dev/da0s2a ** /dev/da0s2a USE JOURNAL? yes ** SU+J Recovering /dev/da0s2a ** Reading 4194304 byte journal from inode 4. RECOVER? yes ** Building recovery table. ** Resolving unreferenced inode list. ** Processing journal entries. WRITE CHANGES? yes ** 40 journal records in 6656 bytes for 19.23% utilization ** Freed 0 inodes (0 dirs) 0 blocks, and 0 frags. ***** FILE SYSTEM MARKED CLEAN *****
verify
root@kg-v7# fsck_ufs -y /dev/da0s2a ** /dev/da0s2a USE JOURNAL? yes ** SU+J Recovering /dev/da0s2a Journal timestamp does not match fs mount time ** Skipping journal, falling through to full fsck ** Last Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups BLK(S) MISSING IN BIT MAPS SALVAGE? yes 13485 files, 99287 used, 842760 free (808 frags, 105244 blocks, 0.1% fragmentation) ***** FILE SYSTEM IS CLEAN ***** ***** FILE SYSTEM WAS MODIFIED *****
once more
root@kg-v7# fsck_ufs -y /dev/da0s2a ** /dev/da0s2a USE JOURNAL? yes ** SU+J Recovering /dev/da0s2a Journal timestamp does not match fs mount time ** Skipping journal, falling through to full fsck ** Last Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 13485 files, 99287 used, 842760 free (808 frags, 105244 blocks, 0.1% fragmentation) ***** FILE SYSTEM IS CLEAN ***** ***** FILE SYSTEM WAS MODIFIED *****
good enough.
2016-09-24: I noticed that the Pi in the HDMIPi hadn't booted correctly. Switching to HDMI1 input, it had stopped at mountroot. fixed by removing power from the HDMIPi and powering on again. ssh test
[tingo@localhost ~]$ ssh 10.1.161.5 Password for tingo@raspberry-pi: Last login: Sat Sep 24 17:54:12 2016 from 10.1.161.33 FreeBSD 10.1-RELEASE (RPI-B) #0 r274401: Wed Nov 12 04:42:19 UTC 2014 Welcome to FreeBSD!
ok. From dmesg:
root@raspberry-pi:~ # dmesg | egrep root\|WARNING root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... WARNING: / was not properly dismounted
Hmm, I wonder if it did run fsck at all?
root@raspberry-pi:~ # fsck / ** /dev/mmcsd0s2a (NO WRITE) USE JOURNAL? no ** Skipping journal, falling through to full fsck SETTING DIRTY FLAG IN READ_ONLY MODE UNEXPECTED SOFT UPDATE INCONSISTENCY ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups BLK(S) MISSING IN BIT MAPS SALVAGE? no 13485 files, 99287 used, 842760 free (816 frags, 105243 blocks, 0.1% fragmentation)
nope, doesn't look like it.
2016-01-08: I should test if graphics/zgv works on a RPI. Perhaps via the experimental pkg repository, which supposedly is available if you run -CURRENT.
2016-01-08: mmcsd0s2a - packages?
root@raspberry-pi:~ # pkg info The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:armv6:32:el:eabi:softfp/latest, please wait... pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:armv6:32:el:eabi:softfp/latest/Latest/pkg.txz: No address record A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
retry.
root@raspberry-pi:~ # pkg info The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:armv6:32:el:eabi:softfp/latest, please wait... pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:armv6:32:el:eabi:softfp/latest/Latest/pkg.txz: Not Found A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
not for pkg then.
2016-01-08: mmcsd0s2a - it still runs FreeBSD 10.1-release:
$ uname -a FreeBSD raspberry-pi 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed Nov 12 04:42:19 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm $ freebsd-version -ku 10.1-RELEASE 10.1-RELEASE
ok.
2016-01-08: ssh to the HDMIPi:
tingo@kg-core1$ ssh 10.1.161.5 Password for tingo@raspberry-pi: Last login: Fri Jan 8 15:55:06 2016 from kg-core1.kg4.no FreeBSD 10.1-RELEASE (RPI-B) #0 r274401: Wed Nov 12 04:42:19 UTC 2014 Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier Edit /etc/motd to change this login announcement. To change an environment variable in tcsh you use: setenv NAME "value" where NAME is the name of the variable and "value" its new value. $
ok.
2015-11-14: mmcsd0s2a - info: dmesg output: normal.
$ uname -a FreeBSD raspberry-pi 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed Nov 12 04:42:19 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm $ df -h Filesystem Size Used Avail Capacity Mounted on /dev/mmcsd0s2a 3.6G 388M 2.9G 11% / devfs 1.0K 1.0K 0B 100% /dev /dev/mmcsd0s1 17M 3.4M 14M 20% /boot/msdos /dev/md0 29M 24K 26M 0% /tmp /dev/md1 14M 56K 13M 0% /var/log /dev/md2 4.4M 8.0K 4.0M 0% /var/tmp
md info
root@raspberry-pi:~ # mdconfig -lv md0 swap 30M md1 swap 15M md2 swap 5120K
gpart info
root@raspberry-pi:~ # gpart show -p => 1 7829503 mmcsd0 MBR (3.7G) 1 62 - free - (31K) 63 34776 mmcsd0s1 !12 [active] (17M) 34839 7794612 mmcsd0s2 freebsd (3.7G) 7829451 53 - free - (27K) => 0 7794612 mmcsd0s2 BSD (3.7G) 0 105 - free - (53K) 105 7794432 mmcsd0s2a freebsd-ufs (3.7G) 7794537 75 - free - (38K)
pci info
root@raspberry-pi:~ # pciconf -lv pciconf: /dev/pci: No such file or directory
right, the PI doesn't have PCI. get a copy of dmesg output and save it away:
root@raspberry-pi:~ # dmesg > /tmp/hdmipi-dmesg-10.1-rel-20151114.txt root@raspberry-pi:~ # scp /tmp/hdmipi-dmesg-10.1-rel-20151114.txt tingo@c1:~/work/1_dmesg/ Password for tingo@kg-core1.kg4.no: hdmipi-dmesg-10.1-rel-20151114.txt 100% 4039 3.9KB/s 00:00
ok.
2015-11-14: mmcsd0s2a -set up ntp (this Pi doesn't have a RTC):
root@raspberry-pi:~ # more /etc/ntp.conf server 10.1.10.1 iburst
and in /etc/rc.conf:
root@raspberry-pi:~ # grep ^ntp /etc/rc.conf ntpd_enable="YES" ntpd_sync_on_start="YES"
start it:
root@raspberry-pi:/etc # service ntpd start Starting ntpd.
verify
root@raspberry-pi:~ # service ntpd status ntpd is running as pid 708.
ok.
2015-11-14: today I set up my HDMIPi as a display for my new firewall. Since this implies that it will be "always on", I connected it to the network too.
tingo@kg-core1$ ssh tingo@10.1.161.5 Password for tingo@raspberry-pi: Last login: Wed Nov 12 12:33:25 2014 from kg-core1.kg4.no FreeBSD 10.1-RELEASE (RPI-B) #0 r274401: Wed Nov 12 04:42:19 UTC 2014 Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier Edit /etc/motd to change this login announcement. To obtain a neat PostScript rendering of a manual page, use ``-t'' switch of the man(1) utility: ``man -t <topic>''. For example: man -t grep > grep.ps # Save the PostScript version to a file or man -t printf | lp # Send the PostScript directly to printer $
Not sure what I'm going to use it for. Perhaps it can be used as a home automation display?
2015-02-12: I picked up the package with the book "Learning Python with Raspberry Pi" at my local PIB (Rimi Trondheimsveien).
2015-02-05: got a shipping notice fro CDOn for the book "Learning Python with Raspberry Pi".
2015-02-01: notice from CDON: delivery of the book "Learning Python with Raspberry Pi" will be delayed.
2015-01-27: assembled the HDMIPi by following the instructions. afterwards, it works. You need tweezers or small pliers to get the SDcard out, and ethernet cables without the "lock" on the connector works best.
2015-01-27: testing the new Raspberry Pi. I connected it to HDMI,Ethernet and a usb keyboard, and inserted a Lexar 4GB SDcard with FreeBSD 10.1-release (official image on it). It works:
$ uname -a FreeBSD raspberry-pi 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Wed Nov 12 04:42:19 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm interesting parts from dmesg: real memory = 536866816 (511 MB) avail memory = 482893824 (460 MB) mmcsd0: 4GB <SDHC LEXAR 0.0 SN B50970C9 MFG 10/2011 by 40 BE> at mmc0 25.0MHz/1bit/65535-block fb0: 1824x984(0x0@0,0) 16bpp fb0: pitch 3648, base 0x5e006000, screen_size 3618816 fbd0 on fb0 VT: initialize with new VT driver "fb".
nothing more.
2015-01-27: I got a pick-up notice (text message + email) and picked up a Raspberry Pi model B at PIB Rimi Trondheimsveien on my way back home from work this afternoon. The book remains to be shipped.
2015-01-24: I ordered a Raspberry Pi model B 512 MB RAM from CDON.no for NOK 289.- (it was on sale) together with a book "Learning Python with Raspberry Pi" for NOK 159.- (also on sale). Shipping was NOK 49.- so in total NOK 497.-
2015-01-24: got the invoice from DHL Express in my mail today. MVA (value added tax) is NOK 243.- and handling is NOK 165.- for a total of NOK 408.- for shipping. Today UKP 85.- is about 982.60 so the HDMIPi cost me NOK 1390.60 in total.
2015-01-19: this evening, DHL Express delivered my HDMIPi package!. Contents of package:
1 x paper (A5) describing the contents 1 x plastic bag (hardware) - bolts, nuts, hex spacers 1 x short HDMI connector 1 x short right-angle USB-microUSB cable 1 x HDMIPi Driver Board 1 x LCD Panel 1 x case (clear frame)
Instructions at hdmipi.com/instructions
2015-01-14: I was contacted by Cyntech - they needed one more piece of information from me before they could ship my HDMIPi. I promptly responded.
2014-09-01: I got a "shipping soon" notice from the project.
2014-05-25: I responded to the survey, selecting a colourless frame.
2014-05-23: the project sent out the response survey.
2013-11-30: the project was funded.
2013-11-08: I backed this project with UKP 85.- for a reward of "HDMIPi standard: 9" HDMIPi 1280x800 LCD, driver board, plastic surround". Estimated delivery February 2014.