|
|
Re: Kernel 3.4 error on Dreamplug: [vectors]: mlock failed: Cannot allocate memory |
On Thu, 2012-05-31 at 09:31 -0400, Jason Cooper wrote: > On Thu, May 31, 2012 at 01:32:10AM -0300, Thiago Jung Bauermann wrote: > You may want to look at the kwboot patches to u-boot [1]. It's a > utility that allows you to load u-boot with only the serial port > connected. Many have reported success with it. This would then allow > you to add DT boot support (and fix a bunch of bugs in the stock > u-boot ;-) ). Thanks, I'll have a look. The impression I get though is that these things are still too recent to have settled, so if I flash an u-boot now, maybe I'll have to flash it again later. Might as well wait a bit and do it just once. > > Is there a risk of damaging the board if it is accidentally booted with > > the wrong DTB or without one? > > There's always a risk at this level. The statement in the Kconfig is > true. However, If you aren't willing to upgrade u-boot, you aren't > leaving too many other options. Knives are dangerous, too. People > still use them every day. Just be careful. If you have an accident with a knife at home, the worst that will happen is that you'll have to use a band-aid for a few days. On the other hand, when I go to the butcher I see him wearing a metal chain gauntlet when cutting meat. If he has an accident with *that* knife, he'll be in trouble. In both cases you are dealing with knives and in both cases you have to be careful... My question was, what kind of knife I'm dealing with here? ;-) I bought this Dreamplug for personal use and if it breaks, I won't buy another one. That's a different level of risk tolerance than someone who's working professionally on an ARM board, where breaking it is just cost of doing business. > > Does it help if I test with only dreamplug-3.4.0.patch (which adds > > CONFIG_MACH_DREAMPLUG) applied? > > Sure, see if the problem persists. That would rule out the other > patches. I built a kernel with just that patch and it got stuck after uncompressing the kernel. I'll have to build a new one with CONFIG_ARM_PATCH_PHYS_VIRT disabled and try again tomorrow (I know, a newer u-boot works around/fixes this). -- []'s Thiago Jung Bauermann _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
![]() |