Jump to content

Recommended Posts

Posted

скачал ядро 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. собираю первый рас да и английский плохо знаю

Posted

ох, с русским тоже не всё гладко )

собственно, то, что жирным - по сути набор команд )

для начала укажите путь для сборки, задав переменную BUILDDIR и сконфигуряйте ядро (make menuconfig)

имейте ввиду, там будет очень много всего, конфиг займёт не меньше 2х часов при условии, что вы знаете, что вам надо, а что нет

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...