Hi Jakub,
I will create a patch and share it with as soon as possible.
Regards,
Sourav Punoriyar
On Fri, Mar 3, 2017 at 1:23 AM, Jakub Jermář wrote:
> Hi Sourav,
>
> would you mind sharing a patch? This is really not that helpful as I can
> only guess what you have done.
>
>
Hi Sourav,
would you mind sharing a patch? This is really not that helpful as I can
only guess what you have done.
Thanks,
Jakub
On 03/02/2017 08:14 PM, sourav punoriyar wrote:
> Hi Jakub,
>
> I was able to pass boot_args from uboot till kernel.
>
> The issue was i was looking in wrong
Hi Jakub,
I was able to pass boot_args from uboot till kernel.
The issue was i was looking in wrong direction.
After going through uboot for Netbsd i found the solution..
*Some assumptions i made i kernel.*
As no length is passed , i have taken max arguments size to be 4096 bytes.
I have used
Hi Sourav,
On 02/24/2017 09:11 PM, sourav punoriyar wrote:
> from : HelenOS/boot/arch/arm32/src/asm.S and map files.
>
> SYMBOL(start)
> ldr sp, =boot_stack
> b bootstrap
>
> If we keep an inline assembly in
>
> void bootstrap(void)
> {
> int *store_r2_for_atags = 0;
> asm
Hi,
Thanks a lot.
from : HelenOS/boot/arch/arm32/src/asm.S and map files.
SYMBOL(start)
ldr sp, =boot_stack
b bootstrap
If we keep an inline assembly in
void bootstrap(void)
{
int *store_r2_for_atags = 0;
asm volatile ("mov %%r2, %0" : "=r" (store_r2_for_atags)); //TODO: Sourav
On 02/22/2017 09:40 PM, Jakub Jermář wrote:
>> Confusions i am having:
>> 1> The bootargs info are given in r2 register. How do i preserve it when
>> stage-2 boot-loader comes into action , because till the kernel comes
>> into picture i will loose the info passed from uboot.
>> ---> i feel i
Hi Sourav,
thanks for looking into this first step of passing boot arguments to the
kernel and further on. Please see my replies below.
On 02/22/2017 08:02 PM, sourav punoriyar wrote:
> From the logs: "Transferring control to NetBSD stage-2 loader "
> Uboot transfers the control to NetBSD