Перейти к содержанию

SPMP8000

Members
  • Постов

    1
  • Зарегистрирован

  • Посещение

    Никогда

Сообщения, опубликованные SPMP8000

  1. скачал ядро Linux 2.6.33.1 распаковал в usr/src

    распаковал Linux-spmp8k в каталог с ядром

    из README к Linux-spmp8k правил нужные файлы

    вот README

    download linux kernel sources (tested with linux-2.6.33.1)

    - unpack the kernel sources

    - unpack the linux-spmp8k.tar.bz2 (inside the linux directory)

    - edit the "arch/arm/tools/mach-types" file and add a line at the bottom of the file

    spmp8000 MACH_SPMP8000 SPMP8000 8000

    - add the line

    machine-$(CONFIG_ARCH_SPMP8000) := spmp8000

    to arch/arm/Makefile

    - add the following to arch/arm/Kconfig

    config ARCH_SPMP8000

    bool "SPMP8000 SoC"

    select ARM_AMBA

    select HAVE_CLK

    select COMMON_CLKDEV

    help

    Support for the SPMP8000

    - modify arch/arm/mm/Kconfig (not sure about this one anymore)

    # ARM926T

    config CPU_ARM926T

    this line-> bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_SPMP8000

    select CPU_32v5

    - in arm/arm/boot/compressed/Makefile change

    EXTRA_AFLAGS := -Wa,-march=all

    to

    EXTRA_AFLAGS :=

    - define your build directory

    export BUILDDIR=your-build-directories-full-path

    - configure and build the kernel with:

    make O=$(BUILDDIR) ARCH=arm CROSS_COMPILE=arm-elf- spmp8000_defconfig

    make O=$(BUILDDIR) ARCH=arm CROSS_COMPILE=arm-elf-

    (note: "CROSS_COMPILE=arm-linux-" is preferred compiler)

    - finally copy lxboot.S, mkimg.sh and up.sh to $(BUILDDIR)

    - run mkimg.sh

    - upload the new image via x-modem

    - type go on the Redboot command prompt

    что подчеркнуто это я зделал, а что выделено жирным шрифтом не знаю что с этим делать распишите что как и куда для чайника

    P.S. собираю первый рас да и английский плохо знаю

×
×
  • Создать...