suppr avt maj
This commit is contained in:
parent
1f3e8708f7
commit
d0e7c4cf8a
@ -1,37 +0,0 @@
|
||||
#REFERENCES :
|
||||
http://wiki.lemaker.org/BananaPro/Pi:Building_u-boot,_script.bin_and_linux-kernel#Building_the_kernel
|
||||
http://wiki.lemaker.org/BananaPro/Pi:Setting_up_the_bootable_SD_card
|
||||
https://sites.google.com/site/manisbutareed/bringing-my-beagles-to-heel/selected-annotated-u-boot-commands
|
||||
https://linux-sunxi.org/Mainline_Kernel_Howto
|
||||
https://linux-sunxi.org/Manual_build_howto#Setting_up_the_boot_partition
|
||||
https://stackoverflow.com/questions/28891221/uenv-txt-vs-boot-scr
|
||||
https://github.com/linux-sunxi/u-boot-sunxi/wiki
|
||||
|
||||
#LeMaker BPS (board package support)
|
||||
git clone --recursive https://github.com/LeMaker/lemaker-bsp.git
|
||||
./fex2bin ../sunxi-boards/sys_config/a20/BananaPro.fex ../../mageia4arm/bananaPro/script.bin
|
||||
|
||||
#Generic u-boot for sunxi
|
||||
git clone https://github.com/linux-sunxi/u-boot-sunxi
|
||||
make CROSS_COMPILE=arm-linux-gnu- BananaPro_config
|
||||
#Default conf use bootz and dtb tree.
|
||||
|
||||
#Default script
|
||||
setenv bootargs console=ttyS0,115200 noinitrd
|
||||
disp.screen0_output_mode=EDID:1280x720p50 init=/init
|
||||
root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
|
||||
fatload mmc 0 0x43000000 script.bin
|
||||
fatload mmc 0 0x48000000 uImage
|
||||
bootm 0x48000000
|
||||
|
||||
mkimage -C none -A arm -T script -d ./boot.cmd ./boot.scr
|
||||
|
||||
#DTB from mainline linux kernel
|
||||
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git --depth=1
|
||||
make ARCH=arm CROSS_COMPILE=arm-linux-gnu- sunxi_defconfig
|
||||
ARCH=arm CROSS_COMPILE=arm-linux-gnu- make -j8 dtbs
|
||||
cp ./arch/arm/boot/dts/sun7i-a20-bananapro.dtb ./sun7i-a20-bananapro.dtb
|
||||
|
||||
#Generating a symbolic relative link to the "last" kernel :
|
||||
ln -r -s ./vmlinuz-5.2.13-desktop-2.mga7 ./vmlinuz
|
||||
rm -f ./vmlinuz && ln -r -s ./vmlinuz-5.3.1-desktop-2.mga7 ./vmlinuz
|
Reference in New Issue
Block a user