Booting Beagleboard Black
hiren panchasara
hiren.panchasara at gmail.com
Mon Jul 22 17:30:05 UTC 2013
On Mon, Jul 22, 2013 at 3:42 AM, Michael Tuexen <tuexen at freebsd.org> wrote:
> On Jul 22, 2013, at 12:11 PM, XiaoQI Ge <ghw at 7axu.com> wrote:
>
>> I have used this method successfully loaded the kernel
>>
>> Hold the "User Boot" button down, and then plug in the power (USB or
>> 5V adaptor). Keep holding down the button until you see the bank of 4
>> LED's light up for a few seconds. You can now release the button.
>>
>>
>> But soon the panic
> To fix this panic use the following patch
>
> Index: sys/vm/vm_map.c
> ===================================================================
> --- sys/vm/vm_map.c (revision 253514)
> +++ sys/vm/vm_map.c (working copy)
> @@ -239,8 +239,7 @@
> vm_map_t map;
>
> map = (vm_map_t)mem;
> - map->nentries = 0;
> - map->size = 0;
> + memset(map, 0, sizeof(*map));
> mtx_init(&map->system_mtx, "vm map (system)", NULL, MTX_DEF | MTX_DUPOK);
> sx_init(&map->lock, "vm map (user)");
> return (0);
>
> which was posted by Tim yesterday. It fixes the issue for me.
> (Or disable invariants).
>
> Tim: Your patch looks good. Why don't you commit it?
Yes, please :-)
Thanks for finding/fixing that. Appreciate it.
Cheers,
Hiren
>
>
> Best regards
> Michael
More information about the freebsd-arm
mailing list