[RESOLVED] TrimSlice Stops at "Starting kernel ..."

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

[RESOLVED] TrimSlice Stops at "Starting kernel ..."

Postby BertS » Fri Sep 23, 2011 4:21 pm

Attached is the serial output of the TrimSlice (Barebone). It seems to stop at "Starting kernel ..."
What to do?
I Start the TS with ArchLinuxARM on a regular SD card in the front.
I tried with a USB stick, but get the same.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.09.08 17:48:33 =~=~=~=~=~=~=~=~=~=~=~=


U-Boot 1.01 (Jul 11 2011 - 17:59:32)

TEGRA2
Board: TrimSlice
DRAM: 1 GiB
SF: Detected W25Q80BL with page size 256, total 1 MiB
In: serial
Out: serial
Err: serial
Boot: Spi
Net: RTL8169#0
Hit any key to stop autoboot: 3  2  1  0
Scanning MMC card ...
EMMC 0 Probed Successfully
mmc0 is available
Scanning fat mmc 0 on prefix / ...
reading /boot.scr

** Unable to read "/boot.scr" from mmc 0:1 **
Scanning ext2 mmc 0 on prefix / ...
Loading file "/boot.scr" from mmc device 0:1 (xxa1)
** File not found /boot.scr
Scanning fat mmc 0 on prefix /boot/ ...
reading /boot/boot.scr

** Unable to read "/boot/boot.scr" from mmc 0:1 **
Scanning ext2 mmc 0 on prefix /boot/ ...
Loading file "/boot/boot.scr" from mmc device 0:1 (xxa1)
331 bytes read
boot.scr found! Executing ...
## Executing script at 00408000
Loading file "/boot/uImage" from mmc device 0:1 (xxa1)
3667144 bytes read
## Booting kernel from Legacy Image at 04080000 ...
Image Name: Linux-2.6.38.3-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3667080 Bytes = 3.5 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...
BertS
 
Posts: 3
Joined: Wed Sep 07, 2011 6:09 pm

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

Postby kmihelich » Fri Sep 23, 2011 7:03 pm

What commands did you use to create boot.scr?
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

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

Postby pepedog » Fri Sep 23, 2011 7:47 pm

Basically, BertS has a barebones so has to boot from Ubuntu, and prep a SD card on an external adapter???? Not with benifit of ssd on the pro. Existing boot.scr won't work, how to make one is here
http://archlinuxarm.org/static/devices/ ... -scr-howto
I think a collection of .scr files should be available for download, external usb hd is the hardest to work out
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

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


Any ideas?
BertS
 
Posts: 3
Joined: Wed Sep 07, 2011 6:09 pm

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

Postby BertS » Sat Sep 24, 2011 2:19 pm

I see it now!

I didn't place an "M" after 384 and 512 in the text file!!!!!!!

It's working now....

Thanks.
BertS
 
Posts: 3
Joined: Wed Sep 07, 2011 6:09 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 6 guests