Skip to contentSkip to conversation

Booting linux 2.6.37+ on rsk7203 eva board

U-Boot Fabio Giovagnini 2 participants 5 messages Jan 17, 2011

lore
Share & tools
lore
#0 lore raw

Hi All this is what I do:
1) I run u-Boot getting this output:
U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12)

CPU: SH2A
BOARD: MLCD7203
DRAM: 64MB
*** Warning - bad CRC, using default environment

Destroy Hash Table: 0c7d6df8 table = (null)
Create Hash Table: N=72
INSERT: table 0c7d6df8, filled 1/73 rv 0c780144 ==> name="bootargs" value="console=ttySC0,115200"
INSERT: table 0c7d6df8, filled 2/73 rv 0c780324 ==> name="baudrate" value="115200"
INSERT: table 0c7d6df8, filled 3/73 rv 0c7800cc ==> name="loadaddr" value="0x0C200000"
INSERT: free(data = 0c77ffb8)
INSERT: done
fwc addr 20000000 cmd f0 00f0 16bit x 16 bit
fwc addr 2000aaaa cmd aa 00aa 16bit x 16 bit
fwc addr 20005554 cmd 55 0055 16bit x 16 bit
fwc addr 2000aaaa cmd 90 0090 16bit x 16 bit
fwc addr 20000000 cmd f0 00f0 16bit x 16 bit
JEDEC PROBE: ID bf 236c 0
Found JEDEC Flash: SST 39VF6402B
unlock address index 1
unlock addresses are 0x555/0x2aa
erase_region_count = 128 erase_region_size = 65536 flash_protect ON: from 0x20000000 to 0x2001FFFF
protect on 0
protect on 1
flash_protect ON: from 0x20020000 to 0x2002FFFF
protect on 2

FLASH: 8MB
In:    serial
Out:   serial
Err:   serial

=>

2) I load my uImage getting this output from iminfo:
=> loady
## Ready for binary (ymodem) download to 0x0C200000 at 115200 bps... Code, 7627(SOH)/0(STX)/0(CAN) packets, 4 retries
## Total Size = 0x000ee445 = 975941 Bytes
=> iminfo

## Checking Image at 0c200000 ...
Legacy image found

   Image Name:   Linux-2.6.37+
   Image Type:   SuperH Linux Kernel Image (gzip compressed)
   Data Size:    975877 Bytes = 953 KiB

Load Address: 0c001000
Entry Point: 0c002000
Verifying Checksum ... OK
=>

Any ideas about why the kernel? do not send out anything?

Signature · 10 lines
Ing. Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
#1 lore raw
Quoted 53 lines · On Monday 17 January 2011 19:08:01 Fabio Giovagnini wrote:

Hi All this is what I do:
1) I run u-Boot getting this output:
U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12)

CPU: SH2A
BOARD: MLCD7203
DRAM: 64MB
*** Warning - bad CRC, using default environment

Destroy Hash Table: 0c7d6df8 table = (null)
Create Hash Table: N=72
INSERT: table 0c7d6df8, filled 1/73 rv 0c780144 ==> name="bootargs" value="console=ttySC0,115200"
INSERT: table 0c7d6df8, filled 2/73 rv 0c780324 ==> name="baudrate" value="115200"
INSERT: table 0c7d6df8, filled 3/73 rv 0c7800cc ==> name="loadaddr" value="0x0C200000"
INSERT: free(data = 0c77ffb8)
INSERT: done
fwc addr 20000000 cmd f0 00f0 16bit x 16 bit
fwc addr 2000aaaa cmd aa 00aa 16bit x 16 bit
fwc addr 20005554 cmd 55 0055 16bit x 16 bit
fwc addr 2000aaaa cmd 90 0090 16bit x 16 bit
fwc addr 20000000 cmd f0 00f0 16bit x 16 bit
JEDEC PROBE: ID bf 236c 0
Found JEDEC Flash: SST 39VF6402B
unlock address index 1
unlock addresses are 0x555/0x2aa
erase_region_count = 128 erase_region_size = 65536 flash_protect ON: from 0x20000000 to 0x2001FFFF
protect on 0
protect on 1
flash_protect ON: from 0x20020000 to 0x2002FFFF
protect on 2

FLASH: 8MB
In:    serial
Out:   serial
Err:   serial

=>

