Mercury uBoot Parameters

From Wiki
Jump to navigationJump to search
  • These are current as of 2009/08/28 with the 2.6.31-rc7 kernel. They are the only necessary ones.
set baudrate 115200
set bootcmd 'nboot 0x80700000 0 0x400000;bootm'
set video video=davincifb:vid0=720x480x16,2500K:vid1=720x480x16,2500K:osd0=720x480x16:2025K
set bootargs console=ttyS0,115200n8 ip=none mem=116M root=/dev/mtdblock2 rw rootfstype=yaffs2 lpj=741376 ${video}
set stdin serial
set stdout serial
set stderr serial
  • These are current as of 2009/09/10 with the 2.6.18 kernel. They are the only necessary ones.
set baudrate 115200
set bootcmd 'nboot 0x80700000 0 0x400000;bootm'
set video video=davincifb:vid0=720x480x16,2500K:vid1=720x480x16,2500K:osd0=720x480x16:2025K davinci_enc_mngr.ch0_output=ntsc davinci_enc_mngr.ch0_mode=composite
set bootargs console=ttyS0,115200n8 ip=none mem=116M root=/dev/mtdblock2 rw rootfstype=yaffs2 lpj=741376 ${video}
set stdin serial
set stdout serial
set stderr serial
  • Some optional macros useful for updating the kernel and filesystem. Use 'run' to execute these macros.
set k_yaffs 'usb start;fatload usb 0 82000000 rootfs.yaffs2;nand erase 600000 2000000;nand write.yaffs 82000000 600000 \${filesize}'
set k_git 'usb start;fatload usb 0 80700000 uImage.git_mercury;nand erase 400000 200000;nand write 80700000 400000 200000'
set k_2618 'usb start;fatload usb 0 80700000 uImage.2_6_18_mercury;nand erase 400000 200000;nand write 80700000 400000 200000'
set sk_git 'usb start;fatload usb 0 80700000 uImage.git_mercury;bootm'
set sk_2618 'usb start;fatload usb 0 80700000 uImage.2_6_18_mercury;bootm'