View unanswered posts | View active topics It is currently Thu Mar 21, 2019 11:56 am



Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
 [solved] u-boot 2012.04 - half sized memory 
Author Message

Joined: Tue Aug 16, 2011 3:54 pm
Posts: 1
Post [solved] u-boot 2012.04 - half sized memory
U-Boot 2012.04.01-1.01 (Aug 01 2012 - 14:33:20)

TEGRA2
Board: Compulab Trimslice
DRAM: 512 MiB
MMC: Tegra2 SD/MMC: 0, Tegra2 SD/MMC: 1
SF: Detected W25Q80BL with page size 4 KiB, total 1 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: PCI device RTL8169#0: unknown chip version, assuming RTL-8169
PCI device: TxConfig = 0x2B1000C0
RTL8169#0
Hit any key to stop autoboot: 0
Tegra2 (TrimSlice) # bdinfo
arch_number = 0x00000C89
boot_params = 0x00000100
DRAM bank = 0x00000000
-> start = 0x00000000
-> size = 0x20000000
ethaddr = (not set)
ip_addr = <NULL>
baudrate = 115200 bps
TLB addr = 0x1FFF0000
relocaddr = 0x1FF70000
reloc off = 0x1FE68000
irq_sp = 0x1FB6DF68
sp start = 0x1FB6DF58
FB base = 0x00000000
Tegra2 (TrimSlice) #

after downgrade:

U-Boot 2010.09-1.03-00006-ga52694f (Nov 24 2011 - 10:41:33)

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: 0
TrimSlice # bdinfo
arch_number = 0x00000C89
env_t = 0x00000000
boot_params = 0x00000100
DRAM bank = 0x00000000
-> start = 0x00000000
-> size = 0x40000000
ethaddr = (not set)
ip_addr = 10.0.0.2
baudrate = 115200 bps
TrimSlice #


is 512MB tax for device tree? :)


Thu Dec 06, 2012 11:40 am
Profile

Joined: Mon Jul 25, 2011 2:35 pm
Posts: 445
Post Re: u-boot 2012.04 - half sized memory
Hi,

the reason of the "half sized memory" issue is this patch:

commit 9057e652c30d8b2f4d9f3613a3923bd191843487
Author: Stephen Warren <swarren@nvidia.com>
Date: Fri Jan 6 12:14:41 2012 +0000

tegra2: Fix default RAM size selection in odmdata

A value of 0 in the odmdata RAM size field means default, which is 512MB
not 1GB. Fix this. For reference, see:

http://nv-tegra.nvidia.com/gitweb/?p=li ... it;a=blob;\
f=arch/arm/mach-tegra/odm_kit/query/harmony/tegra_devkit_custopt.h;\
h=1ec7010911454f19a5018952fd245785a62c59ad;\
hb=0e52d7fe25b11a656c376a37890be219470661fb

v2: New patch

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
---
arch/arm/cpu/armv7/tegra2/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/tegra2/board.c b/arch/arm/cpu/armv7/tegra2/board.c
index ea06570..404d34c 100644
--- a/arch/arm/cpu/armv7/tegra2/board.c
+++ b/arch/arm/cpu/armv7/tegra2/board.c
@@ -58,9 +58,9 @@ unsigned int query_sdram_size(void)
case 1:
return 0x10000000; /* 256 MB */
case 2:
+ default:
return 0x20000000; /* 512 MB */
case 3:
- default:
return 0x40000000; /* 1GB */
}
}

Unfortunately, I have no time for investigating this issue right now.
You are welcome.

Regards,
Valentin.


Mon Dec 10, 2012 8:05 am
Profile

Joined: Sun Nov 27, 2011 11:44 am
Posts: 18
Post Re: u-boot 2012.04 - half sized memory
Hi Valentin

valentin wrote:
Hi,
[..]
Unfortunately, I have no time for investigating this issue right now.
You are welcome.

Regards,
Valentin.


Would you or one of the TrimSlice developers be able to release a patched U-Boot binary for the Trimslice with this issue corrected? Now that Linux 3.7 is main stream, it will most likely benefit many of the Trimslice owners.

