# HG changeset patch # User Rob Landley # Date 1353029522 21600 # Node ID 51d23189cb66a86eb5d13461857551ae18255795 # Parent 608b949756b6c1f8b83b965c5d7ad6bea46f0854 Infrastructure to recreate screenshots directory. diff -r 608b949756b6 -r 51d23189cb66 www/screenshots/footer.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/screenshots/footer.html Thu Nov 15 19:32:02 2012 -0600 @@ -0,0 +1,1 @@ +../footer.html \ No newline at end of file diff -r 608b949756b6 -r 51d23189cb66 www/screenshots/header.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/screenshots/header.html Thu Nov 15 19:32:02 2012 -0600 @@ -0,0 +1,1 @@ +../header.html \ No newline at end of file diff -r 608b949756b6 -r 51d23189cb66 www/screenshots/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/screenshots/index.html Thu Nov 15 19:32:02 2012 -0600 @@ -0,0 +1,268 @@ + +Available Targets + + + +

Each $TARGET includes some or all of the following links. Click on +the link name to get a description.

+ + +

The following $TARGET families are available:

+ + + + + + +

ARM


+ +
+

ARMv4l

+

ARMv4, little endian, soft float, OABI

+ + +
+ +
+

ARMv4tl

+

ARMv4t, little endian, soft float, EABI

+ + +
+ +
+

ARMv5l

+

ARMv5, little endian, VFP, EABI

+ + +
+

ARMv6l

+

ARMv6, little endian, VFP, EABI

+ + +
+ + + + +

Mips

+ +
+

Mips

+

MIPS r4k, big endian

+ + +
+

Mipsel

+

MIPS r4k, little endian

+ + +
+ + + + +

Power PC

+ +
+

PowerPC

+

PowerPC 405, 32-bit, big endian

+ + +
+

PowerPC 440

+

PowerPC 440, 32-bit, big endian

+ + +
+ + + +

SuperH


+

SH4

+

SH4, 32-bit

+ +
+ + + +

Sparc


+

Sparc

+

Sparc, 32-bit

+ +
+ + + + +' } -for i in $(ls screenshot-*.txt | sed 's/screenshot-\(.*\)\.txt/\1/') +# Harvest screenshots from each system image + +#more/for-each-target.sh '(sleep 15 && echo -n cat "/proc" && sleep 1 && echo /cpuinfo && sleep 2 && echo exit) | more/run-emulator-from-build.sh $TARGET | tee www/screenshots/bootlog-$TARGET.txt' + +cd www/screenshots + +# Filter out escape sequence (shell asking the current screen size) +sed -i $(echo -e 's/\033\[6n//g;s/\015$//') bootlog-*.txt + +# Create html snippet + +for i in $(ls bootlog-*.txt | sed 's/bootlog-\(.*\)\.txt/\1/') do wrap_screenshot "$i" > "screenshot-$i.html" done

x86


+ +' cat << EOF - EOF echo '' echo echo '
+

i486

+

Intel 80486.

+ + +
+ +
+

i586

+

Original Pentium

+ + +
/
+

i686

+

Pentium Pro/II/III

+ + +
+ +
+ + + + + diff -r 608b949756b6 -r 51d23189cb66 www/screenshots/screenshots.sh --- a/www/screenshots/screenshots.sh Wed Nov 14 14:02:52 2012 -0600 +++ b/www/screenshots/screenshots.sh Thu Nov 15 19:32:02 2012 -0600 @@ -31,30 +31,40 @@ echo '
+boot log +cross compiler
+native compiler
+root filesystem
+system image

- -
  • busybox binary
  • -
  • dropbear binary
  • -
  • strace binary
  • +busybox binary
    +dropbear binary
    +strace binary
    ' echo '
    '
    -  process_text_file "screenshot-$1.txt"
    +  process_text_file "bootlog-$1.txt"
       echo '