Mijzelf wrote:@fvdw: Does this u-boot support Clunc? It would be nice to see the boot messages. AFAIK u-boot doesn't need to support >2TiB addressing. It only needs to load the kernel from partition 6. Both partition 6 and the partition table are well below any critical address, so there should be no problem here.
Remember that the old u-boot worked fine on that disk.
Yes it supports clunc, that is how I looked if it reported the new version. I get the Marvell >> prompt and can list environment variables etc etc, but to start it loading the kernel is not straight forward. Giving the boot or bootm command returns "bad magic" that also happens with the old u-boot some more must be given to make it load the kernel
I did not spend much time on that as it booted fine. But if the red led is flashing then almost 100% sure that it could not read the disk. Yes the disk worked with the old u-boot but only with 7 partitions or at total allocate space with partitions smaller then 2.2 TB. It did not work with a GPT table.
The problem will be that if a partition is defined bigger then 2.2TB the number of blocks and bytes in that partition or the sum of the partitions will be above the 32 bits limit and can not be addressed if u-boot doesn't support LBA64. Therefor I asked minibike to make a disk wit only a partition of 2 TB, I am quite sure that when making such a disk it will recognize it and boot form it. (same as my 1 TB trial disk)
In the boot loader output of the nwsp Lite it is mentioned that besides GPT also LBA64 is enabled. I did not made any change in the source code to enable it as my guess was probaly it is enabled by default. Probably not, there is a configuration parameter (see earlier post) which can be used for it. It is not used in the kw configuration file. My only doubt is if as well config_LB48 must be set and in addition CFG_LBA_64 the number of logical sectors or only one of them. But from what I read in doc's include in the source my guess is both.
README file 1.39_kw u-boot source code lacie
- Code: Select all
<snip>
- ATAPI Support:
CONFIG_ATAPI
Set this to enable ATAPI support.
- LBA48 Support
CONFIG_LBA48
Set this to enable support for disks larger than 137GB
Also look at CFG_64BIT_LBA ,CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL
Whithout these , LBA48 support uses 32bit variables and will 'only'
support disks up to 2.1TB.
CFG_64BIT_LBA:
When enabled, makes the IDE subsystem use 64bit sector addresses.
Default is 32bit.
- SCSI Support:
<snip>