Kernel 5.13.8-mvebu-tld-1 bootargs August 28, 2021 11:56AM |
Registered: 12 years ago Posts: 39 |
Re: Kernel 5.13.8-mvebu-tld-1 bootargs August 28, 2021 04:29PM |
Admin Registered: 13 years ago Posts: 18,569 |
setenv curr_bootfrom 1 setenv next_bootfrom 1 setenv load_initrd_addr 0x2900000 setenv load_image_addr 0x02000000 setenv usb_init 'mw.l f1018100 20420000; mw.l f1018140 003E8800; sleep 3; usb start' setenv set_bootargs_stock 'setenv bootargs "console=ttyS0,115200 ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs1 rw rootdelay=2"' setenv bootcmd_stock_1 'run set_bootargs_stock; echo Booting from NAND kernel 1 ...; nand read 0x2000000 0x00E00000 0xF00000 && bootz 0x2000000' setenv bootcmd_stock_2 'run set_bootargs_stock; echo Booting from NAND kernel 2 ...; nand read 0x2000000 0x08700000 0xF00000 && bootz 0x2000000' setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"' setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; run usb_init; ext2load usb 0:1 $load_image_addr /boot/uImage; ext2load usb 0:1 $load_initrd_addr /boot/uInitrd; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr' setenv bootcmd_custom 'if run usb_bootcmd; then; else if run bootcmd_stock_1; then; else run bootcmd_stock_2; reset; fi; fi' setenv kernel_addr_1 '0x00000000; run bootcmd_custom; ' saveenv
Quote
Updated 20 Aug 2019:
Kernel linux-5.2.9-mvebu-tld-1 package has been uploaded.
New in this release:
- Keep MTD and NAND drivers as builtin kernel drivers (to overcome a mainline kernel regression for MTD and NAND).
- Pickup security patches from mainline.
Important Note for all boxes: The new kernel zImage has increased in size significantly that it will no longer work to be used in booting with the Marvell u-boot typically installed in these Armada boxes. To make it more resilient (avoid messing with u-boot envs again when the kernel image size increases), from this kernel version, we need to boot with uImage. Please see this post for an example how to adjust u-boot envs using the Thecus N2350
Re: Kernel 5.13.8-mvebu-tld-1 bootargs August 29, 2021 08:49AM |
Registered: 12 years ago Posts: 39 |
Re: Kernel 5.13.8-mvebu-tld-1 bootargs August 29, 2021 09:10AM |
Registered: 12 years ago Posts: 39 |
Re: Kernel 5.13.8-mvebu-tld-1 bootargs August 29, 2021 03:56PM |
Admin Registered: 13 years ago Posts: 18,569 |