Erstmal soll der eher Werkzeug spielen, aber das wird dann ein anderer Thread... spääääter...
Da es aber für das süße kleine Biest auch BSD gibt, konnte ich nicht widerstehen, das wenigstens mal in "virtualmips", einem PIC32-Emulator, anzutesten.
Kernel und Filesystem sind binär ergattert, nur "virtualmips" hab ich lokal kompeilert...
Genau genommen hab ich den ChipKit-MAX32-Kernel getestet und nicht den für den Duinomite, da Ersterer in neuerer Version downloadbar war, aber das spielt letztlich keine Bratsche... schlimmstenfalls nur 'ne ganz winzige Geige...
Code: Alles auswählen
(yeti@darkstar:9)~/wrk/tmp$ ./pic32
VirtualMIPS (version 0.06-retrobsd)
Copyright (c) 2008 yajin, 2011 vak.
Build date: Dec 19 2014 06:38:28
Using configure file: pic32_max32.conf
ram_size: 128k bytes
boot_method: Binary
flash_type: NOR FLASH
flash_size: 492k bytes
flash_file_name: unix.bin
flash_phy_address: 0x1d000000
boot_from: NOR FLASH
sdcard_port: SPI4
sdcard0_size: 340M bytes
sdcard0_file_name: filesys.img
start_address: 0x9d001000
uart1_type = console
--- Start simulation: PC=0x9d001000, JIT disabled
2.11 BSD Unix for PIC32, revision 511 build 1:
Compiled 2012-02-26 by vak@Cobra.local:
/Volumes/Users/vak/Project/retrobsd/trunk/sys/pic32/max32
cpu: 795F512L 80 MHz, bus 80 MHz
oscillator: HS crystal, PLL div 1:2 mult x20
console: port UART1
sd: port SPI4, select pins D3, D4
sd0: type I, size 348160 kbytes, speed 13 Mbit/sec
phys mem = 128 kbytes
user mem = 96 kbytes
root dev = (0,0)
root size = 16384 kbytes
swap dev = root, offset 65
swap size = 2048 kbytes
/dev/sd0: 280 files, 9198 used, 7121 free
Starting daemons: update
2.11 BSD UNIX (pic32) (console)
login: root
Password:
Welcome to RetroBSD!
erase, kill ^U, intr ^C
# ls -l /
total 2063
-rwxrwxrwx 1 root 124 Feb 26 00:50 .profile
drwxrwxrwx 2 root 2048 Feb 26 00:50 bin
drwxrwxrwx 2 root 1024 Feb 26 00:50 dev
drwxrwxrwx 2 root 1024 Feb 26 00:50 etc
drwxrwxrwx 3 root 1024 Feb 26 00:50 games
drwxrwxrwx 3 root 1024 Feb 26 00:50 include
drwxrwxrwx 2 root 1024 Feb 26 00:50 lib
drwxrwxrwx 2 root 1024 Feb 26 00:50 libexec
drwxrwxrwx 2 root 1024 Feb 26 00:50 lost+found
drwxrwxrwx 2 root 1024 Feb 26 00:50 sbin
drwxrwxrwx 4 root 1024 Feb 26 00:50 share
-r-------- 1 root 2097152 Feb 26 00:50 swap
drwxrwxrwx 2 root 1024 Feb 26 00:50 tmp
drwxrwxrwx 2 root 1024 Feb 26 00:50 u
drwxrwxrwx 4 root 1024 Feb 26 00:50 var
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0 16319 9199 7120 56% /
# cd games
# ls
adventure bcd fish ppt worm
arithmetic canfield lib primes worms
backgammon cfscores morse rain wump
banner factor number teachgammon
# banner woot
#
# # ### ### ###
# # # # # # #
# # # # # # # #
# # # # # # # #
# # ### ### #
# factor 123456789
3
3
3607
3803
# cd /
# ls bin
[ col head nice rz test
adb comm hostid nm sb time
adc-demo cp hostname nohup scm touch
aout cpp id od sed tr
apropos date iostat pagesize setty true
ar dc join passwd sh tsort
as dd kill portio size tty
awk df la pr sl uname
basename diff last printf sleep uniq
basic du ld ps sort vi
bc echo ln pwd split vmstat
cal ed login ranlib strip w
cat egrep lol rb stty wall
cb expr ls re su wc
cc false mail renice sum whatis
chflags fgrep make renumber sx whereis
chfn file man retroforth sync who
chgrp find med rev sysctl whoami
chmod forth mesg rm sz write
chpass fstat mkdir rmail tail xargs
chsh grep more rmdir tar
cmp groups mv rx tee
# ls sbin
chown fastboot init mkpasswd pstat umount vipw
chroot fsck mkfs mount reboot update
disktool halt mknod poweroff shutdown updatedb
# awk
/bin/awk: too big
# echo ':.('
:.(
# halt
killing processes... done
syncing disks... done
halted
9d0025d4: wait instruction with interrupts disabled - stop the simulator.
--- Stop simulation
Mehr dazu gibt's bei http://retrobsd.org.
...vielleicht geht der Trend ja auch zum Zweit-Duinomite, wenn der Erstere generell überzeugt und als Werkzeug im Einsatz bleibt... ;-)