2) I load my uImage getting this output from iminfo:
=> loady
## Ready for binary (ymodem) download to 0x0C200000 at 115200 bps... Code, 7627(SOH)/0(STX)/0(CAN) packets, 4 retries
## Total Size = 0x000ee445 = 975941 Bytes
=> iminfo

## Checking Image at 0c200000 ...
Legacy image found

   Image Name:   Linux-2.6.37+
   Image Type:   SuperH Linux Kernel Image (gzip compressed)
   Data Size:    975877 Bytes = 953 KiB
Quoted 7 lines

Load Address: 0c001000
Entry Point: 0c002000
Verifying Checksum ... OK
=>

Any ideas about why the kernel? do not send out anything?

this is the result of bootm

* kernel: default image load address = 0x0c200000 ## Booting kernel from Legacy Image at 0c200000 ...

   Image Name:   Linux-2.6.37+
   Image Type:   SuperH Linux Kernel Image (gzip compressed)
   Data Size:    975877 Bytes = 953 KiB

Load Address: 0c001000
Entry Point: 0c002000
Verifying Checksum ... OK
kernel data at 0x0c200040, len = 0x000ee405 (975877)
## No init Ramdisk
ramdisk start = 0x00000000, ramdisk end = 0x00000000 Uncompressing Kernel Image ... OK
kernel loaded at 0x0c001000, end = 0x0c1af9fc

Signature · 10 lines
Ing. Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
#2 lore raw
In reply to Fabio Giovagnini

Dear Fabio Giovagnini,

Quoted 6 lines · In message <[email protected]> you wrote:

Hi All this is what I do:
1) I run u-Boot getting this output:
U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12)

CPU: SH2A
BOARD: MLCD7203

This appears to be an out-of-tree port, i. e. code which is completely unknown to us.

Quoted 1 line

Any ideas about why the kernel? do not send out anything?

We don't know your code, we don't know which exact commands you're running, we don't see your environment, we don't know nothing.

How could we then come up with helpful comments?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There are three ways to get something  done:  do  it  yourself,  hire
someone, or forbid your kids to do it.
#3 lore raw

Ok, rigth.
I'mm newbe of u-bbot and I'd loke to contribute.
What could be the usefull info for you?

Thanks in advance

Quoted 23 lines · On Monday 17 January 2011 19:21:27 Wolfgang Denk wrote:

Dear Fabio Giovagnini,

Quoted 6 lines · In message <[email protected]> you wrote:

Hi All this is what I do:
1) I run u-Boot getting this output:
U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12)

CPU: SH2A
BOARD: MLCD7203

This appears to be an out-of-tree port, i. e. code which is completely unknown to us.

Quoted 1 line

Any ideas about why the kernel? do not send out anything?

We don't know your code, we don't know which exact commands you're running, we don't see your environment, we don't know nothing.

How could we then come up with helpful comments?

Best regards,

Wolfgang Denk

Signature · 10 lines
Ing. Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com
#4 lore raw

These are my news

Hi all, I have this condition now
when I do
make zImage
and
make bootstrap
(i link zImage at 0x00040000 after a simple bootloader)
the system work and zImage decompress itself at 0x0C100000 when I make
make uiImage
of the same kernel
and I execute it usinf u-bbot it doesn't work.
There could be 2 reasons
1) address problem
bootargs problem, but my kernel is built using BOOTCMD_OVERWRITE option.

Any ideas?

Thanks

Quoted 10 lines · On Monday 17 January 2011 19:24:14 Fabio Giovagnini wrote:

Ok, rigth.
I'mm newbe of u-bbot and I'd loke to contribute.
What could be the usefull info for you?

Thanks in advance

Quoted 3 lines · On Monday 17 January 2011 19:21:27 Wolfgang Denk wrote:

Dear Fabio Giovagnini,

In message <[email protected]> you

Quoted 20 lines · wrote:
Quoted 20 lines
Quoted 6 lines

Hi All this is what I do:
1) I run u-Boot getting this output:
U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12)

CPU: SH2A
BOARD: MLCD7203

This appears to be an out-of-tree port, i. e. code which is completely unknown to us.

Quoted 1 line

Any ideas about why the kernel? do not send out anything?

We don't know your code, we don't know which exact commands you're running, we don't see your environment, we don't know nothing.

How could we then come up with helpful comments?

Best regards,

Wolfgang Denk

Signature · 10 lines
Ing. Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Fax. +39.051.082.14.49
Cell. +39.335.83.50.919
www.aurion-tech.com