View unanswered posts | View active topics It is currently Wed Jun 26, 2019 6:40 pm



Reply to topic  [ 3 posts ] 
 U-Boot 2014.10 and 64b LBA 
Author Message

Joined: Mon Jan 27, 2014 7:21 am
Posts: 44
Post U-Boot 2014.10 and 64b LBA
Hello there,

U-Boot of the Utilite Pro has been updated with 2014.10 and is perfectly functional.

After replacing the the mSATA SSD with an mSATA2SATA adapter and connecting the Utilite Pro to a hardware RAID configured with GPT w/ 64bit LBA (>2TB partition support), U-Boot displays the following
Code:
CM-FX6 # sata init
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
SATA Device Info:
S/N: BXL1KABSTJU0WHWI043I
Product model number: H/W RAID5
Firmware version: 0957
Capacity: -776208384 sectors
CM-FX6 # sata info

SATA device 0: Model: H/W RAID5 Firm: 0957 Ser#: BXL1KABSTJU0WHWI043I
        Type: Hard Disk
        Supports 48-bit addressing
        Capacity: 1718144.0 MB = 1677.8 GB (-776208384 x 512)
CM-FX6 # sata part 0

Partition Map for SATA device 0  --   Partition Type: EFI

GPT: last_usable_lba incorrect: 1D1BBFFDE > D1BC0000
print_part_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong:0xB0198C596BE6C7BE != 0x5452415020494645
print_part_efi: *** ERROR: Invalid Backup GPT ***
CM-FX6 #

This functions properly on my ESATA SheevaPlug U-Boot with support for 64b LBA. The RAID device is formatted with GPT and contains 3 partitions. Running gdisk on the Plug reveals:
Code:
john@ohio:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 7813726208 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 9E2DE4CF-0A7D-49C4-8265-15A3B66DA0F0
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7813726174
Partitions will be aligned on 2048-sector boundaries
Total free space is 4029 sectors (2.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048       585936895   279.4 GiB   EF00 
   2       585936896       593750015   3.7 GiB     8200  swap
   3       593750016      7813724159   3.4 TiB     0700 

The hardware RAID contains invaluable pictures and documents, so I would rather not have to reformat the drive with a hybrid MBR with an uncertain outcome.

Can someone supply me with a working U-Boot version with support for 64b LBA?


Wed Feb 04, 2015 4:13 am
Profile

Joined: Sat Jan 18, 2014 8:59 pm
Posts: 187
Location: Hamburg, Germany
Post Re: U-Boot 2014.10 and 64b LBA
what if you load the kernel image (and dtb & initrd) from uSD and set /dev/sda1 as the rootfs on the linux kernel command line? Then you don't need to tweak the u-boot.


Wed Feb 04, 2015 6:07 am
Profile

Joined: Mon Jan 27, 2014 7:21 am
Posts: 44
Post Re: U-Boot 2014.10 and 64b LBA
umiddelb wrote:
what if you load the kernel image (and dtb & initrd) from uSD and set /dev/sda1 as the rootfs on the linux kernel command line? Then you don't need to tweak the u-boot.


I thought of that too, but wanted to leave as many perifials open to later use as possible. Saying that, I'd still rather have a U-Boot version with 64b LBA support.


Thu Feb 05, 2015 6:00 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.