diff options
Diffstat (limited to 'docs/misc')
-rw-r--r-- | docs/misc/bbb_ehci.md | 10 | ||||
-rw-r--r-- | docs/misc/index.md | 20 | ||||
-rw-r--r-- | docs/misc/patch.md | 12 |
3 files changed, 21 insertions, 21 deletions
diff --git a/docs/misc/bbb_ehci.md b/docs/misc/bbb_ehci.md index b4cb5df0..9e9314ce 100644 --- a/docs/misc/bbb_ehci.md +++ b/docs/misc/bbb_ehci.md @@ -13,14 +13,14 @@ EHCI debugging debug](#FindUSBportonthetargetthatsupportsEHCIdebug) 2. [Initial setup of BBB to act as EHCI debug dongle](#InitialsetupofBBBtoactasEHCIdebugdongle) -3. [Patch BBB\'s `g_dbgp` module (optional, but highly +3. [Patch BBB's `g_dbgp` module (optional, but highly recommended)](#PatchBBBsgdbgpmoduleoptionalbuthighlyrecommended) 4. [Configure libreboot with EHCI debug](#ConfigurelibrebootwithEHCIdebug) 1. [Selecting `HCD Index` and `USB Debug port`](#SelectingHCDIndexandUSBDebugport) 5. [How to get the debug logs](#Howtogetthedebuglogs) -6. [Eneble EHCI Debug on the target\'s kernel (optional, +6. [Eneble EHCI Debug on the target's kernel (optional, recommended)](#EnebleEHCIDebugonthetargetskerneloptionalrecommended) 7. [References](#References) @@ -173,9 +173,9 @@ arm-linux-gnueabihf setup on your *host*. - Set proper version number: - On your host, edit \$work\_dir/kernel/kernel/.config (the one you've just copied from BBB), find the line - CONFIG\_LOCALVERSION=\"<something or empty>\" and change - it to CONFIG\_LOCALVERSION=\"-\$lv\", so it will look something - like: CONFIG\_LOCALVERSION=\"-bone70\" + CONFIG\_LOCALVERSION="<something or empty>" and change + it to CONFIG\_LOCALVERSION="-\$lv", so it will look something + like: CONFIG\_LOCALVERSION="-bone70" - Also, make sure that: CONFIG\_USB\_G\_DBGP=m (If not, make menuconfig, and set @Device Drivers-> USB Support -> USB Gadget Support -> EHCI Debug Device Gadget=m diff --git a/docs/misc/index.md b/docs/misc/index.md index d187e7e4..a24631a3 100644 --- a/docs/misc/index.md +++ b/docs/misc/index.md @@ -26,7 +26,7 @@ High Pitched Whining Noise on Idle (how to remove in Debian or Devuan) {#debian_ Start powertop automatically at boot time {#debian_powertop_autostart} ----------------------------------------- -Included with libreboot is a script called \'powertop.debian\'. Run this +Included with libreboot is a script called 'powertop.debian'. Run this as root and it will setup powertop to run with \--auto-tune at boot time. Load the file in your text editor to see how it does that. @@ -34,7 +34,7 @@ time. Load the file in your text editor to see how it does that. Might want to run with \--calibrate first -If powertop doesn\'t work, another way (reduces battery life slightly) +If powertop doesn't work, another way (reduces battery life slightly) is to add *processor.max\_cstate=2* to the *linux* line in grub.cfg, using [this guide](../gnulinux/grub_cbfs.html). @@ -48,11 +48,11 @@ High Pitched Whining Noise on Idle (how to remove in Parabola) {#high_pitch_para The following removes most of the noise. It reduces what is a high frequency whine (that not everyone can hear) to a slight buzz (which -most people can\'t hear or doesn\'t bother most people). +most people can't hear or doesn't bother most people). This is not perfect! The full solution is still not discovered but this is a step towards that. Also, in some instances you will need to run -\'sudo powertop \--auto-tune\' again. This needs to be implemented +'sudo powertop \--auto-tune' again. This needs to be implemented properly in coreboot itself! On the X60 with coreboot or libreboot, there is a high pitched sound @@ -88,7 +88,7 @@ The next time you boot the system, the buzz will be gone. Might want to run with \--calibrate first -If powertop doesn\'t work, another way (reduces battery life slightly) +If powertop doesn't work, another way (reduces battery life slightly) is to add *processor.max\_cstate=2* to the *linux* line in grub.cfg, using [this guide](../gnulinux/grub_cbfs.html). @@ -99,11 +99,11 @@ using [this guide](../gnulinux/grub_cbfs.html). X60/T60: Serial port - how to use (for dock owners) {#serial} =================================================== -For the Thinkpad X60 you can use the **\"UltraBase X6\"** dock (for the +For the Thinkpad X60 you can use the **"UltraBase X6"** dock (for the X60 Tablet it is called X6 Tablet UltraBase). For the ThinkPad T60, you -can use the **\"Advanced Mini Dock\"**. +can use the **"Advanced Mini Dock"**. -If you are using one of the ROM images with \'serial\' in the name, then +If you are using one of the ROM images with 'serial' in the name, then you have serial port enabled in libreboot and you have memtest86+ included inside the ROM. Connect your null modem cable to the serial port on the dock and connect the other end to a 2nd system using your @@ -253,7 +253,7 @@ package i2c-tools.\ \$ **sudo i2cdump -y 5 0x50** (you might have to change the value for -y)\ \$ **sudo rmmod i2c-dev**\ -You\'ll see the panel name in the output (from the EDID dump). +You'll see the panel name in the output (from the EDID dump). If neither of these options work (or they are unavailable), physically removing the LCD panel is an option. Usually, there will be information @@ -276,7 +276,7 @@ Possible workaround, tested by Nazara: Disable C-STATES.\ means that your CPU will now be running at full capacity (and therefore using more power) non-stop, which will drain battery life if this is a laptop. If power usage is a concern, then you should not use this. -(we\'re also not sure whether this workaround is appropriate)** +(we're also not sure whether this workaround is appropriate)** To disable c-states, do this in GNU+Linux:\ **for i in /sys/devices/system/cpu/cpu/cpuidle/state/disable; do echo 1 diff --git a/docs/misc/patch.md b/docs/misc/patch.md index e592a764..073fdf9c 100644 --- a/docs/misc/patch.md +++ b/docs/misc/patch.md @@ -2,7 +2,7 @@ Diff and patch ============== -This is just a quick guide for reference, use \'man\' to know more. +This is just a quick guide for reference, use 'man' to know more. [Back to index](./) @@ -11,18 +11,18 @@ This is just a quick guide for reference, use \'man\' to know more. Apply a patch ============= -To apply a patch to a single file, do that in it\'s directory:\ +To apply a patch to a single file, do that in it's directory:\ **\$ patch < foo.patch** Assuming that the patch is distributed in unified format identifying the file the patch should be applied to, the above will work. Otherwise:\ **\$ patch foo.txt < bar.patch** -You can apply a patch to an entire directory, but note the \"p level\". +You can apply a patch to an entire directory, but note the "p level". What this means is that inside patch files will be the files that you intend to patch, identified by path names that might be different when the files ane located on your own computer instead of on the computer -where the patch was created. \'p\' level instructs the \'patch\' utility +where the patch was created. 'p' level instructs the 'patch' utility to ignore parts of the path name to identify the files correctly. Usually a p level of 1 will work, so you would use:\ **\$ patch -p1 < baz.patch** @@ -52,7 +52,7 @@ Create a patch with diff Diff can create a patch for a single file:\ **\$ diff -u original.c new.c > original.patch** -For diff\'ing a source tree:\ +For diff'ing a source tree:\ **\$ cp -R original new** Do whatever you want in new/ and then diff it:\ @@ -67,7 +67,7 @@ git diff git is something special. -Note: this won\'t show new files created. +Note: this won't show new files created. Just make whatever changes you want to a git clone and then:\ **\$ git diff > patch.git** |