[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: d-i on Firefly-rk3288



add console=ttyS2 to the kernel parameters, also earlyprintk is really
helpful (but you have to have the right options compiled in the kernel
to use it).

you could really do with adding the options to boot.cmd then running
the (well-known?) mkimage command that turns them into boot.scr... ok
adapt these:

boot.cmd

setenv console 'ttyS2,115200n8'
setenv root '/dev/mmcblk2p1'
setenv panicarg 'panic=10'
setenv extra 'rootfstype=ext4 rootwait rw earlyprintk=serial,ttyS0'
setenv loglevel '8'
setenv setargs 'setenv bootargs console=${console} root=${root}
loglevel=${loglevel} ${panicarg} ${extra}'
setenv fdtfile 'rk3288-firefly.dtb'
setenv kernel 'zImage'
setenv mmc_boot 'ext2load mmc 0:1 ${kernel_addr_r} ${kernel}; ext2load
mmc 0:1 ${fdt_addr_r} ${fdtfile}; bootz ${kernel_addr_r} -
${fdt_addr_r}'
run setargs mmc_boot

mkbootimg.sh (so you don't have to keep typing it... or forget it... i
put this actually on the sdcard)

mkimage -A arm -O u-boot -T script -C none -n "boot" -d boot.cmd boot.scr

l.


Reply to: