• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/board/boundarydevices/common/6x_bootscript.txt
Gary BissonGary Bisson committed 85721034ae403 Mar 2016
Raw file
Source viewDiff to previous
setenv bootargs "${bootargs} console=${console},115200 vmalloc=400M consoleblank=0 rootwait fixrtc"
 
1
setenv bootargs ''
2
​
3
if itest.s x6SX == "x${cpu}" || itest.s x7D == "x${cpu}"; then
4
    a_script=0x80800000
5
    a_zImage=0x80800000
6
    a_fdt=0x83000000
7
    m4=''
8
    if itest.s "x1" == "x$m4enabled" ; then
9
        run m4boot;
10
        m4='-m4';
11
    fi
12
else
13
    a_script=0x10800000
14
    a_zImage=0x10800000
15
    a_fdt=0x13000000
16
fi
17
​
18
setenv initrd_high 0xffffffff
19
if itest.s "x" == "x${dtbname}" ; then
20
    if itest.s x6SOLO == "x${cpu}" ; then
21
        dtbname=imx6dl-${board}.dtb;
22
    elif itest.s x6DL == "x${cpu}" ; then
23
        dtbname=imx6dl-${board}.dtb;
24
    elif itest.s x6QP == "x${cpu}" ; then
25
        dtbname=imx6qp-${board}.dtb;
26
    elif itest.s x6SX == "x${cpu}" ; then
27
        dtbname=imx6sx-${board}${m4}.dtb;
28
    elif itest.s x7D == "x${cpu}" ; then
29
        dtbname=imx7d-${board}${m4}.dtb;
30
    else
31
        dtbname=imx6q-${board}.dtb;
32
    fi
33
fi
34
​
35
if load ${dtype} ${disk}:1 ${a_script} uEnv.txt ; then
36
    env import -t ${a_script} ${filesize}
37
fi
38
​
39
if itest.s x == x${bootdir} ; then
40
    bootdir=/boot/
41
fi
42
​
43
if itest.s x${bootpart} == x ; then
44
    bootpart=1
45
fi
46
​
47
if load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} ; then
48
    fdt addr ${a_fdt}
49
    setenv fdt_high 0xffffffff
50
else
51
    echo "!!!! Error loading ${bootdir}${dtbname}";
52
    exit;
53
fi
54
​
55
cmd_xxx_present=
56
fdt resize
57
if itest.s "x" != "x${cmd_custom}" ; then
58
    run cmd_custom
59
    cmd_xxx_present=1;
60
fi
61
​
62
if itest.s "x" != "x${cmd_hdmi}" ; then
63
    run cmd_hdmi
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.