[nas-2000] Re: Bootloader

  • From: philipp Wehrheim <flipstar@xxxxxxx>
  • To: nas-2000@xxxxxxxxxxxxx
  • Date: Wed, 16 May 2007 18:48:25 +0200

ok here is the very start:


 òåí-]}.oè]..kè_...¥...j¥_..j¥...j¥_..j¥...j¥..jê]}.oÿLink Down
Link Up (0000)
Storlink EMAC address = 0050c22bd001
Ethernet eth0: MAC address 00:50:c2:2b:d0:01ë.IP: 192.168.2.71, Default
server: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Storlink release, version S000.9018 - built 17:22:11, Jul 15 2005

Platform: Storlink Sword (ARM9)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

Use Internal PCI Clock
Processor: SL3316a3
IDE0 Enable
AHB Bus Clock:116MHz    Ratio:3/2
RAM: 0x00000000-0x04000000, 0x00049250-0x03fef000 available
FLASH: 0x70000000 - 0x70800000, 135 blocks of 0x00010000 bytes each.
==> enter ^C to abort booting within 3 seconds ......
..Start Copy 1506772 bytes from 0x70020000 to 0x1600000
êí.½ï.»ÿí.½_ß.îÿ.ízÿ.ö.½_.k..ÿïëߥûízÿêß.µÿÿ/.ÿ._ûÿÿ..û/î.é_..ÿoÿÿ.ÿÿÿå.ÿ-.¿..éÿ½.ë.ïû....z¿ÿo.ûµïÿÿÿ..}êë~üïÿëÿïÿ.ëüùíïk.Øöÿ

í.ÿù].í.ÿo.ÿÿÿÿÿçù....¿ÿ.ïùûïï].ë.ö.½Øÿçz._ÿ.½ÿoí...ß.ÿ...ÿÿú½ÿ...ïêÿ§{íö»û.ö.íúÿïؽú.éöÿïûï.~..ÿ¿¿ûô-.ÿü.ííÿïë.è¿ÿï{.êè-½.ï.o
Uncompressing
Linux...................................................................................................
done, .
Linux version 2.6.10_dev-versatile926ejs (root@xxxxxxxxxxxxxxxxxxxxx)
(gcc version 3.4.4) #29 Fri Apr 27 04:41:40 CST 2007
CPU: FA52Xid(wb) [66015261] revision 1 (ARMv4)

CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 2, 16 byte lines, 256 sets
CPU0: D cache: 4096 bytes, associativity 2, 16 byte lines, 128 sets
Machine: Sword sl2312
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: root=/dev/ram0 rw console=ttySL0,19200
initrd=0x0800000,16M
PID hash table entries: 512 (order: 9, 8192 bytes)

Bus: 116MHz(3/2)
Console: colour dummy device 80x30



Julius Loman schrieb:
> On Wed, May 16, 2007 at 12:30:42PM +0200, flipstar@xxxxxxx wrote:
>> Hi,
>>
>> yes I did boot another kernel (and still do)
>> what why the USB-Port is working. But you cannot
>> simply boot the kernel via PXE tftp etc etc.
> how exactly did you boot another kernel ? have you just overwritten the
> kernel partition? or is it possible via the bootloder without touching
> flash ?
No you have to write the kernel to the flash

well I pressed Y and then copied
the kernel to the flash ...
> 
> on some websites referencing RedBoot there is always prompt mentioned
> and in the RedBoot command prompt you can load the kernel from TFTP (if
> i did't get that wrong)
> 
> but in nas there is only menu in the bootloader.
right

as far as I know there is a way to tell redboot to
run a program right after the boot.
I think this prog is the menu you/we see when the
NAS is booting ...

>> Its just a nice way to write the kernel to flash
>> without having to enter all the flash-adresses.
>>
>> And Yes again :) I grabbed the bootlog via the serial
>> cable you can find some notes -> links on the faq.
>>  
>> I'll be in germany next week and get some really cheap
>> Siemens S25 USB Data Kable and make some pics while
>> building a new Kable.
> will be very grateful for a howto how to get to the bootlog, or for just
> a few lines or hints that would describe what you did.
> 
> i'll probably try to build a cable by myself at weekend.
>> ah and yes its redboot im not sure but when you telnet
>> to the bootloader and press say "^C" maybe you will see
>> the banner?!?!
> there is no banner but if you look into bootloader data (/dev/mtd0) you
> will see RedBoot several times.
have you tried 'strings'?

> 
> 

Other related posts: