aboutsummaryrefslogtreecommitdiff
path: root/docs/hcl
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:46:13 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:46:13 -0700
commit14ac959780ab3dc09559a17d4c12b7fd3705be6f (patch)
tree7fba830ea3ca0d8fa33e797df8d4bc4d1efbbae6 /docs/hcl
parent7c7403283cb88e45f9275195b99cebcc2dcb8b3f (diff)
downloadlibrebootfr-14ac959780ab3dc09559a17d4c12b7fd3705be6f.tar.gz
librebootfr-14ac959780ab3dc09559a17d4c12b7fd3705be6f.zip
Remove dependency on libreboot-website
Diffstat (limited to 'docs/hcl')
-rw-r--r--docs/hcl/gm45_remove_me.md24
-rw-r--r--docs/hcl/index.md6
-rw-r--r--docs/hcl/t500.md4
-rw-r--r--docs/hcl/x200.md4
4 files changed, 19 insertions, 19 deletions
diff --git a/docs/hcl/gm45_remove_me.md b/docs/hcl/gm45_remove_me.md
index ef386b62..46eef08e 100644
--- a/docs/hcl/gm45_remove_me.md
+++ b/docs/hcl/gm45_remove_me.md
@@ -38,12 +38,12 @@ ich9gen executables can be found under ./ich9deblob/ statically compiled
in libreboot\_util. If you are using src or git, build ich9gen from
source with:
- $ ./oldbuild module ich9deblob
+ \$ ./oldbuild module ich9deblob
The executable will appear under resources/utilities/ich9deblob/
Run:
-$ **./ich9gen**
+\$ **./ich9gen**
Running ich9gen this way (without any arguments) generates a default
descriptor+gbe image with a generic MAC address. You probably don't
@@ -70,7 +70,7 @@ onboard ethernet chipset is flashed (inside the ROM image). You should
generate a descriptor+gbe image with your own MAC address inside (with
the Gbe checksum updated to match). Run:
- $ ./ich9gen \--macaddress XX:XX:XX:XX:XX:XX
+ \$ ./ich9gen \--macaddress XX:XX:XX:XX:XX:XX
(replace the XX chars with the hexadecimal chars in the MAC address that
you want)
@@ -89,17 +89,17 @@ descriptor+gbe file into the ROM image.
For 16MiB flash chips:
-$ **dd if=ich9fdgbe\_16m.bin of=libreboot.rom bs=1 count=12k
+\$ **dd if=ich9fdgbe\_16m.bin of=libreboot.rom bs=1 count=12k
conv=notrunc**
For 8MiB flash chips:
-$ **dd if=ich9fdgbe\_8m.bin of=libreboot.rom bs=1 count=12k
+\$ **dd if=ich9fdgbe\_8m.bin of=libreboot.rom bs=1 count=12k
conv=notrunc**
For 4MiB flash chips:
-$ **dd if=ich9fdgbe\_4m.bin of=libreboot.rom bs=1 count=12k
+\$ **dd if=ich9fdgbe\_4m.bin of=libreboot.rom bs=1 count=12k
conv=notrunc**
Your libreboot.rom image is now ready to be flashed on the system. Refer
@@ -170,7 +170,7 @@ under resources/utilities/ich9deblob/ and will already be compiled if
you ran **./oldbuild module all** or **./oldbuild module ich9deblob**
from the main directory (./), otherwise you can build it like so:
- $ ./oldbuild module ich9deblob
+ \$ ./oldbuild module ich9deblob
An executable file named **ich9deblob** will now appear under
resources/utilities/ich9deblob/
@@ -183,7 +183,7 @@ external flashing guides for GM45 targets linked
[../install/](../install/)) in the directory where you have your
ich9deblob executable, then run the tool:
-$ **./ich9deblob**
+\$ **./ich9deblob**
A 12kiB file named **deblobbed\_descriptor.bin** will now appear. **Keep
this and the factory.rom stored in a safe location!** The first 4KiB
@@ -201,11 +201,11 @@ Assuming that your libreboot image is named **libreboot.rom**, copy the
**deblobbed\_descriptor.bin** file to where **libreboot.rom** is located
and then run:
-$ **dd if=deblobbed\_descriptor.bin of=libreboot.rom bs=1 count=12k
+\$ **dd if=deblobbed\_descriptor.bin of=libreboot.rom bs=1 count=12k
conv=notrunc**
Alternatively, if you got a the **deblobbed\_4kdescriptor.bin** file (no
-GbE defined), do this: $ **dd if=deblobbed\_4kdescriptor.bin
+GbE defined), do this: \$ **dd if=deblobbed\_4kdescriptor.bin
of=libreboot.rom bs=1 count=4k conv=notrunc**
The utility will also generate 4 additional files:
@@ -239,13 +239,13 @@ all of those restrictions.
Simply run (with factory.rom in the same directory):
-$ **./demefactory**
+\$ **./demefactory**
It will generate a 4KiB descriptor file (only the descriptor, no GbE).
Insert that into a factory.rom image (NOTE: do this on a copy of it.
Keep the original factory.rom stored safely somewhere):
-$ **dd if=demefactory\_4kdescriptor.bin of=factory\_nome.rom bs=1
+\$ **dd if=demefactory\_4kdescriptor.bin of=factory\_nome.rom bs=1
count=4k conv=notrunc**
TODO: test this.
diff --git a/docs/hcl/index.md b/docs/hcl/index.md
index 6943f795..a9e599d4 100644
--- a/docs/hcl/index.md
+++ b/docs/hcl/index.md
@@ -183,7 +183,7 @@ could get finger input working. They used linuxwacom at git tag
# Now, for some reason (probably a bug in linuxwacom),
# the 'Touch=on' directive gets reset to 'off'.
# So you'll need to do
- # $ xsetwacom --set WTouch Touch on
+ # \$ xsetwacom --set WTouch Touch on
#
# tested with linuxwacom git 42a42b2a8636abc9e105559e5dea467163499de7
@@ -407,8 +407,8 @@ for whatever reason, since they include a lot of useful information.
Backups created using wget:
- $ wget -m -p -E -k -K -np http://macbook.donderklumpen.de/
-**$ wget -m -p -E -k -K -np
+ \$ wget -m -p -E -k -K -np http://macbook.donderklumpen.de/
+**\$ wget -m -p -E -k -K -np
http://macbook.donderklumpen.de/coreboot/**
Use **-e robots=off** if using this trick for other sites and the site
diff --git a/docs/hcl/t500.md b/docs/hcl/t500.md
index 37740c25..3763cfe7 100644
--- a/docs/hcl/t500.md
+++ b/docs/hcl/t500.md
@@ -71,8 +71,8 @@ factory.rom image dumped from the T500 with a SOIC-8 4MiB flash chip.
The patch re-creates the X200 descriptor/gbe source, so the commands
were something like:
- $ diff -u t500gbe x200gbe
-$ **diff -u t500descriptor x200descriptor**
+ \$ diff -u t500gbe x200gbe
+\$ **diff -u t500descriptor x200descriptor**
ME VSCC table is in a different place and a different size on the T500.
Libreboot disables and removes the ME anyway, so it doesn't matter.
diff --git a/docs/hcl/x200.md b/docs/hcl/x200.md
index e5e2ff77..fafe5f0b 100644
--- a/docs/hcl/x200.md
+++ b/docs/hcl/x200.md
@@ -233,8 +233,8 @@ different, so this page might be BS)
pehjota started collecting some steppings for different CPUs on several
X200 laptops. You can get the CPUID by running:
-$ **dmesg | sed -n 's/\^.* microcode: CPU0
-sig=0x\\(\[\^,\]*\\),.*$/\\1/p'**
+\$ **dmesg | sed -n 's/\^.* microcode: CPU0
+sig=0x\\(\[\^,\]*\\),.*\$/\\1/p'**
What pehjota wrote: The laptops that have issues resuming from suspend,
as well as a laptop that (as I mentioned earlier in #libreboot) won't