The diff file I posted yesterday does actually work on BeagleBoard RevB but not on BeagleBoard RevC.
I have posted a new diff (available at the same pastebin URL ==>http://pastebin.com/JV2Mipbq) which fixes the issue and now works on both RevB and RevC boards. Thanks a lot to Yocto for his precious help tracking down the issue.
Basically, it failed on BeagleBoard RevC because this board has a 2nd memory bank which start address spans over memory bank 1 start address+4 MB and Prex ARM core cannot cope with this. Drop me a line if you want more details.
Please continue sharing your experiments with this new BeagleBoard port.
----- Message d'origine -----
De : Yocto
Envoyés : 01.10.10 01:03
À : rpandion@..., prex-devel@...
Objet : Re: [Prex-devel] BeaglePort with MMU and CACHE
Hi> Please share your experiments with this patch!In order to build on CYGWIN, you need the following changesto LIBGCC_PATH and PLATFORM_LIBS in mk/gcc.mk: LIBGCC_PATH := $(shell $(CC) $(CFLAGS) -print-file-name=) PLATFORM_LIBS+= -L"$(LIBGCC_PATH)" -lgccWith these, your patch build Prex 0.9.0 and generate a 249670 bytes prexos.$ openssl dgst -md5 prexosMD5(prexos)= 2af3784c6d3bca3989d9be37d2d428c7But it hang after starting. [ CodeSourcery G++ lite 2007q3-53 ]ps: I miss stuff like "--build=builddir/beagle" from Prex 0.8 that kept the dir clean... Do you have any news for the release of Prex 1.0 ?Thanks// Yocto----- Original Message ----- From: <rpandion@...: <prex-devel@...: Thursday, September 30, 2010 3:19 PMSubject: [Prex-devel] BeaglePort with MMU and CACHE> Hello all,>> I have finally updated my port of Prex 0.9.0 for the BeagleBoard to > support the MMU and the CACHE (L1 cache only for the moment).>> As the diff file is more than 2,000 lines long, I make it available via > PasteBin at the following URL: http://pastebin.com/JV2Mipbq>> This patch also provides support for R_ARM_V4BX relocations (thank you > Andrew - this makes it possible to use latest CodeSoursourcey G++ > toolchain 2010q1 to compile for the BeagleBoard) and includes a few bug > fixes (including a nasty one in usr/sbin/init/init.c which only showed up > when DEBUG was turned off!).>> As a reminder, to load this patch on the BeagleBoard, put the prexos > compiled image on a FAT formatted SD CARD and issue the following commands > in u-boot:> mmc init> fatload mmc 0 0x80300000 prexos> go 0x80300000>> Please share your experiments with this patch!>> Cheers,>> RICHARD>> ------------------------------------------------------------------------------> Start uncovering the many advantages of virtual appliances> and start using them to simplify application deployment and> accelerate your shift to cloud computing.> http://p.sf.net/sfu/novell-sfdev2dev> _______________________________________________> Prex-devel mailing list> Prex-devel@...> https://lists.sourceforge.net/lists/listinfo/prex-devel>