//if (image_get_magic(header) != IH_MAGIC) {
          //       puts("bad magic\n");
          // }

fixed!

hehe !


On Fri, Jun 17, 2016 at 9:31 AM, Micka <[email protected]> wrote:

> Lol, ok
>
> But what went wrong ?  It's checking a magic number to prevent something
> broken.
>
> Can I write back the correct magic number ?
>
> I found that in this file : arch/powerpc/cpu/mpc8xx/start.S
>
> it write somewhere the magic number : 0x27051956
>
> But I don't see where the magic number is written for the beaglebone black
> uboot.
>
>
> any idea ?
>
>
>
> Le ven. 17 juin 2016 à 18:23, Robert Nelson <[email protected]> a
> écrit :
>
>> On Fri, Jun 17, 2016 at 11:18 AM, Micka <[email protected]> wrote:
>> > I've compiled the uboot again and again, and it doesn't change anything
>> when
>> > I replace the old MLO file :
>> >
>> > dd if=./MLO of=${DISK} count=1 seek=1 bs=128k
>> >
>> >
>> >
>> > Le ven. 17 juin 2016 à 18:16, Micka <[email protected]> a écrit :
>> >>
>> >> Hi, when the board boot, I've the message that tell me :
>> >>
>> >> bad magic. and after a deep research, it come from the SPL :
>> >>
>> >> common/spl/spl_mmc.c
>> >>
>>
>>
>>          //if (image_get_magic(header) != IH_MAGIC) {
>>           //       puts("bad magic\n");
>>           // }
>>
>> fixed!
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> https://rcn-ee.com/
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CAF%2BMRtktwu9Yo9WchO%2BVpQ6Y1Vej2qLB397gBBhPnnFRDd-wmg%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CAF%2BMRtktwu9Yo9WchO%2BVpQ6Y1Vej2qLB397gBBhPnnFRDd-wmg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORrfRSoozk4PwFUuioTm7FYbEzDhnbTu8mBKRGY9zGPNMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to