Author Topic: Is The Real Manual For Pdaxrom Builder/ptxdist Ok?  (Read 3129 times)

henry

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Is The Real Manual For Pdaxrom Builder/ptxdist Ok?
« on: March 31, 2005, 02:54:43 am »
Waiting for it.......
7500C running pdaXrom Kathrin RC9.1
256 MB SD Card, 1 GB CF Card, Wireless/802.11b  CF Card

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Is The Real Manual For Pdaxrom Builder/ptxdist Ok?
« Reply #1 on: March 31, 2005, 03:08:57 am »
according to sashz there will be complete intructions around july....

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

https://www.oesf.org/index.php?title=PdaXro...pdaXrom-builder
SLC-860 cacko / senao wifi

henry

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Is The Real Manual For Pdaxrom Builder/ptxdist Ok?
« Reply #2 on: March 31, 2005, 08:43:41 am »
Quote
according to sashz there will be complete intructions around july....

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

https://www.oesf.org/index.php?title=PdaXro...pdaXrom-builder
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72917\"][{POST_SNAPBACK}][/a][/div]

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


 
I don't know why it says :
Assembler messages:
Error: use of old and new-style options to set CPU type
7500C running pdaXrom Kathrin RC9.1
256 MB SD Card, 1 GB CF Card, Wireless/802.11b  CF Card

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Is The Real Manual For Pdaxrom Builder/ptxdist Ok?
« Reply #3 on: March 31, 2005, 09:38:23 am »
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.
« Last Edit: March 31, 2005, 09:39:06 am by pgas »
SLC-860 cacko / senao wifi

henry

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Is The Real Manual For Pdaxrom Builder/ptxdist Ok?
« Reply #4 on: April 01, 2005, 11:20:18 am »
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?
7500C running pdaXrom Kathrin RC9.1
256 MB SD Card, 1 GB CF Card, Wireless/802.11b  CF Card

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Is The Real Manual For Pdaxrom Builder/ptxdist Ok?
« Reply #5 on: April 01, 2005, 11:58:22 am »
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
SLC-860 cacko / senao wifi