Thanks
S.


Sun Jan 20, 2013 11:14 am
Profile

Joined: Wed Jul 27, 2011 10:17 pm
Posts: 13
Post Re: u-boot 2012.04 - half sized memory
In the Fedora community we're about to move to 3.7 + DTB where the latest firmware is essential to even boot the kernel. Please issue a uboot update. Without it we're either stuck with the older firmware and 3.6 or with the newer firmware/3.7 but half the RAM. This will probably be the end of the line for Trimslice support without an update from Compulab.


Fri Jan 25, 2013 9:53 pm
Profile

Joined: Sun Apr 10, 2011 5:23 am
Posts: 32
Post Re: u-boot 2012.04 - half sized memory
Couldn't you just... revert the patch bconoboy? I'd love to have some time to play with this myself, but sadly I don't, and the instructions on the wiki are for tftpboot, anyone happen to have some for writing it to an sdcard?


Sun Jan 27, 2013 9:33 am
Profile
Site Admin

Joined: Tue Feb 01, 2011 8:42 am
Posts: 352
Post Re: u-boot 2012.04 - half sized memory
We are working on getting the memory initialization patch into a new u-boot build.

_________________
----------------------------
Irad Stavi
Utilite forum admin

----------------------------


Wed Jan 30, 2013 3:32 pm
Profile

Joined: Mon Jul 25, 2011 2:35 pm
Posts: 445
Post Re: u-boot 2012.04 - half sized memory
The half-size issue has been fixed.
You are welcome to try it out.
Gitorius has been updated as well, here is the link:

https://gitorious.org/trimslice-u-boot- ... .04-upload

Regards,
Valentin.


Sun Feb 10, 2013 10:42 am
Profile

Joined: Sun Nov 27, 2011 11:44 am
Posts: 18
Post Re: u-boot 2012.04 - half sized memory
valentin wrote:
The half-size issue has been fixed.
You are welcome to try it out.
Gitorius has been updated as well, here is the link:

https://gitorious.org/trimslice-u-boot- ... .04-upload

Regards,
Valentin.


Hi Valentin

Will you be releasing a new binary as for the existing versions?
http://www.trimslice.com/wiki/index.php ... re_Updater


Mon Feb 11, 2013 2:18 pm
Profile

Joined: Thu May 17, 2012 12:23 am
Posts: 6
Post Re: u-boot 2012.04 - half sized memory
Monday I tried firmware-updater_v2012.04-1.02 on http://www.trimslice.com/wiki/index.php ... re_Updater with the current Fedora 18 and the default boot parameters. The kernel did not start up with the new u-boot and I had to downgrade back the older u-boot that provided 512MB. Are there some particular mem=... arguments that are needed to get the kernel to boot up with the increased memory?


Tue Feb 12, 2013 4:18 pm
Profile

Joined: Sun Nov 27, 2011 11:44 am
Posts: 18
Post Re: u-boot 2012.04 - half sized memory
valentin wrote:
The half-size issue has been fixed.
You are welcome to try it out.
Gitorius has been updated as well, here is the link:

https://gitorious.org/trimslice-u-boot- ... .04-upload

Regards,
Valentin.


Has anybody tried this?

I took the archive from https://gitorious.org/trimslice-u-boot- ... .04-upload

built u-boot natively, then built the final image on an x86_64 machine since the binary in the scripts repo (git://gitorious.org/cbootimage/cbootimage-scripts.git) is for x86, and installed the new firmware file.

The Trimslice now boots and hangs at:
Code:

U-Boot 2012.04.01-1.01 (Mar 18 2013 - 14:32:38)

TEGRA2
Board: Compulab Trimslice
DRAM:  1 GiB
MMC:   Tegra2 SD/MMC: 0, Tegra2 SD/MMC: 1
SF: Detected W25Q80BL with page size 4 KiB, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   PCI device RTL8169#0: unknown chip version, assuming RTL-8169
PCI device: TxConfig = 0x2B1000C0
RTL8169#0
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1


Does anybody have a working binary I can use?


Mon Mar 18, 2013 2:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.