User Tools

Site Tools


en:rpi3b:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
en:rpi3b:start [2020/02/29 17:09]
frank [uboot]
en:rpi3b:start [2020/02/29 17:12]
frank [Kernel]
Line 22: Line 22:
 ===== Kernel ===== ===== Kernel =====
  
-originaler ​kernel ​lässt sich so laden:+original ​kernel ​can be loaded like this:
  
 <​code>​ <​code>​
Line 36: Line 36:
 have not got serial console working after uboot... have not got serial console working after uboot...
  
 +have compiled new kernel like this:
  
 +<​code>​
 +export ARCH=arm
 +export CROSS_COMPILE=arm-linux-gnueabi-
 +export LOCALVERSION=-rpi3
 +CPUCORES=$(grep -c processor /​proc/​cpuinfo)
 +make bcm2835_defconfig
 +make -j$CPUCORES zImage modules dtbs 2> >(tee -a build.log >&2)
 +
 +BOOTFS=/​media/​$USER/​boot
 +ROOTFS=/​media/​$USER/​rootfs
 +KERNELNAME="​mykernel-"​$(make kernelversion)
 +export INSTALL_MOD_PATH=$ROOTFS
 +sudo make  modules_install
 +sudo cp $BOOTFS/​$KERNELNAME.img $BOOTFS/​$KERNELNAME-backup.img
 +sudo cp arch/​arm/​boot/​zImage $BOOTFS/​$KERNELNAME.img
 +sudo cp arch/​arm/​boot/​dts/​bcm2837-rpi-3-b.dtb $BOOTFS/
 +</​code>​
en/rpi3b/start.txt · Last modified: 2020/02/29 17:42 by frank