Useful URLs:


http://lists.en.qi-hardware.com/pipermail/discussion/2011-August/008508.html
http://trimslice.com/wiki/index.php/Trim-Slice_Linux_Kernel
http://www.trimslice.com/wiki/index.php/Trim-Slice_U-Boot
https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-tegra


Gentoo install:
http://dev.gentoo.org/~armin76/arm/trimslice/install.xml

x11 driver:
http://developer.download.nvidia.com/assets/mobile/files/tegra-linux-12.alpha.1.0.tar.gz

 http://nv-tegra.nvidia.com/gitweb/


Problem with USB /SDD disconnecting:

http://webcache.googleusercontent.com/search?q=cache:YUy5nw8VuOUJ:taint.org/2006/12/13/191554a.html+&cd=3&hl=en&ct=clnk&client=firefox-a
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/61235

http://www.thinkdigit.com/forum/open-source/71917-i-o-error-while-copying-some-data-external-hdd.html

echo 128 > /sys/block/sda/device/max_sectors
echo 64 > /sys/block/sda/device/max_sectors
echo 32 > /sys/block/sda/device/max_sectors

 #!/bin/sh
  echo 1 > /sys/class/scsi_disk/$1/allow_restart


I changed to 0 in drivers/usb/host/ehci-hcd.c and built my kernel, 2.6.20.3.



    modprobe -r ehci_hcd
    echo -n -1 > /sys/module/usbcore/parameters/autosuspend
    modprobe ehci_hcd

drivers/usb/host/ehci-hcd.c

http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.6/2.6.24/usb-ehci-add-a-short-delay-to-the-bus_suspend-routine.patch

Power management option:
http://www.mjmwired.net/kernel/Documentation/usb/power-management.txt
	modprobe usbcore autosuspend=5


get DMA working without the patch:
 http://article.gmane.org/gmane.linux.redhat.fedora.arm/1266

ping -i 0.001 dodot


========
More boot work
---------------
http://archlinuxarm.org/forum/viewtopic.php?f=28&t=1696

Re: TrimSlice Stops at "Starting kernel ..."

Postby BertS � Sat Sep 24, 2011 1:04 pm
I booted in Ubuntu from the internal Micro-SD en prepared the SD in the front slot.
The command for boot.scr I used, is actually from the installation instruction:

mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Trim Slice SD Boot" -d SD-bootcmd-file.txt boot.scr
I couldn't work out the /media/sd-card/boot.scr part, so I created the boot.scr and moved it to /boot.

My SD-bootcmd.txt:

setenv bootargs 'root=/dev/mmcblk1p1 rw rootwait console=tty1 console=ttyS0,115200n8 mem=384@0M mem=512@512M nvmem=128M@384M vmalloc=248M nohdparm noinitrd init=/sbin/init rootwait loglevel=8 video=tegrafb'
ext2load mmc 0:1 4080000 /boot/uImage
bootm 4080000



From Ubuntu:
root@trimslice:/boot# cat /proc/cmdline
mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M video=tegrafb console=ttyS0,115200n8 rw root=/dev/sda1 nohdparm rootwait
root@trimslice:/boot#
root@trimslice:/boot# free -m
             total       used       free     shared    buffers     cached
Mem:           875        399        475          0         16        214
-/+ buffers/cache:        168        706
Swap:            0          0          0
root@trimslice:/boot#