Re: [PATCH 0/5] sparc: piggyback update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 31, 2010 at 22:18, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>>
>> My idea was to create a unified piggyback that took $BITS as an
>> argument - then did sensible things based upon that. It never got off
>> the ground here.
>
> Rather then doing code-chrunch in piggyback_64 we should add this
> extra argumant and then let piggyback_32 handle both the 32 and 64 bit
> case.
>
> The few things that differs is:
> 1) Check lookup of _start, _end
> 2) Start address of added image is on different addrees alignemnts (4096 / 8192)

I've got a patch to factor this out.

> 3) sparc64 uses host endian when it stores data in the image (looks lige a bug)

It is, I have a patch to fix this. - I'll post it soon.

> 4) sparc64 updates a_text, a_data and a_bss in the a.out header - sparc32 does not.
>   And I could not figure out the expression used to calculate a_text value..

hehehe I never got that far - I essentially abandoned my attempt when
I saw that _64 was doing stuff that _32 wasn't.

> All in all simple differences.
> But as my sparc64 box is not yet alive I postponed it until
> I could actually test it.

I have a live sparc64 box, however it's currently in a pile of dead
sparc32 and 64 boxen, and hasn't been booted for a long time. So it's
not exactly accessible - that and I've lost my last real serial port
so I can't actually talk to it anymore. (and the expresscard one I
obtained for my laptop doesn't work properly for some reason -
fricking cheap serial chipsets)

I'll have a go at making it work soon, and see if I can get this going.

In the mean time, I'll send that patch and anything else I've got that
looks promising.

Thanks,

-- 

Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux