goflex:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
goflex:start [2011/05/04 00:34] – neutronscott | goflex:start [2023/11/04 22:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Seagate GoFlex Home Hacks // Debian ====== | ||
+ | |||
Lots of people working on this. But the information is scattered, and I've not seen the point to some of it... Guess if you want something done right, you have to do it yourself? ;) | Lots of people working on this. But the information is scattered, and I've not seen the point to some of it... Guess if you want something done right, you have to do it yourself? ;) | ||
I started this 4/23 so this is a work-in-progress, | I started this 4/23 so this is a work-in-progress, | ||
+ | |||
+ | [edit: 8/1] I guess it'll be some time. This project was short lived. I got debian on it and then it's done. ha. been running fine just another computer on the network now... | ||
+ | |||
+ | ===== bootrom disassembly ===== | ||
+ | someone with dockstar-like device (bootrom 1.11) asked for my dump to compare and see why they cannot boot from serial as we can. my results: | ||
+ | |||
+ | ASCII dump from U-boot: http:// | ||
+ | Binary file: http:// | ||
+ | Simple objdump disassemble: | ||
+ | |||
===== external serial port ===== | ===== external serial port ===== | ||
Line 11: | Line 23: | ||
it says it includes the debian patches, but it comes up as normal 2.6.32... meh. | it says it includes the debian patches, but it comes up as normal 2.6.32... meh. | ||
- | I added a bit also to arch/ | + | I added a bit also to arch/ |
We can start serial commands at u-boot to load USB key with [[http:// | We can start serial commands at u-boot to load USB key with [[http:// | ||
Line 22: | Line 34: | ||
[[goflex: | [[goflex: | ||
- | Creation of the USB key or even ext2 partition on the SATA can be easy with debootstrap. I will attempt emdebian' | + | Creation of the USB key or even ext2 partition on the SATA can be easy with debootstrap. I will attempt emdebian' |
http:// | http:// | ||
Line 104: | Line 116: | ||
===== lcd4linux ===== | ===== lcd4linux ===== | ||
- | Somewhat unrelated, but I attached a Coby DP-152 I got for $5. Edited the example a bit. 500ms refreshes seem to take about 11% CPU so 5s refreshes take 1% which is more acceptable. Large thread about these little 128x128 LCDs found here: http:// | + | Somewhat unrelated, but I attached a Coby DP-152 I got for $5. Edited the example a bit. Here's [[http:// |
- | + | ||
- | <file - lcd4linux.conf> | + | |
- | Display st2205u { | + | |
- | Driver | + | |
- | Port '/ | + | |
- | Font ' | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | Basecolor | + | |
- | } | + | |
- | + | ||
- | Widget Banner { | + | |
- | class ' | + | |
- | expression ' | + | |
- | width 21 | + | |
- | align ' | + | |
- | Background ' | + | |
- | Foreground ' | + | |
- | } | + | |
- | + | ||
- | Widget Users { | + | |
- | class ' | + | |
- | expression exec(' | + | |
- | width 8 | + | |
- | align ' | + | |
- | update tick | + | |
- | Background ' | + | |
- | } | + | |
- | + | ||
- | + | ||
- | Widget RAM { | + | |
- | class ' | + | |
- | expression (meminfo(' | + | |
- | postfix ' MB RAM' | + | |
- | width 11 | + | |
- | precision 0 | + | |
- | align ' | + | |
- | update tick | + | |
- | Background ' | + | |
- | } | + | |
- | + | ||
- | Widget Busy { | + | |
- | class ' | + | |
- | expression proc_stat:: | + | |
- | prefix ' | + | |
- | postfix ' | + | |
- | width 13 | + | |
- | precision 1 | + | |
- | align ' | + | |
- | update tick | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | } | + | |
- | + | ||
- | Widget BusyBar { | + | |
- | class ' | + | |
- | expression | + | |
- | expression2 proc_stat:: | + | |
- | length 21 | + | |
- | direction ' | + | |
- | update tack | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | BarColor0 ' | + | |
- | BarColor1 ' | + | |
- | } | + | |
- | + | ||
- | Widget Load { | + | |
- | class ' | + | |
- | expression loadavg(1) | + | |
- | prefix ' | + | |
- | postfix loadavg(1)> | + | |
- | width 13 | + | |
- | precision 1 | + | |
- | align ' | + | |
- | update tick | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | } | + | |
- | + | ||
- | Widget LoadBar { | + | |
- | class ' | + | |
- | expression | + | |
- | max 2.0 | + | |
- | length 21 | + | |
- | direction ' | + | |
- | update tack | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | BarColor0 ' | + | |
- | BarColor1 ' | + | |
- | } | + | |
- | + | ||
- | + | ||
- | Widget Disk { | + | |
- | class ' | + | |
- | # disk.[rw]blk return blocks, we assume a blocksize of 512 | + | |
- | # to get the number in kB/s we would do blk*512/ | + | |
- | # expression (proc_stat:: | + | |
- | # with kernel 2.6, disk_io disappeared from /proc/stat but moved to / | + | |
- | # therefore you have to use another function called ' | + | |
- | expression diskstats(' | + | |
- | prefix ' | + | |
- | postfix ' ' | + | |
- | width 13 | + | |
- | precision 0 | + | |
- | align ' | + | |
- | update tick | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | } | + | |
- | + | ||
- | Widget DiskBar { | + | |
- | class ' | + | |
- | expression | + | |
- | expression2 diskstats(' | + | |
- | length 21 | + | |
- | direction ' | + | |
- | update tack | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | BarColor0 ' | + | |
- | BarColor1 ' | + | |
- | } | + | |
- | + | ||
- | Widget Eth0 { | + | |
- | class ' | + | |
- | expression (netdev(' | + | |
- | prefix ' | + | |
- | postfix ' kbit/ | + | |
- | width 19 | + | |
- | precision 1 | + | |
- | align ' | + | |
- | update tick | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | } | + | |
- | + | ||
- | Widget Eth0Bar { | + | |
- | class ' | + | |
- | expression | + | |
- | expression2 netdev(' | + | |
- | length 21 | + | |
- | direction ' | + | |
- | update tack | + | |
- | Foreground ' | + | |
- | Background ' | + | |
- | BarColor0 ' | + | |
- | BarColor1 ' | + | |
- | } | + | |
- | + | ||
- | Widget Uptime { | + | |
- | class ' | + | |
- | expression uptime(' | + | |
- | width 20 | + | |
- | align ' | + | |
- | prefix 'Up ' | + | |
- | update 1000 | + | |
- | Background ' | + | |
- | } | + | |
- | + | ||
- | Layout mylayout { | + | |
- | Row01.Col01 ' | + | |
- | Row02.Col01 ' | + | |
- | Row02.Col10 ' | + | |
- | Row04.Col01 ' | + | |
- | Row05.Col01 ' | + | |
- | Row06.Col01 ' | + | |
- | Row07.Col01 ' | + | |
- | Row08.Col01 ' | + | |
- | Row09.Col01 ' | + | |
- | Row10.Col01 ' | + | |
- | Row11.Col01 ' | + | |
- | Row16.Col01 ' | + | |
- | } | + | |
- | + | ||
- | ############ | + | |
- | Display ' | ||
- | Layout ' | ||
- | Variables { | ||
- | tick 5000 | ||
- | tack 2000 | ||
- | minute 60000 | ||
- | } | ||
- | </ |
goflex/start.1304469243.txt.gz · Last modified: 2023/11/04 22:29 (external edit)