Help - Search - Members - Calendar
Full Version: Is The Real Manual For Pdaxrom Builder/ptxdist Ok?
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
henry
Waiting for it.......
pgas
according to sashz there will be complete intructions around july....

apart from what is on pdaxrom.org, there is this page:

http://www.oesf.org/index.php?title=PdaXrom:_pdaXrom-builder
henry
QUOTE(pgas @ Mar 31 2005, 06:08 PM)
according to sashz there will be complete intructions around july....

apart from what is on pdaxrom.org, there is this page:

http://www.oesf.org/index.php?title=PdaXrom:_pdaXrom-builder
*


Thanks, this is exactly URL that I followed to build my kernel.
But I countered an error, it shows the following words:


----------------------
target: kernel.compile
----------------------

PATH="/tmp/crosstools/bin/":$PATH make -C /home/pda/pdaXrom-builder/build/linux \
zImage modules
make[1]: Entering directory `/home/pda/pdaXrom-builder/build/linux'
arm-linux-gcc -D__KERNEL__ -I/home/pda/pdaXrom-builder/build/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common -fno-common -pipe -mapcs-32 -march=armv4 -Wa,-mxscale -mtune=strongarm -mshort-load-bytes -msoft-float -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
Assembler messages:
Error: use of old and new-style options to set CPU type
In file included from /home/pda/pdaXrom-builder/build/linux/include/asm/pgalloc.h:23,
from /home/pda/pdaXrom-builder/build/linux/include/linux/highmem.h:5,
from /home/pda/pdaXrom-builder/build/linux/include/linux/pagemap.h:16,
from /home/pda/pdaXrom-builder/build/linux/include/linux/locks.h:8,
from /home/pda/pdaXrom-builder/build/linux/include/linux/devfs_fs_kernel.h:6,
from init/main.c:16:
/home/pda/pdaXrom-builder/build/linux/include/asm/proc/cache.h: In function `flush_page_to_ram':
/home/pda/pdaXrom-builder/build/linux/include/asm/proc/cache.h:118: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
/home/pda/pdaXrom-builder/build/linux/include/asm/proc/cache.h:118: warning: passing arg 1 of `cpu_xscale_flush_ram_page' makes pointer from integer without a cast
/home/pda/pdaXrom-builder/build/linux/include/asm/proc/cache.h: In function `flush_dcache_page':
/home/pda/pdaXrom-builder/build/linux/include/asm/proc/cache.h:159: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
In file included from /home/pda/pdaXrom-builder/build/linux/include/linux/highmem.h:5,
from /home/pda/pdaXrom-builder/build/linux/include/linux/pagemap.h:16,
from /home/pda/pdaXrom-builder/build/linux/include/linux/locks.h:8,
from /home/pda/pdaXrom-builder/build/linux/include/linux/devfs_fs_kernel.h:6,
from init/main.c:16:
/home/pda/pdaXrom-builder/build/linux/include/asm/pgalloc.h: In function `get_pgd_fast':
/home/pda/pdaXrom-builder/build/linux/include/asm/pgalloc.h:67: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
/home/pda/pdaXrom-builder/build/linux/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/home/pda/pdaXrom-builder/build/linux/include/asm/pgalloc.h:91: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/home/pda/pdaXrom-builder/build/linux'
make: *** [/home/pda/pdaXrom-builder/state/kernel.compile] Error 2


sad.gif
I don't know why it says :
Assembler messages:
Error: use of old and new-style options to set CPU type
pgas
Did you see this passage:

QUOTE
Selected kernel in our configuration uses certain version of compiler for build. Change compiler path to the directory, where this compiler is located (for example, if tools are compiled in /tmp/crosstools-2.95.3 then need add suffix /bin - /tmp/crosstools-2.95.3/bin –it shows location for cross-compiler executable files). Configuration setting for building is over, and then we can delete or add packages. These packages will be compiling automatically. If you want, you may show to include package in automatically compiling image OS which ready for install on target device.


when I build the rom, I also repeated the first step (the build of the tool chain) with corgi-arm-hardfloat-2.95.3-2.2.5-2.4.18 and /tmp/crosstools-2.95.3

And then set the corresponding option so that this gcc is used when compiling the kernel and not gcc-3.3.2.

note that I had a small problem during the compilation of orgi-arm-hardfloat-2.95.3-2.2.5-2.4.18 but it is simply that strip fails because there is no .so, I just commented out the line.


Note that I built a kernel for 860.

hope this helps.
henry
QUOTE
note that I had a small problem during the compilation of orgi-arm-hardfloat-2.95.3-2.2.5-2.4.18 but it is simply that strip fails because there is no .so, I just commented out the line.


Where can I find the file in which I can comment out that line? Makefile?
pgas
yes, when you get the error it tells you exit directory something
go to the directory something and find the line which say strip.

Not this is only when you make the archive, otherwise the toochain is build and usable
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.